[Zope-CMF] Filesystem skins with extension

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Thu, 24 Apr 2003 14:08:30 +0200


Inside CMFCollector my javascript files are named like collectorng_js.dtml.
Inside the skins I am using ...src="collectorng_js"

Andreas

--On Donnerstag, 24. April 2003 14:04 Uhr +0200 Gitte Wange 
<gitte@mmmanager.org> wrote:

> Hello,
>
> I am trying to use some javascript files in my skins.
> The skins are located on the filesystem.
> Now the files are named e.g. somescript.js
> Inside the skin directory in zope, the skin is only named somescript.
>
> Is there some way I can keep the extension ??
>
> I already have this peace of code in the __init__.py of my product:
> registerFileExtension('js', FSDTMLMethod)
> --
> Gitte Wange
> Technical Manager
>
> Email: gitte@mmmanager.org
> Web: http://www.mmmanager.org
> Tlf: +45 36 46 20 02
>
> This breaks the cron job that calls
> self.Zoo.Diet.LargeAnimals.hippo.feed(), and all the hippos starve.
> Someone uses
> self.Zoo.Diet.buildings.visitor_reception.feed(),
> and ends up filling the reception with hippo food.
>
>     -- Toby Dickenson, 20 Oct 2000 (Talking about URL Traversal),
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests