Hi Magnolians,
I've found quite difficult to understand this use case:

I would like to have css and js on file system (don't ask why, it is a strong requirement..).

Now, I would like also to use STK to reference them.
So, I placed something like this into theme css:

style
- link: /docroot/my-site/css/style.css
- media: <...>

This configuration only work IF:

1) I open pages within a configured domains
   e.g.:

http://www.my-site.local:8080/magnoliaAuthor/myPage.html --> works, css are loaded, they point to /magnoliaAuthor/<cssLink>

   If accessing without domain, like:

http://localhost:8080/magnoliaAuthor/my-site/myPage.html --> doesn't work, css are not loaded (they point to /magnoliaAuthor/my-site/<cssLink>

2) Site is in only one language. In a multilanguage site, when I change language also links change languages. I need to remove with freemarker every language string in css / js resources.

In few words, which is *the way* in order to have css / js served from filesystem?
*I feel like I miss something..*

Thanks for any hint..

Matteo





----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to