Josias Thöny wrote:

[...]

One thing that could be discussed is loading of static resources in
relation with modules and fallback.

Currently static resources can be loaded from the browser in one of the
following three ways:

/default/live/images/foo.jpg
-> static resource of publication (fallback enabled)

/lenya/images/foo.jpg
-> static core resource (no fallback)
-> maybe we could put these resources into a "lenyagui" module
   - get rid of the special "/lenya" url
   - get rid of lenya.xmap
   - enable fallback (?)

+1, sounds good

/modules/mymodule/images/foo.jpg
-> static module resource (no fallback)
-> in general it's possible to override files of a module in a
publication, but it doesn't work with static resources, because the url
doesn't contain the publication id.

Good point ...

Could the URL be changed to:
/default/modules/mymodule/images/foo.jpg ?

I guess that would be possible.

Or are there cases where no publication is available?

IMO there should be no such cases.

Thanks for bringing this up,

-- Andreas


--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to