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

---
Alister R Cameron
CEO // Australis Media Pty Ltd
http://www.australismedia.com

Mob. 04 0404 5555
Fax 03 8610 0050

Click here to find me online:
http://clicktoadd.me/alicam
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to