Answer the question
In order to leave comments, you need to log in
Yii framework: how to make login via modal window?
Hello! Help me understand the problem, I'm trying to make a login through a modal window, for the implementation I needed to load the form in the modal window:
<?php
echo CHtml::ajaxLink('Вход', $this->createUrl('user/login'),
array('update' => '#exampleModal'),
array('onclick' => '$("#exampleModal").arcticmodal();')
);
?>
Answer the question
In order to leave comments, you need to log in
Maybe the problem is in the controller?
Try instead $this->render();
-$this->renderPartial();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question