SyntaxFix
Write A Post
Hire A Developer
Questions
Try to use this variant:
<?php echo Yii::app()->createAbsoluteUrl('your_yii_application/?lg=pl', array('id'=>$model->id));?>
It is the easiest way, I guess.