Форуми / Cotonti / General / Handy Urleditor

Hello, like putting in so handy pluging urleditor

Macik
#34840 03.07.2012 09:33

Another one question:

My plugin uses complicated url like:  lang/plugname/subcat/type/product/params/mode/

I can use Hooks=urleditor.rewrite.first to handle it and transform to actual parameters. But is there any way to compose url with my rules like cot_url does (by hook or else)?

I can write own plug_url function, but it's not convinient to pay attention where to use cot_url and where plug_url.

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F