Is there a way to put another element inside the link in a CMenu? I want to add a span:
<a href="link"><span>Label</span</a>
Is there a way to put another element inside the link in a CMenu? I want to add a span:
<a href="link"><span>Label</span</a>
Haven’t tested it, but I think you can just type out like
..
array('label'=>'<span>Home</span>', 'url'=>array('site/home')),
..
In the upcoming 1.1.4 (or in current SVN trunk), you can configure linkLabelWrapper
Good idea Sumwai. I just had to set encodeLabel to false and it worked. Thanks.