CMS Made Simple Forums
https://forum.cmsmadesimple.org/

different languages, different active pages ?
https://forum.cmsmadesimple.org/viewtopic.php?f=41&t=40350
Page 1 of 1

Author:  adam42 [ Tue Jan 05, 2010 7:37 pm ]
Post subject:  different languages, different active pages ?

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

Author:  adam42 [ Tue Jan 05, 2010 8:43 pm ]
Post subject:  Re: different languages, different active pages ?

;D

Well, I did figure it out my self:

In the templates I changed:

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


with:

\$1:
      {* 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

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/