|
|||
|
I am using two separate controllers for the list on the menu. How do I use the href tag for those. In one controller's menu file, I just put the href tag as controller name/action name. Its working fine. While in another controller's menu file, I just put the same thing for href tag, but its not working. In the sense when I am in one controller file, and when I try to access the other controller from it using the href tag format said above, its not working? Any help would be appreciated. Thanks.
|
|
|||
|
take a look to this to see if it is your solution:
Premature Optimization Handling relative links with Zend_View_Helper |
|
|||
|
<a href="<?php echo $this->url(array('controller'=>'controlle_rName','action '=>'action_Name','param1'=>value,'param2'=>value,) );?>">your link here </a>
and without parms : <a href="<?php echo $this->url(array('controller'=>'controlle_rName','action '=>'action_Name'));?>">your link here </a> |
![]() |
| Thread Tools | |
| Display Modes | |
|
|