|
#1
|
|||
|
|||
|
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>) thanks! |
|
#2
|
|||
|
|||
|
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:
|
|
#3
|
||||
|
||||
|
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 |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
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? |
|
#6
|
||||
|
||||
|
Open up main index.php file.
Line 516 should read: tpl = ereg_replace("<COMMENT_POPUP>","<a href='#' onclick=\"window.open('index.php?popup=comment& ;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 |
|
#7
|
|||
|
|||
|
thats what is in the index file. and everything else seems to work fine. im lost.
|
|
#8
|
||||
|
||||
|
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 |
|
#9
|
|||
|
|||
|
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! |
|
#10
|
|||
|
|||
|
just add a base-target-tag in the header of the comment-template:
Code:
<base target="_blank"> |
| Post Reply |
| Thread Tools | |
|
|