Page 2 of 2

Posted: Mon Aug 01, 2005 12:39 pm
by garvinhicking
Commenting out just hides display; if you leave the RDF information in place you can still receive trackbacks which are only displayed in your admin panel.

Showing comments only if they exist can also be done within the Template, by checking {if comments > 0} ... {/if} (I don't know the exact variable, I think it'S $entry.comments or sth. like that)

Regards,
Garvin

Posted: Wed Aug 03, 2005 12:49 pm
by MySchizoBuddy
Done :)
Now if there are no comments it will display "Add comment" instead of "Comments(0)" and will link to the feedback form and won't show the comments parts at all. If there are comments it will display "Comments (3)" and link to the comments and show em.


Also replaced trackbacks with "Link to this post" cause i doubt anyone understands what trackbacks really mean. plus also disable display of trackbacks :) and change the URI link to display under the footer of the entry as "link to this post"

heeh this smarty stuff is pretty easy. I did it in 5 minute :D
thanks garvin