returnUrl doesn't work in 1.0.0
Posted 07 December 2008 - 06:42 AM
then no matter what page i visit in the application, it always shows /yii/demos/hangman/index.php
Posted 07 December 2008 - 10:07 AM
My solution was to save the previous url in the session object and restore it on reentering the controller. Maybe there is a better solution?
Posted 07 December 2008 - 10:27 AM
You may consider using CHtml::linkButton to render the language menu item, like the following:
<?php echo CHtml::linkButton('button label', array(
Then, in the corresponding action, you will be able to know the current URL by $_POST['url'].