Hi,
i have a module search in /protected/modules/search an some of its i18n strings in /protected/modules/search/LANGUAGE/menu.php.
Now when i try to access a messages file of the module using the CMenu widget in /protected/views/layouts/main.php with
this->widget(
'zii.widgets.CMenu',
array(
'items' => array(
array(
'label' => 'Home',
'url' => array(
'/site/index'
)
),
array(
'label' => CHtml::encode(Yii::t('SearchModule.menu', 'search')),
'url' => array(
'/?r=search'
)
)
)
)
);
i got the PHP warning "include(SearchModule.php): failed to open stream: No such file or directory".
How can i access the message strings of a module outside of itself?
Thanks,
Robert