Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...image url references in cssimage url references in css
Previous
 
Next
New Post
9/17/2006 3:03 AM
 

Hi

I am trying to port a ;oca;;y developed site to a hosted server installation.

All has been rellatively straight forward but I do have 2 problems

1) The images that I have reffered to in my container.css seem to require full paths -

I have tried various shortened versions but unfortunately these dont work and as my site url is temporary (until DNS settings are changed) I can see that I will have to update these again when it goes live is there no tag <%PortalRoot%> or similar that can be used in css files

2) The [DOTNETNUKE] tag converts  well and would be great on user sites except for the inclusion by my host of a banner which has color problems with some client sites - I have looked at changing the compiled code but it seems to still be present

I have even removed the [DOTNETNUKE] tag from my html before uploading and parsing but this means the DNN copyright statement is removed

 

any suggestions

 


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post
9/18/2006 11:36 PM
 

1. CSS image references:
You should be able to use a path like this:
background-image: url(images/layout_02.jpg);

2. The DNN copyright:
You can set the style/color as you wish using CSS, or leave out the copyright notice altogether.  It's legal.

 

 
New Post
9/19/2006 8:39 AM
 

I've tried using refernces like that in the skin.css but the seem to need the full http://blah/blah/blah/ reference otherwise just blank on the page

With copyright I have worked out how to format but my new host supplies a one click install service and some how they supplement the dnn copyright with their own aditional advertising which I cannot control the appearance of in css (has a gif image) I assume they have recompiles some module in the insrtall to include their own links with the dnn ones I am trying to work out which one

 

Dave


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post
9/20/2006 8:00 PM
 

It sounds like maybe the html was parsed with "local" setting?

You can force DNN to pick up your css (and put it last in cascade sequence) by using <LINK href="<%= SkinPath %>skin.css" type="text/css" rel="stylesheet"> in the skin ascx file after the header directives.

 
New Post
10/25/2006 2:11 AM
 

Thanks Sam that seems to have done the trick -

 

 

 


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...image url references in cssimage url references in css


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out