yii cmenu external url

 <?php $this->widget('zii.widgets.CMenu',array(  
                'items'=>array(  
                 ......  
                     array('label'=>'Home', 'url'=>'http:../../menu/home.php'),  
                     array('label'=>'Home', 'url'=>'http://www.dewatatech.com'),  
                     ......  
                ),  
           )); ?>  

Comments

  1. And how to open it in new tab?

    ReplyDelete
    Replies
    1. try this :

      array('label'=>'Home', 'url'=>'http://www.dewatatech.com', 'htmlOptions' => array('target' => '_blank'),),

      Delete

Post a Comment

silahkan berkomentar, kritik dan saran yang membangun adalah harapkan kita semua !

Popular posts from this blog

flexigrid + php with add and edit button

Data Flow Diagram (DFD)

VERIFIKASI SUARA MENGGUNAKAN METODE MFCC DAN DTW MENGGUNAKAN METODE MFCC DAN DTW (BAB II TINJAUAN PUSTAKA)