Kooboo Forum
Welcome Guest Search | Active Topics | Log In | Register

Released mode causes exception if CSS file has non-relative paths within Options
PurpleSky
#1 Posted : Thursday, January 07, 2010 8:17:31 AM
Rank: Member

Groups: Registered

Joined: 1/1/2010
Posts: 11
Location: Hampshire, UK
If I enable Released Mode on my site Buggy Blast Boot Camp then the css file stops working.

If I navigate to the combined css file directly it causes an exception (see below for link to exception).

Looking at the exception it doesn't seem to like the fact that a couple of images have a full qualified url rather than just a relative path.

I do this so I can route my images via a CDN rather than have them delivered from my site directly, and is perfectly valid css.

Error still persists even after I've disabled Released Mode (Although its not referred to by the site so the site works as it should) so if you want to see the exception its at

http://buggyblastbootcam...last/BuggyBlast.Default

Jenni
Purple Sky Studio
jifeng
#2 Posted : Thursday, January 07, 2010 9:42:49 AM
Rank: Administration

Groups: Administrators, Registered

Joined: 9/3/2009
Posts: 571
Location: Xiamen China
HI, You means you use image in css like this:
Code:

.css1{
background-image:url(http://buggyblastbootcamp.lg1x8zmax.simplecdn.net/Template/BuggyBlast/BinaryResource/Theme/Default/Images/bodybg.jp)
}


If it so, I will check it and fix it in next version. thanks.

Regards,

Jifeng Huang

Kooboo Team
jifeng
#3 Posted : Thursday, January 07, 2010 12:00:23 PM
Rank: Administration

Groups: Administrators, Registered

Joined: 9/3/2009
Posts: 571
Location: Xiamen China
Hi, I have reproduced the issue. I found you use the background image like:

Code:

background-image:url('http://buggyblastbootcamp.lg1x8zmax.simplecdn.net/Template/BuggyBlast/BinaryResource/Theme/Default/Images/bodybg.jpg');


Please remove the quotes, for example:
Code:

background-image:url(http://buggyblastbootcamp.lg1x8zmax.simplecdn.net/Template/BuggyBlast/BinaryResource/Theme/Default/Images/bodybg.jpg);


I will check out if the background image url with quotes in line with w3c standards. But before next version, please remove the quotes.
Regards,

Jifeng Huang

Kooboo Team
jifeng
#4 Posted : Thursday, January 07, 2010 1:36:40 PM
Rank: Administration

Groups: Administrators, Registered

Joined: 9/3/2009
Posts: 571
Location: Xiamen China
We have fixed it, in the next version background image url with quotes is allowed.
Regards,

Jifeng Huang

Kooboo Team
PurpleSky
#5 Posted : Thursday, January 07, 2010 4:39:53 PM
Rank: Member

Groups: Registered

Joined: 1/1/2010
Posts: 11
Location: Hampshire, UK
Great thanks, in the meantime I'll remove the quotes.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.