This is just a mod for Simpilots Events module which is required for this to work.
Demo: http://malaysiava.org/index.php/tourcalendar
download: https://github.com/Strider2/Tcal
This is just a mod for Simpilots Events module which is required for this to work.
Demo: http://malaysiava.org/index.php/tourcalendar
download: https://github.com/Strider2/Tcal
OH OH OH!!! I’ve been looking for something like this… I think I love you man! ![]()
Any chance to create navigation buttons to change the month? ![]()
Thanks for sharing though! Awesome!
Looks awesome! I will try it out tonight.
Is this a tour calendar or an event calendar?
It is an event calendar.
The only thing I would like to add in would be the ability to have links for the previous and next month as well as highlight the current day table cell. But I sure do appreciate your willingness to share this with us Strider.
I will see what I can do with that.
Oh no need to do more work on it. I’m plugging away at it as well. If I can get it to work, I’ll share the code with you - - unless you beat me to it. ![]()
Dont work for me when i upload files and replace EventsData.class.php the event i create dosent show in Admin Panel ( on calendar itself also dont show ) but when i upload oryginal EventsData.class.php from event mod its ok i got all my events but i dont show on calendar.
any errors show? Got a link to it?
No error just not showing on calendar , with my oryginal file with yours cant add a event
I am unable to access your events module as I need to be logged in. Try uploading simpilots original file, imy one only has an extra bit of code, which shouldn’t hinder the operating of the events module.
I am unable to access your events module as I need to be logged in. Try uploading simpilots original file, imy one only has an extra bit of code, which shouldn’t hinder the operating of the events module.
I will pm you with login details to test account on my page , have a look now is with simpilots original file.
I honestly dont know what is going on. The code that is on the github is exactly what I have and mine works fine, it also works for others who have talked to me on skype and here
Fatal error: Call to undefined method EventsData::get_upcoming_events_dates() in /home/enterairva/domains/enterairva.pl/public_html/core/templates/TourCalendar.tpl on line 45
Thats with simpilot file
So you do need the little update to the eventsdata.class file. It should work with that code.
Any luck on linking to previous and up coming months? That would be a great addition to this nice calendar.
As of yet no, but still working on it.
Ok sounds good. Thx for the update.
Here is the updated version of the EventsData.class.php that should work. It should solve the problem with the events disappering. All i did was add
".TABLE_PREFIX."events"
between
public function get_upcoming_events_dates()
{
$query = "SELECT * FROM ".TABLE_PREFIX."events";
return DB::get_results($query);
}
and i basically did that for each function.
[EventsData.class.php.zip](< base_url >/applications/core/interface/file/attachment.php?id=1191)