Share Your Strategy for Containers in DNN


Author Message
Joseph

Posted: 2/5/2012
Quote message 

It seems like the default "Article" container created by Artisteer works fine for holding a basic HTML module, but for just about every other module the formatting can be unpredictable since custom bullets and Block Quotes can act erratically depending on whether the module in the container uses tables or divs.
 
Jackie Pousson

Posted: 4/18/2012
Quote message 

Re DNN containers with Artisteer skins - I have (through trial and error) devised a method to upload additional containers without having to upload several full skins.

With my original Artisteer skin I style the article and Block containers to suit and upload the skin as normal. Then, using this Artisteer file I restyle, for example, the block container. Then in 'Export Options' I change the CSS prefix from the default 'art' to something else. i.e. if my original block container has a blue header and I have changed this to a yellow header, I would change this prefix from 'art' to 'yellow' etc.

I then save this as a new Artisteer file (in case I want to make any more changes) and also export as a new DNN Skin.

I then go into this new skin file and copy the following items to a new folder:

Block.ascx (because I have changed the Block container)
skin.css
images folder

I then rename the block.ascx and skin.css to container.ascx and container.css

I then repackage these three items into a new zip file and name this some thing relevant such as 'Yellow Header'.

This new zip file can then be uploaded onto your site as a container via the 'install extension' wizard, and you will then see it as a container option when changing your container through module settings.

Works a treat and you can have as many container styles as you want.