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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsUsing popup calendarUsing popup calendar
Previous
 
Next
New Post
3/16/2006 11:11 AM
 

For a new custom module I wanted to have a calendar that did not cause a postback when you change month, and the popupcalendar used in the Events module is ideal.

The only snag is that I want the date in UK format (dd/mm/yyyy) rather than US.  I have done this by altering the popupcalendar.js file which works fine but is not ideal, since I will need to alter the source every time there is an upgrade.  Looking at the editEvents source, I cannot quite see you you get from the calendar commandbutton (a asp:hyperlink) to the javascript command which invokes the calendar with 9 arguments, one of which is the date format.

Can anyone please unravel the mystery?  Thanks!

 

 

 
New Post
3/26/2006 3:17 PM
 

John, I have uploaded the source code (see the Events Download area)...You do not have to alter the existing popupcalendar.js.  It works with the existing DNN localization.  If you look at how I developed the Events module, you will see that it handles UK format, using the out-of-box popupcalendar.js.  Alan

 
New Post
3/27/2006 2:16 AM
 

Thank you Alan.  That popup is going to be very useful to my DNN modules!

John B

 
New Post
3/27/2006 7:52 AM
 
Your welcome.  It took a little to work out...and there are still issues in the Admin mode (because of the way the admin from is built).  If you have any improvements, please shoot 'em our way.
 
New Post
2/17/2008 11:14 AM
 

This is a bit off the track, but you have a couple of magical words - UK Format!

I have installed DNN, and installed the South Arican language pack as well.  But I cannot see where or how to change the date format for the site to UK format for everything throughout the website.  What have I missed?  Can you point me in the right direction please?  You may have guessed that I am a newbie a this, and appreciate your time. info@COMENSA.org.za, if you need to reply to me because this is not the forum for it.  Thanks!  Lorí


Lorí
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsUsing popup calendarUsing popup calendar


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