different languages, different active pages ?

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
adam42
New Member
New Member
Posts: 2
Joined: Sat Dec 19, 2009 8:00 pm

different languages, different active pages ?

Post by adam42 »

Hi there

My question is quite simple:

How can we show different links the top menu @ http://www.iug.dk ?

There are two language - Danish and English - on the website. The English version should only have three menu links whereas the Danish has nine...

How can I exclude six menu links in the English mirror?

Some like that on the website  >> http://www.tonkerland.it

Cheers,
Adam
adam42
New Member
New Member
Posts: 2
Joined: Sat Dec 19, 2009 8:00 pm

Re: different languages, different active pages ?

Post by adam42 »

;D

Well, I did figure it out my self:

In the templates I changed:

Code: Select all

      {* Start Navigation *}
 <div id="menu_vert">
         {menu template='cssmenu.tpl'}
      <hr class="accessibility" />
      </div>
      {* End Navigation *}


with:

Code: Select all

      {* Start Navigation *}
   <div id="menu_vert">
{if $lang==en_UK}
    {menu template=cssmenu.tpl includeprefix="forsiden,students,join-iug,om-iug"}
{elseif $lang==da_DK}
   {menu template=cssmenu.tpl}
{/if}
<hr class="top-accessibility" />
</div>
      {* End Navigation *}


::)

Cheers,
Adam
Locked

Return to “[locked] CMSMS MLE fork”