Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-05-2008, 09:55 PM
Junior Member
 
Join Date: Feb 2008
Posts: 4
Default how to use href tag in the zend framework

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 03:41 PM
Junior Member
 
Join Date: Mar 2008
Posts: 8
Default

take a look to this to see if it is your solution:

Premature Optimization Handling relative links with Zend_View_Helper
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-01-2008, 12:36 PM
Junior Member
 
Join Date: Jul 2008
Posts: 6
Default

<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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:14 PM.