• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Menu link with description [SOLVED]
PostPosted: Thu Jul 08, 2010 8:51 am 
Offline
Forum Members
Forum Members

Joined: Thu Jul 08, 2010 8:44 am
Posts: 10
I wnat to make menu with link description. For example link "About us" and then break and small description "Who we are". Can this be done by CMS? Where should i put descriptions and is there ready made tag for this?

Cheers!


Last edited by masama1 on Thu Jul 22, 2010 6:21 am, edited 1 time in total.

Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Menu link with description
PostPosted: Thu Jul 08, 2010 9:01 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Aug 12, 2008 9:30 pm
Posts: 2071
Location: Feldkirchen in Kärnten, Austria
You will have to edit your MenuManager Template.
Take a look here http://wiki.cmsmadesimple.org/index.php ... nu_Manager

_________________
CMSMS Blog - I do this!
Forge profile
Github profile
Twitter
=============================================
Support CMSMS


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Menu link with description
PostPosted: Thu Jul 08, 2010 1:13 pm 
Offline
Forum Members
Forum Members

Joined: Thu Jul 08, 2010 8:44 am
Posts: 10
What is wrong with this? Description should be visible all the time. Now it's shows description of the one is activated?

{* 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}
" times=$node->depth-1}

{/if}


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Menu link with description
PostPosted: Thu Jul 08, 2010 1:19 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Aug 12, 2008 9:30 pm
Posts: 2071
Location: Feldkirchen in Kärnten, Austria
This?
\$1:
{elseif $node->parent == true && $node->depth == 1 and $node->type != 'sectionheader' and $node->type != 'separator'}
  • target ne ""} target="{$node->target}"{/if}> {$node->menutext}


    {foreach from=$nodelist item=node}
    {if $node->current == true}
    {$node->titleattribute}
    {/if}
    {/foreach}



  • You say if it's current.

    _________________
    CMSMS Blog - I do this!
    Forge profile
    Github profile
    Twitter
    =============================================
    Support CMSMS


    Top
      Profile  
     
    Share On:
    Share on Facebook Share on Twitter Share on Google+
     Post subject: Re: Menu link with description
    PostPosted: Thu Jul 08, 2010 1:23 pm 
    Offline
    Forum Members
    Forum Members

    Joined: Thu Jul 08, 2010 8:44 am
    Posts: 10
    What should i put there?


    Top
      Profile  
     
    Share On:
    Share on Facebook Share on Twitter Share on Google+
     Post subject: Re: Menu link with description
    PostPosted: Thu Jul 08, 2010 1:29 pm 
    Offline
    Power Poster
    Power Poster
    User avatar

    Joined: Tue Aug 12, 2008 9:30 pm
    Posts: 2071
    Location: Feldkirchen in Kärnten, Austria
    If i am not wrong you can remove red marked stuff in your menu template:
    \$1:
    {* 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}
    " times=$node->depth-1}

    {/if}


    Because you already do the {if} and {elseif} in the template when starting to build your template.

    _________________
    CMSMS Blog - I do this!
    Forge profile
    Github profile
    Twitter
    =============================================
    Support CMSMS


    Top
      Profile  
     
    Share On:
    Share on Facebook Share on Twitter Share on Google+
     Post subject: Re: Menu link with description
    PostPosted: Thu Jul 08, 2010 3:51 pm 
    Offline
    Forum Members
    Forum Members

    Joined: Thu Jul 08, 2010 8:44 am
    Posts: 10
    You were so right! Thank you very much, this problem is solved now! ;D


    Top
      Profile  
     
    Share On:
    Share on Facebook Share on Twitter Share on Google+
     Post subject: Re: Menu link with description
    PostPosted: Thu Jul 08, 2010 11:57 pm 
    Offline
    Administrator
    Administrator
    User avatar

    Joined: Thu Mar 09, 2006 5:32 am
    Posts: 12674
    Location: Arizona
    Then please...

    http://forum.cmsmadesimple.org/index.ph ... 694.0.html

    _________________
    Check ver. CMSMS, PHP, server OS, in System Information page.
    Default content http://multiintech.com/defaultcontent/
    People are Wonderful
    Business is Great
    Life is Terrific
    Ever wonder what happened to the Album module? Well it is alive and well.
    http://album.multiintech.com/
    $1


    Top
      Profile  
     
    Share On:
    Share on Facebook Share on Twitter Share on Google+
    Display posts from previous:  Sort by  
    Post new topic Reply to topic  [ 8 posts ] 

    All times are UTC


    Who is online

    Users browsing this forum: No registered users


    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum

    Search for:
    Jump to:  
    A2 Hosting