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...JavaScript/HTML code not displaying in HTML ModuleJavaScript/HTML code not displaying in HTML Module
Previous
 
Next
New Post
6/12/2015 4:00 PM
 

It does now that I moved it.  It didn't in IE or Chrome before I moved the code to the footer.  I'll try it on a different page soon as I move the code to production.

 
New Post
6/12/2015 4:06 PM
 
Here in Poland it's 10:05 p.m. by the way :) (your script is client-side)

English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
New Post
6/12/2015 4:08 PM
 

Yes, but our patients will always be coming to our Urgent Care clinics within our time zone.  We have a very small market so client side is fine.  :)

 
New Post
6/12/2015 4:14 PM
 

As you wish...

Nevertheless, IE shows the info as you want it, but not Chrome, Firefox and Opera at the same time when checked on IE.

Over and out.


English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
New Post
6/15/2015 4:49 PM
 
Dave,

I have a solution for the actual issue you're trying to address that uses the Form & List module instead of JavaScript replacing content in an HTML module.

1. Add a Form & List Module
2. Define the following columns:
- Start (Time)
- End (Time)
- Message (Text)
3. In the List Settings, apply the following filter:
- [Start_UDT_Ticks]%[Ticks:TicksPerDay]<[Ticks:Now]%[Ticks:TicksPerDay] AND [End_UDT_Ticks]%[Ticks:TicksPerDay]>[Ticks:Now]%[Ticks:TicksPerDay]

If your server is NOT in the same time zone that you are, you might need to tweak the values you enter for the Start and End times.

If you try it with 3 records in 1 hour ranges first, you should be able to verify whether or not it's going to render correctly without requiring you to offset any data.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...JavaScript/HTML code not displaying in HTML ModuleJavaScript/HTML code not displaying in 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