[Zope] Using pythonbased products (rbickers Photo) from Page Templates

Jochen Haeberle listen@midras.de
Tue, 3 Sep 2002 20:56:08 +0200


Hi Chris!

Thanks a lot!! Adding structure and a missing ' it now works:

<tal:x replace="structure 
python:here.tag(display=request.get('display','small'), border=0, 
cookie=1)"/>

Where can I find anything about tal:x ????

Thanks for your help

regards
Jochen

At 10:22 Uhr +0100 03.09.2002, Chris Withers wrote:
>Jochen Haeberle wrote:
>>
>><dtml-var "tag(display=REQUEST.get('display', 'small'), border=0, cookie=1)">
>>
>>in TAL to get the cookie-enabled version of the Photo???
>
><tal:x replace="python:here.tag(display=request.get('display','small),
>                                 border=0,
>                                 cookie=1)"/>
>
>cheers,
>
>Chris