Month View Issues, Title Centered and Time Display

sfranzken
Posts: 4
Joined: 2012-09-21 10:07

Month View Issues, Title Centered and Time Display

Post by sfranzken » 2013-10-08 09:17

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?

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Month View Issues, Title Centered and Time Display

Post by Fred » 2013-10-08 16:56

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>

Post Reply