Learning Movable Type: Add Your Links Here


Updated August 28, 2005

Sometimes the most frustrating things for beginners in Movable Type turn out to be simple and painfully obvious, once you have figured them out. Adding links to to your first weblog or adding a link to an entry can be one of those things if you are not used to html.

Adding a link to an entry.

To add a hyperlink to an entry you need to write out the entire hyperlink tag. For example, if you want to add a link to Learning Movable Type to your entry, you need to type in the Entry Body the following text:

<a href="http://www.learningmovabletype.com/">Learning Movable Type</a>

So if you type:

Check out the tips at <a href="http://www.learningmovabletype.com/">Learning Movable Type</a>.

into your Entry Body, the entry will read:

Check out the tips at Learning Movable Type.


Opening Links in a New Window

If you would like your links to open in to a new browser window, you need to add the target="_blank" to your link code like so:

<a href="http://www.learningmovabletype.com/" target="_blank">

Now the link Learning Movable Type will open in a new browser window.


Adding a Link section to your MT3.2 blog

In the default Main Index template of MT3.2, find the div id="beta" section. In the default template, you will see the various sidebar sections divided by a blank line. First there is Search, then Category, then Monthly. Add a links section with the following code:

<div class="module">
<h2 class="module-header">Links</h2>
<div class="module-content">
Add your links here
</div>
</div>

Replace Add your links here with the links you wish to add, separated by a break tag <br />

Like so:

<div class="module">
<h2 class="module-header">Links</h2>
<div class="module-content">
<a href="http://www.elise.com">Elise.com</a><br />
<a href="http://www.elise.com/recipes">Simply Recipes</a><br />
</div>
</div>

Save and rebuild your template.



Posted by Elise Bauer on September 6, 2004 9:37 AM to Learning Movable Type http://www.learningmovabletype.com/