PDA

View Full Version : Number of comments?


W00feez
12-11-2007, 08:49 AM
Hello there
I'd like to show the number of comments on my PP website on every pic because nobody can know if a shot has been already commented. I use the Simple template and you can see the result here : www.yohanterraza.com
Is there an addon or just something to change in my HTML files?
Thank you

Dkozikowski
12-11-2007, 08:55 AM
http://pixelpost.myd3.com/docs/TemplateTags/IMAGE_COMMENTS_NUMBER

W00feez
12-11-2007, 09:14 AM
Thanks you for your quick answer but when i put the tag in my image template page, it puts me the number of comments just to the right of the pic and not besides the "comment" word.

chinamas
12-11-2007, 09:40 AM
I think it's a matter of placing the tag in the right location in the code. I'd also like to do this...anyone able to direct us as to where to place the tag?

W00feez
12-11-2007, 09:45 AM
Now i have another trouble...I've just remove the dark/light style button and my home page doens"t have any template...I've tried to remove or reload but it's not workin...

Dkozikowski
12-11-2007, 10:14 AM
I think it's a matter of placing the tag in the right location in the code. I'd also like to do this...anyone able to direct us as to where to place the tag?

This is correct. You must place the template tag within the image_template.html file wherever you wish the number to display on the page.

Dkozikowski
12-11-2007, 10:14 AM
Now i have another trouble...I've just remove the dark/light style button and my home page doens"t have any template...I've tried to remove or reload but it's not workin...

I'm not sure what the issue is. Your photoblog loads fine. The simple template is being used.

chinamas
12-11-2007, 10:30 AM
Would I be right in thinking that the tag needs to go somewhere in here?

If you take a look at my site I'd like the number of comments to appear just right of the word "comments"...

So I stick that tag somewhere in here right?

<a onclick="Effect.toggle('info','BLIND'); return false;" title="View Image Title, Description and Comments" href="#">Info and comments</a> :: <

Here's my site: http://www.chinamash.com

Dkozikowski
12-11-2007, 10:36 AM
<a onclick="Effect.toggle('info','BLIND'); return false;" title="View Image Title, Description and Comments" href="#">Info and comments <IMAGE_COMMENTS_NUMBER></a>

chinamas
12-11-2007, 10:47 AM
Awesome! Thanks a bunch, man. That worked.

I know I might be being greedy here but is there a way to put the number in parenthesis?

chinamas
12-11-2007, 10:50 AM
Ah. Nevermind...a little trial and error sorted it out. Thanks again for your help!

W00feez
12-11-2007, 10:56 AM
Thanks you everybody for your help. I've just watch my blog on another computer and my template load without problems. On my comp it doesnt' work even if a remove my cach. I'm on firefox but it worked before...

chinamas
12-11-2007, 11:02 AM
I can't see my favicon on my computer (Firefox) but everyone else can. Kinda weird ain't it?