9 Mar
2007
9 Mar
'07
9:48 a.m.
tonylabarbara@aol.com wrote:
Hi; I thought I could call a variable in a page template by defining it and then putting a ? in front of it in a URL, like this:
<html tal:define="global base_url here/baseURL; template_id string:index; here python:here.restrictedTraverse('s/c/x/root/en-us/Help')">
redefining 'here' isn't a good idea...
<a href="?base_url/contactus.pt">
I think you meant: <a href="#" tal:attributes="href string:${base_url}/contactus.pt"> cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk