Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Replaceing the Text/HTML ModuleReplaceing the Text/HTML Module
Previous
 
Next
New Post
7/21/2010 5:11 PM
 
I have been tasked with creating a new website. It is for a bank that has 2 sites, one in Tulsa, and one in Dallas. I'm wanting to be able to display different content for each site, but run everything off of one installation of DNN. I want to replace the text/html module with something I create that will let them put 2 versions of the same content in there, one for tulsa, one for dallas. And then when the content is displayed, it will parse the url to see what domain it is on, and display the appropriate content to the user. Please let me know how this would be possible, and point me toward some tutorials or articles if possible. Thank you in advance.

Jeff Pegg
jpegg@broco.com
 
New Post
7/21/2010 6:39 PM
 
this should be possible, but I am not aware of a ready made module for this use case.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/21/2010 9:58 PM
 

You might be able to use the html module along with Jquery to acheive what you want.  Look up using jquery to hide content.
 
New Post
7/27/2010 10:03 AM
 
If I use jQuery to hide content, then browsers that have JavaScript disabled will see both versions of the text, and that wouldn't be acceptable.
 
New Post
7/27/2010 11:04 AM
 
True, but if they have javascript turned off, they will have trouble on the rest of the site.  DNN sites use quite a bit of javascript. :)

To achieve what you want then you will probably have to create your own version of the html module.  Start with the source code for the current html module, then add your logic, (create content for each bank / office, add the domain info to the query so that you pull back the correct content , etc..)
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Replaceing the Text/HTML ModuleReplaceing the Text/HTML Module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

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

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. 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.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out