Keyword

K2 Tools - Calendar click popUp

More
6 years 8 months ago #163631 by Davor
K2 Tools - Calendar click popUp was created by Davor
I try to catch click on calendar date and create popUp with item/items title.
I don't want to load item in new page.

I manage to do this with script in calendar.php template file.
Everything works fine but when I go on other month, script is not working. Only on the first calendar page (when site is loaded).

In second try, i have made changes on calendarClass.php. Move my script over there and everything is OK. Now I have popUp on every month of calendar.
But when I update joomla from 3.7.4 to 3.7.5 and K2 from 2.7.1 to 2.8.0. Script in calendarClass.php is not loaded in page. Calendar is there, works great but my script is not loaded. I have checked html and no script in page. I even try to delete part of the calendarClass.php file but calendar is still working.

Any thoughts?

Personally I'd like to use changes on calendar.php template but script is not working if month is changed.


Using Joomla 3.7.5 and K2 2.8.0

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


Powered by Kunena Forum