Style Event Title Link for MX Calendar

Style Event Title Link for MX Calendar

To style the Event Title Link in MX calendar do the following
divider

To style the Event Title Link in MX calendar do the following.

Open the following file

includes\cal\CAL_mwCell.inc.php

Find line 40.
This is where the links are generated.

<div><a href="<?php echo  CAL_XHTML_Url($data['event'][$i]['link']);?>" title="<?php echo $data['event'][$i]['desc'];?>" <?php if ($this->calendar->getViewEventTarget()!='') { ?>target="<?php echo $this->calendar->getViewEventTarget(); ?>" <?php } ?>><?php echo $data['event'][$i]['title'];?></a></div>

Simply add a class to the enclosing <div> tag

<div class="wide_link"><a href="<?php echo CAL ...

Style the class in whatever way you like.

As an example

.wide_link a {width: 100%; display: block; text-decoration: none; color: #000000;}

This will make the whole "box" clickable

You will also want to do the same for the Day view file

CAL_ViewDay.class.php

Line: 171

Written by:  - 7 Apr, 2010