How to display page on fancybox...using CHtml::ajaxlink with yii validation

Comparing #6 with #7

Revision #7 was created by Ankit Modi Ankit Modi on Sep 10, 2013, 12:55:24 PM.

text

Content

**1)** include the fancybox extesion otherwise fancybox js
 
 
 
```php 
<?php
$this->widget('application.extensions.fancybox.EFancyBox', array(
'target' => 'a[class=fancybox1]',
[...]
);
?>
```
 
 

**2)**create the **CHtml::ajaxlink**

```php
echo CHtml::ajaxlink('Request New Liquor', array('liquor/addnewliquor'), array(
"type" => "GET",
[...]