Rate this article

Style Event Title Link for MX Calendar

Rating: 0.0/5 (0 votes cast)

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

Adobe

XMS Systems
Free PositiveSSL and WhoisGuard with Every Domain Purchase
ionCube Online PHP Encoder

Although we try to ensure all the articles submitted are valid it is your responsibility to make sure you have backups before you use these suggestions on your pc or websites.
We do not take any responsibility for any data-loss, loss in functionality or any problem that might arise in what-ever way or form by making use of the information on this site.

"Friends of Interakt" has no connection to the Adobe Interakt Company