[Zope] Links
Geir B Hansen
Geir B Hansen <geirh@funcom.com>
Tue, 15 Feb 2000 12:28:12 +0100
on Tuesday, February 15, 2000 Pedro Silva wrote :
PS> Hi,
PS> How can I know which link call a DTML Method?
PS> I have three links that are redirected to a DTML method. That DTML method will display the information that is referenced to one of the links. For example, if link one is clicked, the DTML method
PS> will display some information about that link. If the link two is clicked, the same DTML method will display the information about link two. And so on.
PS> Can anyone help me, about how can I know which link called the DTML method?
PS> Please send your answers to: psilva@ruido-visual.pt
PS> Thanks,
PS> Pedro
a quick and dirty solution, not neccesary the most zopish
way of doing things :
put a query-string in the links, like this ;
http://www.yourmachine.com/link.html?linkvar=link1
then do stuff in your method depending on what linkvar is..
--
Geir B Hansen
web-developer/designer
geirh@funcom.com
http://www.funcom.com