Jeff Peterson wrote:
I have a page template that calls a couple of scripts at the beginning, they are setting session objects and redirecting to a login screen if certain session objects don't exist.

Why not just use PAS or Cookie Crumbler? ;-)

the content for this page. When the macro is rendered, the scripts fail to operate properly (commented out they work perfectly).

I'll bet your doing something like:

<mytag tal:define="dummy here/myScript"

The macro replaces the whole tag before the tal:define gets called.

Anyway, overarchingly, don't mix presentation and logic like this, 'cos it causes these kind of problems ;-)



Simplistix - Content Management, Zope & Python Consulting

ZPT mailing list

Reply via email to