Forums / Developer / Use a parameter into a html link
Anthony M.
Thursday 19 October 2006 3:28:03 am
Hello,
i want to put a parameter into a html link to use this parameter in an other template.
For example : In my first template, i've got :
<a href="http://.../layout/set/print/(noeud)/153">TEXTE</a>
and in the second, i want to use the parameter 'noeud', is it possible like this ???
Thanks a lot for your help
Anthony
Thursday 19 October 2006 3:29:19 am
I forget a sentence :
how can i get the value of the parameter in the second template ???
Andrew Kelly
Thursday 19 October 2006 5:24:41 am
Something like that will work if the particular module you are calling accepts named parameters. That's how pagination works, for example.Don't know off-hand if the layout mod takes named-p's or not, sorry.
In similar situations, I've generally added a GET string to the link and then pulled the data from it with ezhttp('get', 'varName')
Andy
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs