Welcome, Guest
Username: Password: Remember me

TOPIC: Calendar.js loading problem

Calendar.js loading problem 06 Sep 2013 10:20 #11013

  • beasty1711
  • beasty1711's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Thank you received: 1
  • Karma: 0
Me again...


My component has a calendar control on the page however it doesn't show the pop up.


In the sanbox this is loaded in the header:

<script src="/sandbox/cms25/media/system/js/calendar.js" type="text/javascript"></script>
<script src="/sandbox/cms25/media/system/js/calendar-setup.js" type="text/javascript"></script>


But on my front end its this (note the files are the other way round):
<script src="/media/system/js/calendar-setup.js" type="text/javascript"></script>
<script src="/media/system/js/calendar.js" type="text/javascript"></script>

Is this added to the joomla header via my jcook app? If so where abouts / what would trigger this as i cant find anything.

Thanks

Pete
The administrator has disabled public write access.

Calendar.js loading problem 08 Sep 2013 21:48 #11028

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
The informations you provide are not enough.
For me it seems correct.

What is the problem ?
Are thoses files existing and accessibles ?
Did you tried to load them by url ?

Do you have a javascript error ?
Coding is now a piece of cake
The administrator has disabled public write access.

Calendar.js loading problem 09 Sep 2013 07:49 #11030

  • beasty1711
  • beasty1711's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Thank you received: 1
  • Karma: 0
I have a calendar pop up in my front end and also back end. The calendar works in the admin section, however in the front end i get this javascript error:

SCRIPT5009: 'Calendar' is undefined
calendar-setup.js, line 1 character 1


and the control doesn't open.

Both calendar.js and calendar-setup.js are available from within my site. The only difference i can see is that on my site calendar-setup.js is added to the page header before calendar.js
The page appears to load correctly within sandbox.
The administrator has disabled public write access.

Calendar.js loading problem 29 Sep 2013 18:24 #11236

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
It seems to be a problem with your template.

Wich Joomla version ?
Did you tried with Joomla default template ?
Did you tried on a fresh Joomla install ?
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.207 seconds

Get Started