How do I hide the Trackbacks links?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post 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
Image
Post Reply