Dot Net Nuke Theme Question

Discussion in 'C#' started by propstm, Oct 28, 2008.

  1. #1
    My client wants me to develop a series of skins for a site wherein each portion of the site uses a similar layout with a different color layout. Is there a way to override a module css from a css file within the skin folders? I ask because I need to know if I can use <%skin=%>/images/nav.jpg in a css file?

    Thanks.
     
    propstm, Oct 28, 2008 IP
  2. Sean@WMS

    Sean@WMS Peon

    Messages:
    134
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No, that won't work in an external CSS file.

    With DotNetNuke you can assign different skins to different pages, though. So, you'll need to create a different skin for each color variation and then assign them appropriately to your pages.
     
    Sean@WMS, Oct 28, 2008 IP
  3. propstm

    propstm Peon

    Messages:
    286
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the quick reply. So the skin level CSS should override the module then if I understand correctly. no need for the <%skin= %> stuff just make sure the image is in with the skin images?

    I follow with the page specific skins, that's how i've setup the site each subsection has its own unique color layout, and so the module images can just be assigned right with everything else?

    (This may be easier than I had made it out to be)
     
    propstm, Oct 28, 2008 IP
  4. Sean@WMS

    Sean@WMS Peon

    Messages:
    134
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    LOL, I think so.

    Let's say you have a red skin, a green skin, and a blue skin. You'd have something like:

    redskin/images/nav.jpg
    greenskin/images/nav.jpg
    bluenskin/images/nav.jpg

    "nav.jpg" would be different in each skin. Then you'd assign the pages skins appropriately.
     
    Sean@WMS, Oct 28, 2008 IP
    propstm likes this.
  5. sampathsl

    sampathsl Guest

    Messages:
    861
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you better use CSS friendly control adapters with different themes. Then the user will be able to dynamically point to the theme he desire.
     
    sampathsl, Oct 31, 2008 IP