How to pass ID value to Calendar

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

How to pass ID value to Calendar

Post by sarah_h »

This is the flow: event list > event detail > event reserve

To start this I've made a copy (to test) of funtion.displayevent.php and called it function.reserveevent.php. This calls a calendar template called reserve_event. I've used this file because it has all the data I need.

Then I've got a simple link with the id of the event in the detail which then goes to a page template called reserve which calls the calendar like this {cms_module module="Calendar" display='reserve_event'}

The flow of it all works but using {debug} in 'reserve_event' template I see all the event info but I always see the same ID. So how can I pass the ID of the event to 'reserve_event' .

It seems it's the part from the detail page to the reserve page thats all screwy!

I'm getting there but if anyones got any advice on how to pass an id to the reserve_event template I'd appriciate it.

Sarah
Post Reply

Return to “CMSMS Core”