Turning off links on the calendar?

Permalink
I want to use the calendar as an availability guide on a small guest house website, but don't really need the links through to another page.

Is there a way to either turn the links off, or have all the 'booked links turned off, and all the available dates pointing to a single page? If all the non-booked dates could say available that would be even better!

Very early test site:
http://67.225.176.153/~beachcro/index.php?cID=60...

 
ScottC replied on at Permalink Reply
ScottC
<div class="ccm-calendar-event"><a href="<?=DIR_REL?>/index.php?cID=<?=$eventObj->getCollectionID()?>"><?=$eventObj->getCollectionName()?></a></div>

to

<div class="ccm-calendar-event"><?=$eventObj->getCollectionName()?></div>

around line 88

basically just removed the href

part 2 is in email to you
liminal replied on at Permalink Reply
Amazing, cheers for getting back so quickly, it worked a treat!
craftyCS replied on at Permalink Reply
craftyCS
HGow did you implemeent this as I need to do exactly this.

thaks in advance
Paul
liminal replied on at Permalink Reply
I just followed what Scott said, it was actually quite easy.

Turned out the client didn't need it, but it would have been an ok way of having an availability calendar on your site, your client would just log in and highlight the days as Booked.

Had to do lots of css to get it looking right though.
craftyCS replied on at Permalink Reply
craftyCS
He mentioned a part two in an email I gather this is hte bit that makes the rest of them say available?
liminal replied on at Permalink Reply 1 Attachment
I can't find the email unfortunately - bugger.

I have attached the site file, see if it works for you.
craftyCS replied on at Permalink Reply
craftyCS
Thanks so much for sharing... what goes where with the files?
liminal replied on at Permalink Reply
If you install the calendar through the market place you can then go into the packages folder and find the calendar folder.

In the blocks / calendar folder you'll see a view_month file. Backup your old ones and then replace your old one with the one in my file.

You may want to take a look at the CSS changes I mate as well, its coloured to a slate gray and light pinky colour but it might be easier to see what you need to update.

Hope this helps, I can't see anything else that's been changed in that folder so this should do it.
craftyCS replied on at Permalink Reply
craftyCS
Hi Liminal,
I had already installed the Calendar package and overwritten the 'view_month.php' file.
But I can't seem to see how this now differs from the out of the box Calander.

I don't seem to have any booked or available showing and I can still click on days that have events for them to add multiple bookings to the calendar. What eactly should be happening to it?

thanks in advance
craftycs
liminal replied on at Permalink Reply
as soon as I get a second I'll come back to you on this one. Hopefully tomorrow.