I All,
I always use STK for reference CSS and JS in the docroot
I configure the link for CSS like the following example
Theme->mysite->cssFiles->mystyle
Set the node data name = "/docroot/mysite/css/reset.css"
Until magnolia 4.3.2 the rendering link is always the same for all domains
includes localhost
Example:
<link rel="stylesheet" type="text/css" href="${cssFile.link}"
media="${cssFile.media}" />
<link rel="stylesheet" type="text/css"
href="/magnoliaAuthor/stk-resources/mysite/docroot/mysite/css/reset.css<view-source:http://localhost:8080/magnoliaAuthor431/stk-resources/site-thalia/docroot/site-thalia/css/reset.css>"
media="screen" />
In magnolia 4.3.2 the link for localhost (ex.
http://localhost:8080/magnoliaAuthor) is:
<link rel="stylesheet" type="text/css"
href="/magnoliaAuthor/mysite/docroot/mysite/css/reset.css<view-source:http://localhost:8080/magnoliaAuthor431/stk-resources/site-thalia/docroot/site-thalia/css/reset.css>"
media="screen" />
and don't work properly
The link is correct display via mappings domains
(http://www.mysite.local:8080/magnoliaAuthor)
<link rel="stylesheet" type="text/css"
href="/magnoliaAuthor/docroot/mysite/css/reset.css<view-source:http://localhost:8080/magnoliaAuthor431/stk-resources/site-thalia/docroot/site-thalia/css/reset.css>"
media="screen" />
I want to see mysite working without mapping domains even on localhost
Do you have any suggestion to fix my problem?
King regards
Simone
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------