Quick Nav:  Online Store   |   Login | Register

Images lost after uploading to remote server.

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
Phil Speth
Posts:0


07/19/2004 3:51 PM  
My site was working fine locally.
I was using MSDE and Localhost.

After uploading to the server, the skin images don't show.
For example the images in the banner area, and the login dialog.

The colors specified in the CSS are showing.
John Mitchell
<500Posts
Posts:355


07/19/2004 6:41 PM  

The skin uploader probably replaced the paths on your background images.

Try looking at the CSS file and search on background-image to see if a physical path is in there.  If there is then the path can be removed since CSS Skins allows the background images to be referenced relative to the path where the CSS file is.

This can also be avoided by not using the skin uploader and just copying the skin into the skin folder for the desired portal.

John Mitchell
<500Posts
Posts:355


07/28/2004 10:33 AM  

Hi matchbx,

That code for DesktopPortalBanner is left over from previous versions of DotNetNuke before they had that option of changing the root level on the breadcrumb.

To get what you are wanting, you can just replace the code in DesktopPortalBanner.ascx that has the container for the BreadCrumbs with the new SkinObject from DNN2.0, then you will be able to set the RootLevel property of that object.  In other words, where it says this:

<div nowrap align="left"   vAlign="center" runat="server" id="BreadCrumbContainer" class="BreadCrumbContainer"></div>

you can replace it with :

<dnn:BreadCrumb runat="server" id="dnnBreadCrumb" />

and register the skin object at the top of the page with:

<%@ Register TagPrefix="dnn" RootLevel=“0” TagName="BreadCrumb" Src="~/admin/Skins/BreadCrumb.ascx"%>

 

If you still want to position it absolutely (float it) with CSS then you can wrap it in a <div> that has the class="BreadCrumbContainer" in it, but don't give it an id="BreadCrumbContainer" or the CSS SKins Engine will try to fill it with it's own breadcrumb.

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >Bugs and other Issues > Images lost after uploading to remote server.



ActiveForums 3.7
Powered by: Snapsis Software