-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tapas Mishra wrote: > I am having a javascript which I am using in my site. > My server is Zope I am not able to find where should I keep the > javascript in it. > Can any one help?
One technique is to can create a File object in the ZMI and upload your javascript to it: http://docs.zope.org/zope2/zope2book/BasicObject.html#content-objects-folders-files-and-images To serve the file from the filesystem, you need either to use one of the add-on "external file" products (google "zope external file"), or else register the file as a "resource" in a product's configure.zcml:: <browser:resource name="my.js" file="my.js" /> Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkxqw6EACgkQ+gerLs4ltQ6HcACaA76baszIQ8Wl1hvzHOk9ATvA 358AoKzmziSeeT1aPxqE7XugYL2Nm38B =BX8c -----END PGP SIGNATURE----- _______________________________________________ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )