Hi,

link_to() parses the second parameter to extract the module ('cms') and the
action to execute ('categ1'). If you need some parameters, you have to add
something like this :

  link_to('page13_title', 'cms/categ1?id_categ=3&id_page=13')

or use the 'query_string' option
(http://www.symfony-project.org/api/1_0/UrlHelper#method_link_to)


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Tamas Amon
Sent: samedi 5 janvier 2008 10:04
To: [email protected]
Subject: [symfony-users] long url


Hello,

I using sfSimpleCMSPlugin in my site. Some urls looks like this:

en/cms/categ1/categ3/page13

But when I like to use the link_to function:

link_to(__("page13_title"),'cms/categ1/categ3/page13')

I get back the:

hu/cms/categ1

How can I use this longest url in link_to, or with an other function?

-- 
Tamas Amon <[EMAIL PROTECTED]>






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

Reply via email to