DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Over usage of containers?

 3 Replies
 2 Subscribed to this topic
 13 Subscribed to this forum
Sort:
Author
Messages
New Around Here Send Private Message
Posts: 1
New Around Here

I'm at a new organization and building a site in DNN 9. The developer insists that everything needs to be built using a container (cards, buttons, call to action banners, etc). This leaves me unable to do much on the site. Is there a good reason for using containers rather than building out in CSS? 

Veteran Member Send Private Message
Posts: 764
Veteran Member
Well, it gives you flexibility as a content editor because you have freedom to determin how your content looks like. You easily switch between a grey background, a green background, dropshadow etc. I used to have this opinion as well. Oh, and as a content editor I hate it when a developer has created a pane that is something else than transparent. But...today I only use 1 container: empty, no titel. Because I use 2SXC instead of the HTML module, I have all freedom and control. And it is more flexible than a container. The other go to content type module, Open Content, is probably capable of the same. First advice: take a look at 2sxc and both parties will be very pleased. There is tons of documentation and videos so you'll be up and running in no time.
Veteran Member Send Private Message
Posts: 1173
Veteran Member
Posted By catherine on 01 Aug 2019 02:00 PM

I'm at a new organization and building a site in DNN 9. The developer insists that everything needs to be built using a container (cards, buttons, call to action banners, etc). This leaves me unable to do much on the site. Is there a good reason for using containers rather than building out in CSS? 

What does the developer mean with "Containers"? Is thate DNN containers? Or does he mean something else? The use of DNN containers should not really limit you, they are just a wrapper around a module (nd you can use CSS), wich is why I'm asking..

 

 

Senior Member Send Private Message
Posts: 1465
Senior Member
In general, most of our websites only have a few DNN containers and then we use a structured content solution like OpenContent, as Tycho suggests, to provide the Bootstrap "containers" and other form patterns. This avoids the HTML module for end-users that we don't want to allow to have too much freedom with a WYSIWYG editor. :)

These Forums are dedicated to the discussion of DNN Platform.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved