Ok, this is my second (and last for the moment!) skinning issue:
In a DNN site I am developing, the site owner really likes a certain container in the new containers package and wants to basically group three modules into one container on all pages. So, on the left pane of the site, he wants to wrap the following existing modules in one container - a text/HTML module with some welcome text, an announcements module and another small text/html module underneath with some additional text.
All three modules are to be grouped in one container in the left pane and shown on all pages. There are three solutions I can think of to doing this, please let me know what you think:
1.) Just add the markup for the container to the left column in the skin (as I want it to appear on all pages) and set the "LeftPane" id within the container body. This is great, but then I need to reference the container.css file in my skin and also makes a mess of skin/container separation.
2.) Just have one Text/HTML module with a container set on the left pane and manually add announcements / welcome text to it as I see fit. This is the easiest of all options, but the site already has the modules on - this is a skin change so I don't really want to do that. Plus I lose announcements functionality.
3.) Is it possible to group several modules in one container via the existing framework? Or, would it be possible to develop a custom module that allowed other child modules to be inserted into it - so the parent module would have a container set and child modules would have hidden containers?
- nr3 would be the most elegant solution but since I don't know much about module development (yet!) I couldnt say whether this was possible or not.
The skins/containers are all ascx with code behind so if there's any tricks that can be done in code please let me know.
Thanks a lot!
AndyB