Andreas Hartmann wrote:
> Jörn Nettingsmeier wrote:
>> Doug Chestnut wrote:
>>> Try:
>>> http://localhost:8888/modules/profiling/shared/css/whatever.css
>>
>> weird. this does indeed work when i put it into resources/shared/css.
>>
>> however, this does not work at all:
>>
>>> Or put your css into:
>>> modules/profiling/resources/css/
>>> and use:
>>> http://localhost:8888/modules/profiling/css/whatever.css
>>
>> and i recall that in publications, i did put the stylesheets in
>> shared/ but omitted that path componenent in my link... can you
>> explain what the idea behind "shared/" is and how it is supposed to work?
>
> The idea was to provide CSS, images, etc. which shall be available
> in all areas (authoring, live, archive, ...) - i.e. they are shared
> by all areas and don't have to be published, archived etc.
> The sitemap looks in the area for the resource, and if it doesn't find it,
> it looks in the shared folder.
>
> In modules, this concept doesn't make sense because modules operate
> orthogonally to areas. Therefore you can just omit the "shared" in the
> file system and URL space.
then i think we have a bug. can anyone confirm that you cannot access a
file lenya/modules/<yourmodule>/resources/css/somecss.css via the url
{request:contextPath}/modules/<module>/css/somecss.css? in my
experiments i found that having a local sitemap entry for css files made
no difference at all.
it seems that the global resources[-shared].xmap eats this request and
does not propagate it properly.
--
"Án nýrra verka, án nútimans, hættir fortíðin að vekja áhuga."
"Without new works, without the present the past will cease to be of
interest."
- Ásmundur Sveinsson (1893-1982)
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]