As far as I understand you have script (say it has id 'handle_404_scr')
that handles 404 errors in 'root' folder. In this script you have
something like:
<div align="center"
       tal:define="mycontext here"
       tal:condition="here/hasSearchEngine(mycontext)">

Yes? So how is this script called?


I'm not sure what exactly is your case but you may try:

<div align="center"
       tal:condition="here/hasSearchEngine(here/aq_inner)">

or just (without passing a parameter):

<div align="center"
       tal:condition="here/aq_inner/hasSearchEngine()">



-- 
Maciej Wisniowski
_______________________________________________
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