Hi all,
I’ve scoured the Yii forums for an answer to this question:
How to get CMenu (and CNormalizeUrl in general) to turn
array('site/page','view'=>'name-of-my-page')
into a URL that looks like this:
http://mysite.com/site/page/view/name-of-my-page
and NOT like this:
http://mysite.com/site/page?view=name-of-my-page
I’ve tried declaring the CMenu URL like this:
array('site/page/view/name-of-my-page')
which works in terms of pulling up the page, but then CMenu does not recognize it as the active URL.
It’s a mystery to me why CNormalizeUrl sometimes adds the _GET parameters in clean URL format, and sometimes adds them in traditional _GET parameter format.
Can anyone help?
BTW, this thread looked like it was going to address the issue, but it didn’t:
http://www.yiiframew…+Url#entry96221
Thanks in advance.