Wednesday, October 03, 2007
Having successfully migrating my Guitar Noize weblog over to Expression Engine I wanted to create a list of links to my favourite guitar related blogs. At first I looked into creating a Blogroll weblog in EE and creating a new template which output the entries which would then be embedded into another template but then I came across this perfect and comprehensive module called Link List. It is very easy to install just download the zip and copy 3 files across to your EE installation, then in your EE control panel Modules tab click on Install next to the Link List module and you're ready to go.From there on its just a case of clicking on the LinkList module, add a load of links and then put some code into your template. The code you will need is:
<ul>
{exp:linklist:entries linklist="blogroll" orderby="random" dynamic="off"}
<li><a href="{linklist:url}">{linklist:url_title}</a></li>
{/exp:linklist:entries}
</ul>
When I created a new Linklist I called it blogroll hence the linklist attribute above. Also I want the links to display randomly but you can order by url_title or desc etc, you can sort ASC or DESC and you can use limit and paginate if you only want to display a few. One thing to be aware of is the dynamic attribute, if this is a static blogroll like mine set it to "off" otherwise it will try and find links based on keywords assigned to them in relation to the url of the page.
Labels: Expression Engine
Jon 12:29 PM Permalink
