I just moved code over to a server in the cloud. Everything works fine except I just noticed my "TASK" menu is missing!
Normally I have the links for Index, Manage (admin), Update and Delete along the right side edge of the window.
Now I have nothing…the rest of the screen renders as normal.
I have my breadcrumbs but not menu…
if(!isset($this->menu) || $this->menu === array())
$this->menu=array(
array('label'=>Yii::t('app', 'Create') , 'url'=>array('create')),
array('label'=>Yii::t('app', 'List') , 'url'=>array('index')),
);
I am using the column2.php layout
<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/main'); ?>
<div class="span-19">
<div id="content">
<?php echo $content; ?>
</div><!-- content -->
</div>
<div class="span-5 last">
<div id="sidebar">
<?php
$this->beginWidget('zii.widgets.CPortlet', array(
'title'=>'Operations',
));
$this->widget('zii.widgets.CMenu', array(
'items'=>$this->menu,
'htmlOptions'=>array('class'=>'operations'),
));
$this->endWidget();
?>
</div><!-- sidebar -->
</div>
<?php $this->endContent(); ?>
What is causing this? Any ideas? It’s 2:00am and I am exhausted…
Thanks for any advice!