Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 11-22-2004, 08:03 PM
astroflux Offline
pp regular
 
Join Date: Nov 2004
Posts: 25
comments not working

not sure what i did. the comments link does not show up on my page.
http://www.bldg13.com/photos/
in the template there is the:
Code:
<p></p><COMMENT_POPUP> (<IMAGE_COMMENTS_NUMBER>)
should that not have the word comment linked to the comment pop up? i am using a modified version of the grey template.

thanks!
Reply With Quote
  #2  
Old 11-22-2004, 08:24 PM
Connie
Guest
 
Posts: n/a
the comment-popup should open a popup-window to enter the comment

check out if you disallowed popup-windows in your browser-configuration (I did so one time and was wondering ...)

ops:
Reply With Quote
  #3  
Old 11-22-2004, 08:50 PM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
They should both be changed to their real values from the script.

Have you done anything to the main index.php file?

// punk
__________________
icq: 66760929
Reply With Quote
  #4  
Old 11-22-2004, 09:06 PM
astroflux Offline
pp regular
 
Join Date: Nov 2004
Posts: 25
They should both be changed to their real values from the script.

not sure what you mean by that. maybe i can manually change the values?

i have done nothing that i know of to the index.php file. is there a line i could check?

thanks

connie - thanks for the respose. it is not the browser. the word "comments" does not even show up. i think i have something wrong in my template.
Reply With Quote
  #5  
Old 11-22-2004, 09:07 PM
astroflux Offline
pp regular
 
Join Date: Nov 2004
Posts: 25
well maybe it is the index.php file or something else. even when i try the original "grey" template - comments do not work either. the word does not show up.

hmmm...any ideas?
Reply With Quote
  #6  
Old 11-23-2004, 07:37 AM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
Open up main index.php file.

Line 516 should read:
tpl = ereg_replace("&lt;COMMENT_POPUP>","&lt;a href='#' onclick=\"window.open('index.php?popup=comment&amp ;amp;showimage=$image_id','Comments','width=480,he ight=540');\">$lang_comment_popup</a>",$tpl);
$

And as you can see there it's only a standard link.

Check to see that it there.

This is weird, since I guess the other stuff are working in the template?

// punk
__________________
icq: 66760929
Reply With Quote
  #7  
Old 11-23-2004, 07:51 AM
astroflux Offline
pp regular
 
Join Date: Nov 2004
Posts: 25
thats what is in the index file. and everything else seems to work fine. im lost.
Reply With Quote
  #8  
Old 11-23-2004, 07:54 AM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
Could you email me the image_template.html that's not doing it's stuff?

mail me at punk [at] pixelpunk.se

Thanks! // punk
__________________
icq: 66760929
Reply With Quote
  #9  
Old 11-23-2004, 05:09 PM
astroflux Offline
pp regular
 
Join Date: Nov 2004
Posts: 25
thanks to pixelpunk - the above has been resolved.

i do have a new problem with the comments section. when you click on someones name (url they submitted) it opens in the same (small) window the comments are in. it would seem better to open in a new window.

is this right? is there an easy fix?

template i am using is similar to "grey"

thanks!
Reply With Quote
  #10  
Old 11-23-2004, 07:25 PM
Connie
Guest
 
Posts: n/a
just add a base-target-tag in the header of the comment-template:

Code:
&lt;base target="_blank">
and all links will open up in a new window!
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 07:49 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs