hi all,

i have one default module and one more module module_1 ,i have one parameter
extra in url for langauge like
site.com/module/languageparameter/controller/action i defiend it in
index.php(bootstarp file) like this

$router = new Zend_Controller_Router_Rewrite();
$router->addRoute('new_route', new Zend_Controller_Router_Route(
        ':module/:lang/:controller/:action/*',
        array('module' => 'default',
        'lang' => '', 
        'controller' => 'index', 
        'action' => 'index'     
        )));


now when i move form some page to another in default module only than in
place of module 
it integrates default for eg:

((site.com/default/languageparameter/controller/action))

and i do not want this in my url when i am traversing in my default module,

i want my url be like this 
((site.com/languageparameter/controller/action))

can anybody help me regarding this issue.

thanx in advance



-- 
View this message in context: 
http://www.nabble.com/default-controller-tp14450522s16154p14450522.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to