site name is added to the resources links by Magnolia when Magnolia thinks the 
link is pointing to different then current site. Perhaps there is something 
missing in your site configuration that confuses the system to think those 
docroot links point elsewhere. Can you double check your mappings and domains 
settings? Alternatively post the configuration here or create a support ticket.

HTH,
Jan

On Jun 9, 2011, at 12:06 PM, Matteo Pelucco wrote:

> 
> Hi Magnolians.
> We are migrating a client env from 4.1.1 to 4.4.4.
> Everything worked fine, except from few things (till now..).
> For now I'll send you the first (most important)
> 
> CSS / JS links are not as expected.
> We reference js/css on server filesystem, adding link to themes like 
> "/docroot/site-name/.../style.css".
> When rendered, the HTML source code has inside
> "/site-name/docroot/site-name/.../style.css"
> and for this reason all the referenced resources are not rendered.
> 
> Workaround: add a node "name" under site definition and left a "blank" value. 
> And add URIPrefix = "/site-name" to the website mappings.
> In this case the HTML source is like as we expected.
> 
> Is it normal? Is direct docroot resources referencing still allowed / 
> supported in this Magnolia release?
> 
> Thanks for helping..
> 
> Matteo
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------




----------------------------------------------------------------
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