DNN Forums

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

Best way to dynamically update HTML module on several pages

 5 Replies
 2 Subscribed to this topic
 30 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 3
New Around Here

I have a customer who wishes to have a simple dropdown with a list of 5 different items that would output a colored button (HTML), that once set, would display on other pages where that module was added to. What is the best way to achieve this. It seems like it should be relatively simple so I would hate to dump a bunch of money into a fancy module that would do way more than I need it to. 

Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
Presumably, each of the buttons performs a different function?

I would probably do this using 2sxc (free, open source, and incredibly powerful and flexible). Primarily, you have control over the code, and you can put code into the module. You can create a UI in which a non-technical user can create and edit the components of the buttons without screwing things up.

Once you have this working on one page, it's a simple matter to add the module to other pages.
Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!
Posted By TBTech on 13 Feb 2020 11:10 AM

I have a customer who wishes to have a simple dropdown with a list of 5 different items that would output a colored button (HTML), that once set, would display on other pages where that module was added to. What is the best way to achieve this. It seems like it should be relatively simple so I would hate to dump a bunch of money into a fancy module that would do way more than I need it to.

I did exaclty the same using Open Content

You can easily place custom CSS with it but I also created a template where the user can create custom buttons which can be selected when placing the module.

 

Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
Exactly!
New Around Here
Posts: 3
New Around Here
Thank you for the replies! I will look into the suggestions.
New Around Here
Posts: 3
New Around Here

Unfortunately I haven't had a ton of time to look into either of these 2 solutions. Do either of you have some code or demo from these products that may get me started in the right direction?

Thanks!

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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