MX Calendar Forum :: Showing default event

This thread was displayed: 0 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Simon Lewis
05-06-2007 14:18:06 GMT +2

I am using the calendar for villa bookings. I can easily show booked periods (these are the events), but I want to show 'available' for every unbooked day.

I suspect I need to add a rule in CAL_mwCell.inc.php; can anyone point me as to where? Thanks.

 

Back | Reply | Quote | Top
Simon Lewis
05-06-2007 14:40:46 GMT +2

Found it myself...

In CAL_mwCell.inc.php, add the following after line 25:

<?php

  if (count($data['event'])>0) { } else { echo '<div class="available">&nbsp;</div>';}

  ?>

Obviously the class 'available' needs a rull added in the CSS...

Reply | Quote | Top
© Adobe Systems Romania. All rights reserved.