Hi. Great resource here. I have been developing websites for about 4 years and am brand new to DNN (about 4 days) and .NET (0 days!). I have the basics of skinning and containers down, but I already ran into something that I would like to do that it appears DNN can't do out of the box (unless I'm missing something).
Our site has several sections. Each section has the same basic layout but a different header (links and graphics). I know that I can do a couple of things to make this work like create a skin for each section and make the user pick the skin for every single page. Or I can make each section its own portal and assign the section skin to that portal.
I'm not a fan of either of those 2 approaches because 1.) it forces me to create way too many skins and as the site grows would be a headache to maintain and 2.) it forces the user to pick a skin for every single page. If you have any experience content management you know that handing over that kind of power to a client can cause things to fall apart quickly.
So, what I want to do is introduce some logic into the skin that says 'if the top level section of this page is X, show header Y'. Here is a sample site structure:
Home
Events
- sub page
- sub sub page
- sub sub page
-sub page
Students
- sub page
- sub sub page
- sub sub page
-sub page
Children
- sub page
- sub sub page
- sub sub page
-sub page
In this site structure Home, Events, Students, and Children are the sections I'm interested in. I want my skin to determine which section a page is in and apply the header to every page and sub page under it based on that determination. I think what I am after is a Skin Object but I'm not sure about that since I am still learning the architecture and terminology of DNN.
Sorry for the long post. Does this make sense and is it possible? Is there a different/better way to go about this?
Thanks!
-Dan