I made a Label position on my page, it looks like this:
"http://localhost/mypage/?r=site/novels#Head2"
How can I run it from siteController???
I’ve tried this
$this->render('novels#Head2');
But it didn’t work…
Can someone help me???
I made a Label position on my page, it looks like this:
"http://localhost/mypage/?r=site/novels#Head2"
How can I run it from siteController???
I’ve tried this
$this->render('novels#Head2');
But it didn’t work…
Can someone help me???
Suggestion in bold ![]()
Hey, outrage… ![]()
Thanks for the reply… ![]()
Actually I added some components like widgets in layout/main.php.
I also added some variables -->
$this->render('novels',array('subject'=>$subject));
If I used this method -->
$this->redirect(Yii::app()->request->baseUrl. "/?r=site/novels/#Head2");
It won’t load the widgets… ![]()
I just want to know what array parameter should I put in
$this->render()
to add Label Position Variable… ![]()