[EMAIL PROTECTED] 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

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to