Topic: Simple change just cant find where

HI guys, I have made some huge changes to the calendar and very proficient with php, but for the life of me I can not find a way to make the gap at the top of day (above any bookings) bigger, I have had users 'complain' that when the day has a lot of bookings the small space at the top is too small for touch screen use.

I have tried making the space bigger but to no avail sad

Thanks

Re: Simple change just cant find where

Hi Smorg,
Edit the file "views/month.php" and on line 170 add a new style "cellTop" to the class. So the class should look like

class='{$hdrClass} cellTop'

Add  the following style to the file "css/css.php":

.cellTop {height:30px;}

If I have understood correctly what you want to do, then this should do the trick.
Roel

Re: Simple change just cant find where

I might be on an older version that you excepted, as I don't have {hdrClass} anywhere in that file

was it called something else previously I am running  LuxCal calendar: 5.1.0M (mycal)

thanks

Re: Simple change just cant find where

Hi Smorg,
Correct V5.1.0 is > over years ago, which is before the introduction of a scrollbar per day cell. For V 5.1.0 you should do the following:
Edit the file "views/month.php" and on line 158 add an inline style to the div-tag to set the height. So the div-tag should look like

<div style='height:30px;'>&nbsp;</div>

(Use single quotes around height:30px;)

Let us know if it's ok.
Roel

Re: Simple change just cant find where

Thanks I did not see that sneaky div tag hiding there lol

6

Re: Simple change just cant find where

Roel wrote:

Hi Smorg,
Edit the file &quot;views/month.php&quot; and on line 170 add a new style &quot;cellTop&quot; to the class. So the class should look like

class=&#039;{$hdrClass} cellTop&#039;

Add  the following style to the file &quot;css/css.php&quot;:

.cellTop {height:30px;}

If I have understood correctly what you want to do, then this should do the trick.
Roel

7

Re: Simple change just cant find where

555

8

Re: Simple change just cant find where

Smorg wrote:

HI guys, I have made some huge changes to the calendar and very proficient with php, but for the life of me I can not find a way to make the gap at the top of day (above any bookings) bigger, I have had users &#039;complain&#039; that when the day has a lot of bookings the small space at the top is too small for touch screen use.

I have tried making the space bigger but to no avail :(

Thanks

9

Re: Simple change just cant find where

Smorg wrote:

HI guys, I have made some huge changes to the calendar and very proficient with php, but for the life of me I can not find a way to make the gap at the top of day (above any bookings) bigger, I have had users &#039;complain&#039; that when the day has a lot of bookings the small space at the top is too small for touch screen use.

I have tried making the space bigger but to no avail :(

Thanks

10

Re: Simple change just cant find where

Roel wrote:

Hi Smorg,
Edit the file &quot;views/month.php&quot; and on line 170 add a new style &quot;cellTop&quot; to the class. So the class should look like

class=&#039;{$hdrClass} cellTop&#039;

Add  the following style to the file &quot;css/css.php&quot;:

.cellTop {height:30px;}

If I have understood correctly what you want to do, then this should do the trick.
Roel