Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

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

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

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

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.

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.060 seconds

Hi guys Before I ask for help just like to say I tried the tutorials on how to make a 2.5 component WOW.... HECTIC!! J-Cook is really amazing in its simplicity!!
Dorac (Forum)  

Get Started