Developer forum

Forum » Templates » calendar

Reply

hi!

 

We are using the calendar module for the first time, and we need to display the calendar in one paragraph (in column 2 of the page), and the chosen event (after calendar click) in a seperate paragraph in column 1.

 

Is this possible?

 

 

-jan


Replies

 
Reply

The best way to learn is always hands-on:) Check this out: http://www.dynamicweb.dk/Developer-forum-25346.aspx?action=ShowThread&ThreadID=834

 

It relates to NewsV2 but can be applied to Calendar also.

 
Reply

hi

 

I looked at that thread, but it didnt realy apply.

The calendar module is installed on both paragraphs.PID to steer wich paragraph the calendar module would be executed in didnt work.

 

I tried to set the list/list element to 'none selected' in the first paragraph, so that the calentar event would show here and not the calendar itself, but the calendar then dissapears from the second paragraph. I need this to stay as is.

 

There must be some way of solving this without having to redesign the page?

Pherhaps I can hardcode the calendar templates in the paragraphsetup for this column, install the calendar module on it and see what happens.

 

-jan 

 
Reply
magenta wrote:

hi

 

 

 

Pherhaps I can hardcode the calendar templates in the paragraphsetup for this column, install the calendar module on it and see what happens.

 

-jan 


no that didnt work

 
Reply

Have you tried using <!--@DwGlobalParagraph(187)--> in your page template to load the paragraph containing the calendar overview?

 
Reply

hi

 

Tried it, but same result, the calendar is executed in both paragraphs

 

-jan

 
Reply

Also when using the PID parameter?

 
Reply

'fraid so.. the PID parameret is just ignored, the page is here by the way

http://ming.net.dynamicweb.no/

 

 
Reply

I can't make anything of it either. Perhaps this is not supported by this module after all.

 

Anyone?

 
Reply

I think I'll just use the newsmodule instead, it has most of the functionality I need anyway, the rest I'll tweak with Javascript.

 

cheers

-jan

 
Reply

Hi,

 

I've had that problem in the past as well. I solved it passing a javascript variable or statement when "opening" a calendar event, to hide the div layer or table where I had my calendar (left/right column).

 

Regards,

Nuno

 
Reply

It seems as my memory is not always as good as I think, so I had to call for external help on this one:)

 

Some of the old modules were built to support the PID parameter to specify which paragraph to send the other parameters to. The Calendar V2 module, however, does not support this. The old calender module does, so by using both modules you can acheive this functionality. Use the old calendar module to show the list in the column, and use the new module for the detail view of the event.

 
Reply

By the way, the links in the list of the old version must use CalendarEventID instead og CalenderEventID, and you must remove M=Calender:)

 
Reply

Thanks I'll try it out :)

 

-jan 

 

You must be logged in to post in the forum