fancybox not working for view with model
view:
<?php echo CHtml::link("jelentem",array('/fancybox/carbo'),'model'=>$model,array('id'=>'iframe'))?>
<?php $this->widget('ext.fancybox.EFancyBox', array(
'target'=>'a#iframe',
'config'=>array(
'scrolling'=>'no',
'titleShow'=>true),
)
);
?>
controller:
public function actionCarbo()
{
$this->layout = false;
$this->render("/apple/index", 'model'=>$model);
}
Page 1 of 1
Fancybox Extension fancybox not working for a view with model
#2
Posted 16 August 2012 - 01:26 AM
hi richard you can not pass model to CHtml::link just a quick question why do you need to pass the model to the link
<?php echo CHtml::link("jelentem",array('/fancybox/carbo'),'model'=>$model,array('id'=>'iframe'))?>
<?php echo CHtml::link("jelentem",array('/fancybox/carbo'),'model'=>$model,array('id'=>'iframe'))?>
#3
Posted 16 August 2012 - 02:44 AM
i am using fancybox in my application in that while i am rendering a view without model of another controller in fancybox is working nicely but when i am using a view with model of another controller calling to render in fancybox is throwing the error ...the requested content cannot be display...where is problem ..plz suggest me some idea...i tried all the possiblties...but is not working
Share this topic:
Page 1 of 1

Help













