CMenu, injecting HTML content after anchor.

Hi,

I’m using zii.widgets.CMenu, I’m trying to insert extra content after the anchor tag

example: <li><a href="x.html">Support</a><mytag></mytag></li>

Where <mytag> is my custom HTML content.

Thanks!

Thanks onre,

For those interested, solution is:




 <?php

 $this->widget('zii.widgets.CMenu',array(

      'itemTemplate'=>'{menu}<span></span>',

      'items'=>array()

)

?>



Hello Newbie

I need help

I want to and output like this

<a href="abc.php"><img src="abc.jpg" /></a>

I tried like this

$login = Yii::app()->request->baseUrl."/css/images/site/login.png";

            &#036;this-&gt;widget('zii.widgets.CMenu', array(


                'items' =&gt; array(


                    array('label' =&gt; &quot;&lt;img src='&#036;login' alt=''&gt;&quot;,


                        'itemOptions' =&gt; array('class' =&gt; 'hdr_link'),


                        'url' =&gt; array('/user/login'), 'visible' =&gt; Yii::app()-&gt;user-&gt;isGuest),


                        ),


                       ));

but it dont gives me correct output

Please help me out.

Thanks in Advance.