| | |
zendframework
![]() |
•
•
Join Date: Nov 2006
Posts: 44
Reputation:
Solved Threads: 0
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
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
![]() |
Other Threads in the PHP Forum
- Previous Thread: Need advide
- Next Thread: A simple PHP question
Views: 663 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for PHP
access ajax apache archive array arrays auto binary box buttons cakephp check checkbox class classes cms code combobox database date development directory display download dropdown dropdownlist dynamic echo email error file files form forms function functions header href htaccess html image include insert ip java javascript joomla jquery limit link login lookup loop mail menu mlm mod_rewrite multiple mysql order output parse password paypal php problem query radio regex remote rewrite script search select server session shopping sort source sql storage string structure syntax system table tutorial update updates upload url user validation validator variable video web website wordpress xml





