Like others, I was very interested in using the clock/calendar widgets in regular pages and found this very helpful: http://groups.google.com/group/django-users/browse_thread/thread/b958a059b6dca44e/67cc4c2f05719a65?lnk=gst&q=admin+calendar&rnum=3#67cc4c2f05719a65
I hit a few snags, though, and thought maybe I could help someone else out. I couldn't reply to the older thread, or I would have done it there. Anyway, that thread gives this code to add the required scripts: <script type="text/javascript" src="/jsi18n/"></script> <script type="text/javascript" src="/media/js/core.js"></script> <script type="text/javascript" src="/media/js/admin/RelatedObjectLookups.js"></script> <script type="text/javascript" src="/media/js/calendar.js"></script> <script type="text/javascript" src="/media/js/admin/DateTimeShortcuts.js"></script> In my setup, all of the "media" paths needed to be admin_media, as that's the pointer to my admin media folder, where those files actually are. So, I ended up with: <script type="text/javascript" src="/admin_media/js/core.js"></script> <script type="text/javascript" src="/admin_media/js/admin/RelatedObjectLookups.js"></script> <script type="text/javascript" src="/admin_media/js/calendar.js"></script> <script type="text/javascript" src="/admin_media/js/admin/DateTimeShortcuts.js"></script> Once I figured that out, and found those files, life got a lot better. Someone in the earlier thread had mentioned needing to style the calendar...knowing where the admin_media files are, it didn't take long to add: <link rel="stylesheet" href="/admin_media/css/widgets.css" type="text/css" /> Which would get you most of the way there. Or you can just take a peek at widgets.css and replicate it for your own use. Hope that helps someone. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---