Форумы / Cotonti / Extensions / MCalendar + Ajax

foxhound
#16767 04.09.2009 04:55
This is a very cool plugin and I would like (and am trying) to use it on my site, however the ajax part of the plugin seems to not work.
When you enable ajax and try to go to the previous month/year or the next month/year you get a script error on the page and you can not navigate through the different months/years.

Only when you disable the ajax part of the plugin you can go through the months/years. But this will cause a full page reload each time you do that.

I noticed the plugin also contains a file called ajaxmcalendar.php. I assume this file makes the ajax part of the plugin work but as its not placed inside the plugin folder (in the archive) I assumed the file belongs in the root of the server?
So, I placed it there but it still did not work. After that I placed it everywhere I could think of (yes, I know very noob way) but still it does not work.
I opened the files, searching for a reference to the file and thats only present in the js/JsHttpRequest.js file but that does not give a path so still no idea what to do.

Anyone could help me out here?


[edit]
Useing the firefox firebug plugin it tells me the "gomonthyear" is not a vaild function.
I don't understand as the function is specified right after the eventhandler (onclick):
<td class=\"navigation\"><a href=\"#month-1\" onclick=\"gomonthyear('$m_prev','$y_prev')\" title=\"".$L['mc_prevm']."\">$sed_img_left</a></td>

And if you check the autput in the firebug it shows the correct month it should go too, but still it wont do.


Really nobody has an idea?


Sad, I have removed this from the website, no way for me to get this to work.
<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
Отредактировано: foxhound (21.11.2009 22:23, 15 лет назад)