Help - Search - Members - Calendar
Full Version: How to add links?
Movable Type Community Forum > Additional Resources > Tips and Tricks
elizabeth
I'm using a template that came with the program, and it adds a nice sidebar with "Links" and a clickable thingie below that says "Add your links here"[U]

That's exactly what I'd like to do, but can't figure out how.

I've been able to figure out how to customize everything else on the template but that. :-/
girlie
Edit the Main Index Template in the section where the "add links here" example appears.
freshyill
So simple it's stupid, right?  A little too simple, if you ask me.  Here's a good way to make it more difficult.  ;^)

Make a Template Module (on the templates page), and then stick your list of links in there.  Give it a name like "links" or something.

To include that in your page, stick this chunk of code where the links were

CODE
<$MTInclude module="links"$>


that's all there is.  it's a good way to edit your links without having to edit your index template.
almuhajabah
Another benefit to using a template module is that if you want to include your list of links on another page you can just include the template module there as well instead of having to add the whole list of links to the template.
elizabeth
I appreciate all the answers.

I ended up make a new template module for links.  It works just fine even though I don't completely comprehend why  yet!  

Actually, going through the process of setting it up gave me a few more clues to understanding how this stuff all works.

Thanks again!
nolageek
I know what you mean.  After doing one or two simple things it all sort of clicks together and you start making things more and more complicated. (which in this case is a good thing)
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.