Url Prefix

my situation is I am calling yii’s script from inside the folder admin.

initially I worked around that before calling


Yii::app()->runController($route)

I just removed the admin/ part from $route.

however, the script I am using uses templates and there are different templates with admin folder and outside it.

i would like the yii script to take full use of the admin folder’s template and maintain the admin/ part in url.

However, this causes alot of trouble in parsing and the request breaks.

is there any way to force the urlManager to ignore admin/ part in url and continue with the <module>/<controller>/<action> pattern?

Hey, no answer yet, How I can append a certain text to url?