Hola. Siguiendo este cookbook http://www.yiiframework.com/doc/cookbook/49/ obtengo el error:
CException
Description
Property "HelloWorldAjaxController.breadcrumbs" is not defined.
Source File
/home/guia/domains/guia.....net/public_html/yii-web/protected/views/helloWorldAjax/index.php(3)
00001: <?php
00002: //$this->pageTitle=Yii::app()->name . ' - Ajax Content';
00003: $this->breadcrumbs=array(
00004: 'helloWorldAjax',
00005: );
00006: ?>
00007: http://www.yiiframework.com/doc/cookbook/49/
00008: <br>
00009: <div id="data">
00010: <?php $this->renderPartial('_ajaxContent', array('myValue'=>$myValue)); ?>
00011: </div>
00012: <?php echo CHtml::ajaxButton ("Update data",
00013: CController::createUrl('helloWorldAjax/UpdateAjax'),
00014: array('update' => '#data'));
00015: ?>
Y entonces he añadido la propiedad breadcrumbs en el fichero /yii-web/protected/views/helloWorldAjax/index.php como sigue:
<?php
$this->breadcrumbs=array(
'helloWorldAjax',
);
?>
Pero sigo teniendo el mismo error. ¿Sabeis a qué puede ser debido?
Gracias