2013-12-11, 21:24:38
(2013-12-11, 19:47:37)mvlcek Wrote: I18N interprets all menu texts as text (without HTML).
Thus you need to use Custom Rendering with a component like that (no htmlspecialchars() around $item->text):
Code:<li class="<?php echo $item->classes; ?>">
<a href="<?php echo htmlspecialchars($item->link); ?>">
<?php echo $item->text; ?>
</a>
<?php if ($item->isOpen) { ?>
<ul><?php $item->outputChildren(); ?></ul>
<?php } ?>
</li>
I finally understood and it works fine again! Thank you.
--
vicent
vicent