A question for link generator of symfony2
I am making a link in this way
& lt; A href = "{{path ('acme_link', {'user': 'taro'}}} & gt; Click! & Lt; / a & gt; This way publishes the link.
& lt; a href = "... / move / taro" & gt; click! & Lt; / a & gt; But I want to create a link in the middle of the page such as
& lt; a href = "... / move / wire # middle" & gt; Click How can I do this with Symphony Link Generator
Create the first link and then add it to #middle : < Code> & lt; a href = "{{path ('acme_link', {'user': 'taro'})}} # middle"> click!
No comments:
Post a Comment