Does anybody know what's wrong in my case? Is my question somewhat obvious
maybe? I could use absolute URLs, of course, but I'd like to prevent that,
if possible.
Thanks
Andreas
weder wrote:
>
>
> Hi,
>
> how do I properly specify a URL to e.g. a background image in a CSS served
> by STK?
>
> I currently use something in the line of:
>
> #nav-global {
> background-image:url(../images/layout/navigation.jpg);
> }
>
> which also what the default template uses. I configured a new theme along
> the default "pop" theme. I'm also holding my images in the DMS.
>
> The resulting image URL generated seems to be:
>
> http://localhost:8080/stk-resources/site/resources/templating-kit/themes/<my
> theme>/images/layout/navigation.jpg
>
> according to Firefox, but no resource is at the URL. A correct URL would
> have been:
>
> http://localhost:8080/dms/templating-kit/themes/<my
> theme>/images/layout/navigation.jpg
>
> I'm using Mgnl 4.1 and STK 1.1 on OS X 10.5 using Tomcat 5.5.
>
> Is this maybe a caching problem? Since I'm developing currently I've
> disabled any subscriber, so no activation takes place, and I guess no
> caching either.
>
> Thanks
> Andreas
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>
>
--
View this message in context:
http://www.nabble.com/URL-in-CSS-in-STK--tp25435375p25449299.html
Sent from the Magnolia - User mailing list archive at Nabble.com.
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------