Help - Search - Members - Calendar
Full Version: Customizing comments & trackback
Movable Type Community Forum > Additional Resources > Tips and Tricks
justjaimelyn
I tried using Scripty Goddess to make this work, but I am unsureof where I put the file?

I want to make the comments and the trackback change for the number of comments.  For example, I want it to say:

silence is there are no comments
1 voice if there is one comment &
2 voices if there is more than one comments.

I also want to do the same for trackback.  

Is there a way for me to do this?

here's my site if you need to see it:
http://taintedmelodies.com
kadyellebee
Are you trying to use one of the codes that is in this post - How to's: How to have your comments line say different things depending on the number of comments?

If so, you can place the code where you want the words to appear - if you have the default wording now, you can replace this section of the Posted By line:
CODE
Comments (<$MTEntryCommentCount$>)

with the code from SG. smile.gif

Hope that helps,
Kristine
justjaimelyn
Yes that is what I need to know, and it worked!

Thank You! biggrin.gif
kadyellebee
Glad that helped!! smile.gif
Kristine
glacierlily
Confuzzled, but trying to do this.

Does this go in the same place in the Main Index that the
CODE
<MTEntryIfAllowComments>
    | <a href="<$MTCGIPath$>mt-comments.cgi?entry_id=<$MTEntryID$>" onclick="OpenComments(this.href); return false">Thoughts? (<$MTEntryCommentCount$>)</a>
    </MTEntryIfAllowComments>


Currently is?

The fact that the code on SG starts with a <script> confuses me.
kadyellebee
Yep, that's the place!  The script tag starts the logic so that the browser knows which of the words to display instead of displaying all of them smile.gif

Kristine
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.