Hi Magnolians,
I have some doubts about "resources" and "templates" workspace.
I know that I can use those workspaces to store ftl, css..
What is not so clear is the "loading" mechanism.
E.g.:
a templatePath like "/templating-kit/some/path" will load in this order:
1. from webapp folder (so, /templates/.. will work)
2. from "jar" file (but from which assumption?)
3. from from "template" workspace, only if the checkbox "bypass" is
checked. (what happen if I add here a /templates folder?)
Is this correct? I'm missing something?
In this scenario, a developer can write on filesystem and then having
that ftls automatically loaded into template? Is there a particular
install task available?
Next.
The same assumption for CSS / JS files.
When a theme or a template loads a css/js list they will find e.g.:
link: "/resources/templating-kit/themes/pop/css/styles.css"
In this case, what the loader will do?
I assume something similar to templates, but, again, we (developers) can
avoid to manually port css and js inside resources?
The resource workspace can be even used for images (separating DMS -->
content images with resource --> layout images)?
Sorry for the wide coverage topic, but it was on my TO-ASK list from
more than 1 year..
Thanks for any consideration you might add / comment..
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------