What is the best way to generate simple text links within my Footer

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Eskymo

What is the best way to generate simple text links within my Footer

Post by Eskymo »

Hi there

My footer text links reflect my primary nav, with the addition of the following links: Sitemap, T&c's, Privacy

What is the best way to generate this list of text links?

I currently have a my footer code within a Global Content Block and call it on every page using: {global_content name='footer'}

and this contains

Code: Select all

<p class="footerbigpink">© {custom_copyright} Techs In The City</p>
<ul class="footernav">
    <li><a href="#">home</a> |</li>
    <li><a href="#">services</a> |</li>
    <li><a href="#">security</a> |</li>
    <li><a href="#">sales</a> |</li>
    <li><a href="#">news</a> |</li>
    <li><a href="#">case studies</a> |</li>
    <li><a href="#">library</a> |</li>
    <li><a href="#">contact</a> |</li>
    <li><a href="#">sitemap</a> |</li>
    <li><a href="#">t&c's</a> |</li>
    <li><a href="#">privacy</a></li>
</ul>
<p><a href="http://www.my-igloo.net" target="_blank">Site by Eskymo New Media Design</a> | <a href="http://www.cmsmadesimple.org">Powered by CMS Made Simple v{cms_version}</a></p>
I've just got in at the moment as I just copied the code from my original HTML layout page. I'm wondering whether I should use the {cms_selflink page='url for homepage here' text='Home'} and if so how do I easily find the url for each page?

Or is there another way of generating a footer list like this?

Any help, muchly appreciate.

Many thanks
E
climberusa
Forum Members
Forum Members
Posts: 126
Joined: Sun Feb 26, 2006 7:10 pm

Re: What is the best way to generate simple text links within my Footer

Post by climberusa »

The easiest way in this case would probably be to use the menumanager and explicitly declare which items are to be in it.

{menu template='footer.tpl' items='home, services, security,sales,news,case studies,library,contact,sitemap,tocs,privacy'}

Each item is added by it's alias.

Then you need to create the menu template which should be fairly simple. I think I've got one somewhere that is exactly like this.

Hope this helps.
Eskymo

Re: What is the best way to generate simple text links within my Footer

Post by Eskymo »

could you post up the content of the menu template you have?

many thanks

E
Locked

Return to “CMSMS Core”