Ajax Event Calendar Support Product Page

AJAX Calendar - Question

Asked 14 Feb 2010 03:18:52
1
has this question
14 Feb 2010 03:18:52 Mike Hicks posted:
I just got the AJAX calendar extension and am following along with the tutorial. The last step talks about adding a link on the calendar page to the form that uses the insert record behavior to insert an event in the database. Why do you add the link under the calendar? I don't know about you, but I don't want the general public to be able to insert an event in my calendar. I went ahead and tried to add an event into the data table manually but it did not appear in the calendar - could be due to the fact that I did not use an event type field (I will add this field later IF necessary) but what about this "add a link to th calendar page" instruction?
Edited by - Mike Hicks on 14 Feb 2010  03:32:49

Replies

Replied 14 Feb 2010 12:23:15
14 Feb 2010 12:23:15 Patrick Julicher replied:
Hi Mike,

The way you want to use the calendar, it indeed is not wise to put the insert-option below the page.
There are however other options for using the Calendar, for example in a CMS. In that case it could be easy to have Calendar and Insert on one page.
It all depends on the way you want to make use of the calendar. The demo just illustrates an easy way to add items to the calendar.

Kind regards, Patrick
Replied 15 Feb 2010 20:24:55
15 Feb 2010 20:24:55 Mike Hicks replied:
Thanks for the answer, Patrick. That step read like a requirement to get the calendar to work. So I guess I will just let the extension create a simple table in MySQL and see if my event displays....(which it hasn't so far)
Replied 16 Feb 2010 21:51:05
16 Feb 2010 21:51:05 Mike Hicks replied:
Ok - so I followed the instructions on how to create an AJAX based calendar - created the table in MySQL with the appropiate fields and manually put in a test event. I created the calendar page and added the AJAX feed and uploaded the calendar_ajax & ScriptLibrary folders and the calendar page to the website and nothing appears - what am I missing here?
Replied 21 Mar 2010 16:58:18
21 Mar 2010 16:58:18 d og replied:
did you solve your problem?
i found there was a problem (for me) in the default SQL created...

try testing the url it shows in firefox firebug (with querystring values eg calendar_ajax/calendar_get_events1.asp?start=1262304000&stop=1293840000&callback=C&_1269179182299=) and this might give you a clue if itis an sql error...


Edited by - d og on 21 Mar 2010  16:58:55
Replied 22 Mar 2010 11:06:49
22 Mar 2010 11:06:49 Miroslav Zografski replied:
Hello all,

Please, provide here the code of your calendar_get_events#.php file, which is located at siteroot -> calendar_ajax folder
in addition provide a link to a test page displaying the calendar with issues.

Regards,
Replied 26 Mar 2010 22:46:42
26 Mar 2010 22:46:42 david huhncke replied:
i am having the same issue, my insert page is working and i am able to make all the entrys in the database that i want, but they do not show on the cal. running the debug tool in IE i get the error mentioned above.

calendar_ajax/calendar_get_events1.asp?start=1262304000&stop=1293840000&callback=C&_1269179182299=)

not the exact same thing, but the numbers change upon refresh, is there an issue with how the plugin writes the get events page that needs to be corrected?
Replied 07 Apr 2010 18:45:47
07 Apr 2010 18:45:47 Rusty Monette replied:
Has anyone found a answer to showing events from a mysql database I am having the same issues as these?
Replied 08 Apr 2010 10:36:10
08 Apr 2010 10:36:10 Miroslav Zografski replied:
QuoteHello all,

Please, provide here the code of your calendar_get_events#.php file, which is located at siteroot -> calendar_ajax folder
in addition provide a link to a test page displaying the calendar with issues.

Regards,

Reply to this topic