Ok. I fixed it, but I'm not sure I understand "scope" here...
<tal:block define="global nst vanilla/nesting" />
<div id="content" class="class" tal:attributes="class php: (in_array( nst,
array('yui-gc', 'yui-ge'))) ? 'yui-u first' : 'yui-u'">

Can someone explain to me why the define is required?? Could this same
outcome have been achieved within the php logic of the tal:attribute ??

Many thanks!


Alister R Cameron
CEO // Australis Media Pty Ltd

Mob. 04 0404 5555
Fax 03 8610 0050

Click here to find me online:
PHPTAL mailing list

Reply via email to