Custom Url(Curl manager)

hi,

I’m developing on a website and I need to create a friendly url.I read the special topic about custom url ,but I couldn’t find what I need.I got many links like this: controller/action&id_line=1&id_cat=2&id_art=5.

Now if I use the Curl manager I’m able to render this : controller/1/2/5…but i need something like this:controller/nameLine/NameCat/NameArt. Is it possible transform url like this with urlManager?These data come from db and needs pk for solid query…

What are the possible solution?

thanks

UrlManage won’t be able to do that as is. You will need to write your own URL rule by extending CBaseUrl. Check section 8.2.8 of the Yii guide for additional help.