Quick Nav:  Online Store   |   Login | Register

Bug on 2.0 Upload?

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Perceptive Webs
<20 Posts
Posts:13


04/11/2004 7:33 AM  
Hey John - here's what I just saw on this - I'll make it pretty detailed so you'll know exactly what I did.

I designed the skin on my TZO Dev "Server" (ha ha) and, once complete, zipped up correctly w/ most of the files showing a path and the DesktopPortalBanner, DesktopPortalFooter, and SignIn ASCX files in the [root]/Controls path. So far, so good... Here's the problem:

When I uploaded (as a skin, of course), it seems DNN parsed through the "SKIN.css" on the upload and changed the paths to some background images. Instead of showing:

{
background-image:url(PortalBanner.jpg);
}

It showed
{
background-image:url(why/did/dnnadd/all/this/crap/to/the/css/PortalBanner.jpg);
}

What's REALLY interesting is that at one portion in each one of these statements, it added an extra "/" in the path - in this example, between "this" and "crap"...

background-image:url(why/did/dnnadd/all/this//crap/to/the/css/PortalBanner.jpg);

Any thoughts?

BTW, here's the skin:
Click Me


Thanx,
Stv

"When every possibility is explored, whatever remains, no matter how unlikely, must be the truth." - Sherlock Holmes
John Mitchell
<500Posts
Posts:355


04/11/2004 8:24 AM  

Yes, I think they just added that to the skin loader to have it do the paths in the CSS also.

From what I had been reading it should just make the path physical to the portal though, so it should still work, I hadn't noticed the extra slash part.

In my opinion they shouldn't be changing the paths, because the great advantage of using the CSS file is that you can make your paths relative and that way they'll work on any portal, not to mention that adding the paths also bloats the CSS file.

The best way to keep the uploader from messing with the skin is to not use it.  Just FTP or Copy the skin up to the portal's skin directory and it will still show up in the selection list.

Perceptive Webs
<20 Posts
Posts:13


04/11/2004 10:15 AM  
Yeah, that's exactly what it puts in the path - but the extra "/" hoses it and the image doesn't show until it's fixed... I just changed all of them back to the root.

"When every possibility is explored, whatever remains, no matter how unlikely, must be the truth." - Sherlock Holmes
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software