Hi there,

I have a series of links within an element called 'stories.thtml'. I am
trying to create a link with the html helper and I want each link to send
the user to the story_controller with the action 'view', passing an $id for
the item to be viewed.

However, it seems that because my stories element is located within the
pages controller, the html helper is returning:

<a href="/pages/stories/view/1" >Exciting Story One</a> 

instead of

<a href="/stories/view/1" >Exciting Story One</a>       
Has anyone else experienced this problem and does anyone know of a
solution? At worst I could use an http url, but it would stop my code
from being portable.

Any help greatly appreciated,

dan :-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to