Hi there,
I’m struggling with the rules for my urlManager.
For example I have this link:
CHtml::link('Link Text', array('/myPageName', 'type'=>0), array('class'=>'linkClass'))
So appending a type parameter to the url with value 0.
Unfortunately when I turn on pretty urls and follow the link I get the following message:
Can someone tell me how to set it up so it knows that ‘type’ is a parameter?
I currently have the following rules:
'myPageName'=>'myPageName/index',
'myPageName/<type:\d+>/*'=>'myPageName/view',
Many thanks.