[Zope] TAL expressions within Javascipt?
dwilson at abrazohealth.com
Wed Oct 29 11:16:12 EST 2003
Put one custom.js in your root, and one in each folder. Use <script
src="custom.js"> and Zope will traverse the tree (from the current
folder) looking for the "custom.js". You could even put this in your
<standard_html_header> file if you wanted. I hope this is what you are
From: mclinden at informed.net [mailto:mclinden at informed.net]
Sent: Wednesday, October 29, 2003 8:40 AM
To: zope users
Subject: [Zope] TAL expressions within Javascipt?
I'm moving an existing web site into Zope because the primary purpose of
this site is document management and I want to be able to utilize Zope
content control. But the existing site has a large number of
behaviors that are conditionally enabled based upon such things as
capabilities. In particular, the system is setup to dynamically load
certain scripts if certain capabilities exist. The form is:
document.write("<scr" + "ipt src='http://x.y.z/custom.js'
I would like to be able to change the "custom.js" file on a folder by
folder basis, i.e.,
Suggestions/pointers would be appreciated.
Allegheny County Health Department
Zope maillist - Zope at zope.org
** No cross posts or HTML encoding! **
(Related lists -
More information about the Zope