Hello! I have a problem with yii boostrap
Firstly, i read a this tutorial : http://www.yiiframework.com/wiki/424/how-to-use-yiibooster-bootstrap-gallery/
Secondly i created in action of my controller :
public function actionMedia()
{
Yii::app()->booster->registerAssetCss('bootstrap-image-gallery.min.css');
Yii::app()->booster->registerAssetJs('fileupload/load-image.min.js');
Yii::app()->booster->registerAssetJs('bootstrap-image-gallery.min.js');
$this->render('media');
}
view :
<?php
$this->renderPartial('booster.views.gallery.preview');
?>
<div id="gallery" data-toggle="modal-gallery" data-target="#modal-gallery" data-filter="*" >
<a href="http://placekitten.com/500/500" title="kitten" rel="gallery">
<img src="http://placekitten.com/250/250" rel="list-gallery" />
</a>
</div>
It’s not working. if i click on image, it don’t show me slider (it go to picture href) .
Somebody can help me?