Hi there
I am using some static pages set via controller actions method as follows:
public function actions()
{
return array(
'help'=>array(
'class'=>'ViewAction'
),
...
);
}
But how can I provide for example the base url path to such views? … I cant influence the render method because - as you know - no action-method is defined in this case. Well static pages are static - right, though there should be no need for php code there.
I hope this question isn’t too basic… I started a week ago with yii (coming from CodeIgniter).
Many thanks
Kai
/EDIT
ah ok, got it working, just forgot "$" in front of Yii->request->baseUrl.