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, ...custom container.css not being readcustom container.css not being read
Previous
 
Next
New Post
9/22/2006 3:55 AM
 
Hello helfenj
The problem is not in the new DNN update, but in the way the page is skinned.

You put hard coded CSS in the Default.aspx page.
If you install an update, the default.aspx page is being overwritten, and your CSS is gone.
In fact you are not really using skinning on this page since skinning means you separate the layout from the content.
If you want to use DNN updates without these kind of problems you should make sure everthing that influences the layout is in the skin files (outside any .ascx / .aspx file)
So....
Just copy all the CSS lines in your original default.aspx to one of the skinning CSS files...
Skin.css of the current skin, or portal.css.
And you site will look fine.

e.g. I'm sure you will have the same problem with the javascript in the default.aspx file...



 
New Post
9/22/2006 8:04 AM
 
Sorry, but that is not the case here.

I have been using the exact same process for nearly a year on more than a dozen skins. I never touch the default.aspx.

I create a seperate zip files 1 for containers and 1 for skins and place them in a zip with the name of the skin. I then upload them to the skins section using the tools provided in DNN. I do hardcode the CSS into the skin.html on this skin but the same thing happens if the CSS is in and external skin.css (I have skins built that way too)

Also this is not an upgrade it is a fresh install. I have multiple domains on the same host...one wiht a fresh install of 4.3.4 and one with 4.3.5, the skin works on 4.3.4 and not on 4.3.5

I think something has changed in the way that skins are created during the upload of the skin package.

What else could be going on here?
 
New Post
9/22/2006 8:34 AM
 
Hmmm...
Is there a skin error if you login as Admin?
Are there any errors if you login as host and choose > skins > select the skin package > parse skin package?
Do you have ftp access to the installation?

 
New Post
9/22/2006 9:04 AM
 
Both sites have this in the head:
<link href="/Portals/_default/default.css" type="text/css" rel="stylesheet" id="_Portals__default_"/>
</link>
<link href="/Portals/0/portal.css" type="text/css" rel="stylesheet" id="_Portals_0_"/>

Did you try to put you css code in one of these?

By the way, you have multiple <head> and <html> tags in your 4.3.4 page

I read that something changed for this, there was an error in DNN which was corrected and that's maybe why your skins worked, and now don't.

The error was that some of the HTML tags in the skin would get into the resulting ascx file, now they don't.......

Maybe that's why your css is disapearing...

You can email me
(have a look at my profile)  the skin file if you want but I can only have a look at it next week


 
New Post
9/22/2006 9:33 AM
 
To answer your previous post.

No errors when logged in admin, but the css is not applied. same results as when host or admin.
No errors doing a parsing of the skin file. (no errors on upload either)
Yes. I have ftp access to all my domains.

As for this post.

I have not tried adding the css to the defaults of portal css files because in my opinion that is not the way to develop a skin. I can try it jsut for kicks tonight, but I think it would be the wrong solution.

The multiple heads in my 4.3.4 are not in my skin file they must be added when the file is uploaded to DNN. Which might raise other questions.

I looked at the thread you linked to and see that a fix may have caused this and thats fine, but how do I avoid it now? I don't mind changing the skin if thats what it takes.

I have sent the skin file to your yahoo account, but if you are gone for a week I hope that someone else can look into this as well.

Thanks.


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...custom container.css not being readcustom container.css not being read


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