PDA

View Full Version : comments problem


eraserhead
12-20-2006, 10:21 AM
Apologies for posting this as it must have been answered before, but I've searched the forum & wiki... and wracked my (v small) brains

I'm using simple template and I want to get my comments popup link in the top menu bar. I've put the following code after the browse, home, previous & next links in the menu section of image_template:

<a href="index.php?showimage=<IMAGE_ID>"></a><span class="addcomment"><COMMENT_POPUP></span>

The comments link appears on a different line & right justified, I can't get it alongside the other links on the menu.

Also how do I rename the link if I don't want it to appear as 'Comments'

Dennis
12-20-2006, 11:20 AM
Apologies for posting this as it must have been answered before, but I've searched the forum & wiki... and wracked my (v small) brains

I'm using simple template and I want to get my comments popup link in the top menu bar. I've put the following code after the browse, home, previous & next links in the menu section of image_template:

<a href="index.php?showimage=<IMAGE_ID>"></a><span class="addcomment"><COMMENT_POPUP></span>

The comments link appears on a different line & right justified, I can't get it alongside the other links on the menu.


Try removing the <span class...> and the </span>.


Also how do I rename the link if I don't want it to appear as 'Comments'

Look in the language files. There you can probably edit this stuff.

eraserhead
12-20-2006, 12:12 PM
Thanks schonhose!

Removing the <span class...> and the </span> got the comment link on same line, but its spaced apart from the other links. Of course I can live with that but would like to change it if poss.

<a href="index.php?showimage=<IMAGE_ID>"></a><COMMENT_POPUP>

Thanks again

Rob

http://www.imitationeye.com/

Dennis
12-20-2006, 07:47 PM
Hi Rob,

Remove <a href="index.php?showimage=<IMAGE_ID>"></a>: this code is unnecessary as far as I can see and it introduces an extra space before comments.

<COMMENT_POPUP> will be replaced with the full link needed to show the comments.