2013-12-11, 20:15:12
(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 am not so familiar with components yet. But I guess that you suggest replacing the usual "menu" code in the template with that "customized" component, don't you?
--
vicent
vicent