We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7690
    • 166 Posts
    I have made my site with 2 languages with this tutorial:
    http://modxcms.com/forums/index.php/topic,29597.0.html

    But the problem is now, that i can’t get the &hereclass correctly.

    The ACTIVE class is in the language selector. And i can’t figure out why:
    <ul  id="sprachwahl">
    	<li class="active"><a href="http://127.0.0.1/wnh/nl/aanbiedingen.html"><img src="/wnh/assets/templates/wnh/images/nl.gif" alt="nl" /></a></li>
    <li class="last"><a href="http://127.0.0.1/wnh/cn/aanbiedingen.html"><img src="/wnh/assets/templates/wnh/images/cn.gif" alt="cn" /></a></li>
    
    	</ul>


    But it has to be in:
    <ul><li><a href="http://127.0.0.1/wnh/" title="Home" id="nRed">Home</a></li>  
    <li><a href="/wnh/nl/aanbiedingen.html" title="Aanbiedingen" id="nPurple">Aanbiedingen</a></li>  
    <li><a href="/wnh/nl/recepten.html" title="Recepten" id="nGreen">Recepten</a></li>  
    </ul>
    



    It has been solved. I am using YAMS now.