Drop-down menu uft8?

Drop-down menu uft8?, a forum discussion on Jojo CMS. Join us for more discussions on Drop-down menu uft8? on our Administration (backend and configuration) forum.

Back to Forum Index : Back to Administration (backend and configuration)   RSS
ddar

19 Feb 2009
Posts: 1

Hi, im using this very very fast and efficient CMS, us still, having few problems, like how to make drop-down menu in UFT8, because ir writes data correctly, but displays like strange text... database encoding is utf8, fields and laguage is selected russian - witch is also utf8, can someone explain this to me? thank you
tom

Developer

tom

20 Feb 2009
Posts: 379

Can you post the php code that you're using to generate the menu? - there may be some double encoding going on
petr@pavlicci.eu

1 May 2010
Posts: 1

Hi, i have same problem in czech language (central europe). No tweak of standard code now, only added {$menu} in template and $smarty->assign('menu', $page->getMenu('main', Jojo::getOption('mainnavdepth', 3))); in global.php.

<div>
<ul id="nav">
<li class="first"><a href="dlouhy-text/" title="Dlouh&Atilde;&frac12; text">Dlouh&Atilde;&frac12; text</a></li>
<li><a class="daddy" href="ondrasek/" title="Ondr&Atilde;&iexcl;&Aring;&iexcl;kova str&Atilde;&iexcl;nka">Ondr&Atilde;&iexcl;&Aring;&iexcl;ek</a>
<ul>
<li class="first"><a href="ndrrr/" title="Ndrrr">Ndrrrr</a></li>
<li class="last"><a href="dalsi-stranka/" title="Dal&Aring;&iexcl;&Atilde;&shy; str&Atilde;&iexcl;nka">Dal&Aring;&iexcl;&Atilde;&shy; str&Atilde;&iexcl;nka</a></li>
</ul>
</li>
<li class="selected"><a href="http://localhost/jojo-test/" title="&Atilde;?vodn&Atilde;&shy; str&Atilde;&iexcl;nka">&Atilde;?vodn&Atilde;&shy; str&Atilde;&iexcl;nka</a></li>
tom

Developer

tom

5 May 2010
Posts: 379

can you try using the {$mainnav} array instead? it's generated automatically by core/global using the _getNav function
we've used it on multi-language sites without issues
Back to Forum Index : Back to Administration (backend and configuration)   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.