Page 1 of 1

Month View Issues, Title Centered and Time Display

Posted: 2013-10-08 09:17
by sfranzken
Hi,

Im using mx calendar to display the month view, but for some reason, my calendar title is left justified, you know like, October 2013; how do I center that?

Also is there a way to remove the time display from the month view as well?

Re: Month View Issues, Title Centered and Time Display

Posted: 2013-10-08 16:56
by Fred
Use firebug in firefox to inspect the element and see what css of pushing it to the left.

To get rid of or edit the time edit CAL-mwCell.inc.php around line 45 - 54.

Can't give you the exact line number as mine has other edits in as well.

Code: Select all

<div class="htitle_cal">
         <?php echo KT_convertDate($data['event'][$i]['start'], 'yyyy-mm-dd HH:ii:ss', $time_format);?>
	 <?php
		 if ($this->calendar->getDisplayEndHour() == true && CAL_extract('H-i', $data['event'][$i]['start']) != CAL_extract('H-i', $data['event'][$i]['end'])) {
		 ?>
		 -
		 <?php echo KT_convertDate($data['event'][$i]['end'], 'yyyy-mm-dd HH:ii:ss', $time_format);?>
	 <?php
		 }
		 ?>
 </div>