echo CHtml::link('open dialog', '#', array(
  'onclick'=>'$("#mydialog").dialog("open"); return false;',
$this->beginWidget('zii.widgets.jui.CJuiDialog', array(
   // additional javascript options for the dialog plugin
       'title'=>'Dialog box 1',
echo 'dialog content here';// ->What to show in the dialog.

Using this, you can open a modal dialog in your view to show what you need.


Sr. Software Engineer with over 10 years of experience. Hobbist photographer and mechanic. Tinkering soul in an endeavor to better understand this world. Love traveling, drinking coffee, and investments.

You may also like

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: