Footer menu/sitemap

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Footer menu/sitemap

Post by urheat »

How could I make footer menu/sitemap like this:

Image

For example, is there a specific menu template with CSS styling I could use?

Thanks in advance!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Footer menu/sitemap

Post by Rolf »

Check NCleanBlue template in default content CMSMS
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Re: Footer menu/sitemap

Post by urheat »

Rolf wrote:Check NCleanBlue template in default content CMSMS
Thanks Rolf, but that's not the way I meant.

In NCleanBlue there is one column with parent pages and the second column with child pages of the current page. What I'm trying to get - and I think is more common way - is that in every column there is a parent page as a heading and below that, it's child pages. Please check my example pic from the 1st post.
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Re: Footer menu/sitemap

Post by urheat »

Found one solution. Seems really promising :)

http://stackoverflow.com/questions/2601 ... ml-and-css
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Footer menu/sitemap

Post by staartmees »

what you want is possible with the menumanager using the start_element or start_page.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Footer menu/sitemap

Post by velden »

http://tinyurl.com/na49cn5

Menu template used:

Code: Select all

{* 

CSS classes used in this template:
.currentpage - The active/current page
.bullet_sectionheader - To style section header
hr.separator - To style the ruler for the separator *} 
{if $count > 0}
<ul id="bottommenu" class="clearfix">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="<ul>" times=$node->depth-$node->prevdepth}
{elseif $node->depth < $node->prevdepth}
{repeat string="</li></ul>" times=$node->prevdepth-$node->depth}
</li>
{elseif $node->index > 0}</li>
{/if}

{if $node->current == true}
<li{if $node->extra1} class="{$node->extra1}"{/if}><a href="{$node->url}" class="current"{if $node->target ne ""} target="{$node->target}"{/if}>{if $node->depth > 1}&#187;&nbsp;{/if}{$node->menutext}</a>

{elseif $node->parent == true && $node->depth == 1 and $node->type != 'sectionheader' and $node->type != 'separator'}
<li class="activeparent{if $node->extra1} {$node->extra1}{/if}"> <a href="{$node->url}" class="activeparent"{if $node->target ne ""} target="{$node->target}"{/if}>{if $node->depth > 1}&#187;&nbsp;{/if}{$node->menutext}</a>

{elseif $node->type == 'sectionheader'}
<li class="sectionheader{if $node->extra1} {$node->extra1}{/if}">{if $node->depth > 1}&#187;&nbsp;{/if}{$node->menutext}
{elseif $node->type == 'separator'}
<li style="list-style-type: none;"> <hr class="separator" />

{else}
<li{if $node->extra1} class="{$node->extra1}"{/if}><a href="{$node->url}"{if $node->target ne ""} target="{$node->target}"{/if}>{if $node->depth > 1}&#187;&nbsp;{/if}{$node->menutext}</a>

{/if}

{/foreach}

{repeat string="</li></ul>" times=$node->depth-1}</li>
</ul>
{/if}

Code: Select all

{menu template="boeijen_bottom" number_of_levels="2" excludeprefix="home,team,contact"}
Post Reply

Return to “Layout and Design (CSS & HTML)”