Yii Framework Forum: Pop Up Window - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Pop Up Window Rate Topic: -----

#1 User is offline   nilu09 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 14-September 13

Posted 14 September 2013 - 02:01 AM

how i get pop up window while clicking on login button in yii framework basic application plz help me i am new in yii frame work
0

#2 User is offline   ORey 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,701
  • Joined: 20-April 09
  • Location:Moscow, Russia

Posted 14 September 2013 - 02:27 AM

Obviously you'll need some javascript. It's not related to YII itself.
God is real unless declared as integer
0

#3 User is offline   bit0123 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 75
  • Joined: 01-February 12
  • Location:Bangladesh

Posted 14 September 2013 - 01:26 PM

View Postnilu09, on 14 September 2013 - 02:01 AM, said:

how i get pop up window while clicking on login button in yii framework basic application plz help me i am new in yii frame work

Hope this will be helpful:
By Example: CHtml
0

#4 User is offline   Mubashar Iqbal 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 56
  • Joined: 18-September 13
  • Location:Lahore

Posted 01 October 2013 - 02:40 AM

you can also use bootstrap API's for pop up window.

http://www.yiiframew...sion/bootstrap/
0

#5 User is offline   justinthomasonline 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 19-July 12
  • Location:india,kerala,kottayam

Posted 21 August 2014 - 02:32 AM

hai nilu09

you can use jquery for this or yii itself has extension for popup boxes. One of the simple and best yii popup box is CJuiDialog.you can check it from this link .

Download the extension and extract it into extension folder inside protected and call inside the view

<?php echo CHtml::button("new",array('title'=>"Customer",'onclick'=>'$("#dialog-crud").dialog("open"); return false;')); ?>


<?php

$this->beginWidget('zii.widgets.jui.CJuiDialog', array(
'id'=>'dialog-crud',
'options'=>array(
'title'=>'your application title',
'autoOpen'=>false,
'modal'=>true,
'width'=>1080,
'height'=>500,
'resizable'=>false
),
));
?>

<iframe src="index.php?r=Controller/action" width="100%" height="100%"></iframe>
0

#6 User is offline   Sandip Chandela 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 31-January 14
  • Location:India

Posted 18 February 2015 - 12:56 PM

You can use fancy box light box to display poup content on your website.<br />
<br />
Check out site : fancybox.net
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users