I think we still don't understand each other !Peciura wrote: OK. I thought you we using parameter inline=1.
To show event list of the day with jQuery, it is enough change 'cgcalendar_info ul li' to 'cgcalendar_content' and '#one_calendar_event' is also useless:{literal}
$(document).ready(function(){
$(".cgcalendar_content a").click(function updateCGCalendar(event){
event.preventDefault();
var event_link = $(this).attr("href");
/* alerter is good way to inspect some variables like url */
/*alert(nav_link+'&showtemplate=false'); */
$('#calendar').load(event_link+'&showtemplate=false');
});
});
{/literal}
Before today, I wasn't using JQuery. I was using the inline and use_session parameters and it worked fine except that the eventlist for particular days was displayed inline, instead of my calendar, and it was wrong. By the way, I think this should be changed, as it doesn't make sense to replace a calendar by an eventlist.
As I didn't know how to make it work my way. I tried JQuery, even if I was a bit reluctant, because I don't know it at all.
Now, using the JQuery code you provided at the very begining of this thread, it works fine except for the session thing: when I browse the calendar and then go to another page of my website, the calendar displays the current month again. It doesn't keep track of the month I'm checking when I browse my website. Same when I select an event or a day: the calendar goes back to the current month. And the use_session parameter doesn't work along your JQuery code.
Another parameter of CGCalendar that seems disabled is 'detailpage'. The event and detail templates are shown in the currentpage.
I guess it's not that important, but i wish I could keep track of the month I'm checking and display the event and detail templates in a specific page. That is what I'm asking. Do you have any idea how to do this ?

