Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

Containers affect on Module Settings in DotNetNuke

Rate this topic:

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

AuthorMessages
John Mitchell
Posts:3276



06/10/2007 10:57 PM  

The container is a key piece of the functionality needed so that the admin can apply settings to their modules.  I have a blog post about the short-comings of the design if you care to know more. Containers and Menu Actions in DotNetNuke

Yes, you need a container to align modules
One problem is with alignment settings. The wrapper used for the module when you uncheck "display container",  puts the content in a span tag. Since span is an inline html element it does not have alignment capabilities (it is also an XHTML validation issue).

You could make your own "no container" that does not have any visible presentation, but still allows alignment if you wanted to work around this. The easiest way is to just change the "no container" container to use a DIV instead.  It is located in portals/_default/containers.

Another option, is to put a div tag opener in the Header of Module Settings and a closing div tag in the Footer.

 

Here is another slightly more advanced technique you can accomplish with the header and footer fields:
Positioning Modules in DotNetNuke

 

Ok, triva question for anyone who has been around awhile :
What version of DNN was it that the Header and Footer fields were first introduced?

 

And a little history for those that do not know: 
The Header and The Footer fields were once the only way to do containers.

 

We've come a long way baby!

[/quote] [/quote] [/quote] [/quote]
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Forums >DotNetNuke Support >Tips-And-Tricks > Containers affect on Module Settings in DotNetNuke



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information 
XDAkuna (Web 2.0 CSS XHTML Skin)

Item codeXDAkuna
AuthorNina Meiers
Price$49.00
Product Information