Help - Search - Members - Calendar
Full Version: sidebar links and recent comments box
Movable Type Community Forum > Additional Resources > Tips and Tricks
fyzle
When i look at my weblog, there is a "add a link" link at teh bottom left, but clicking it does nothing... Also, i don't know why it would be on the index.html... why would others need to add a link to my blog?

and 2:

How do i activate the recent comments box? I've seen it on other peoples' blogs, but i can't find where to activate it.
arvind
To change the Add Links here search your index template for that string and change it using html in the format :
CODE
<a href="http://www.link-to-site">Link Text</a>
Its not necessary for others to link to your site but it does get you traffic ! wink.gif

I don't understand what you mean about the comments.
QUOTE
How do i activate the recent comments box? I've seen it on other peoples' blogs, but i can't find where to activate it.
wondergirlmj
Do you mean that you're wanting to add recent comments to your sidebar? If that's the case then you need to add in some additional code depending on what exactly you want to show up on your sidebar.

For example this is the code that I use to show the first 80 characters of the three most recent comments.
CODE
<MTEntries recently_commented_on="3">

<a href="<$MTEntryLink$>"><b><$MTEntryTitle$></b></a><br/>
<MTComments lastn="1"><$MTCommentBody remove_html="1" trim_to="80"$>... <br/>
by <$MTCommentAuthorLink spam_protect="1"$></MTComments>


</MTEntries>
fyzle
does that go in a new template module or somewhere else?
arvind
it goes in the sidebar if you're using a default template it will be anywhere between
CODE
<div id="links">...</div>
sugi_grl
how can you keep the comments from running together? I can't figure out where to put a hard break

thanks!
cathy
after the closing MTComments
CODE
</MTComments>
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.