durana
Full Member
 
Karma: 1
Posts: 101
|
 |
« on: December 13, 2008, 04:06:36 AM » |
|
hello guyz, When I make a booking for 15 minutes, the cell is expanding. Is it possible to block this, so that all the cell are equal.. example:  ?? how can I add an image ?
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5506
|
 |
« Reply #1 on: December 15, 2008, 01:43:47 PM » |
|
You mean the cell is bigger than other cells around it?
|
|
|
|
|
Logged
|
|
|
|
durana
Full Member
 
Karma: 1
Posts: 101
|
 |
« Reply #2 on: December 16, 2008, 02:44:15 PM » |
|
Yes, it is bigger indeed...
|
|
|
|
|
Logged
|
|
|
|
seankoo
Jr. Member

Karma: 0
Posts: 55
|
 |
« Reply #3 on: December 16, 2008, 03:49:56 PM » |
|
On css.css file, you can modify the table layout to the following. table { border-width: 0px; font-size: 11px; table-layout: fixed; }
I hope this helps
|
|
|
|
|
Logged
|
|
|
|
durana
Full Member
 
Karma: 1
Posts: 101
|
 |
« Reply #4 on: December 16, 2008, 04:05:34 PM » |
|
this helped indeed that the cell is fixed at the booking view, but now the month above booking is expanded ?  very strange..
|
|
|
|
|
Logged
|
|
|
|
seankoo
Jr. Member

Karma: 0
Posts: 55
|
 |
« Reply #5 on: December 17, 2008, 09:45:23 PM » |
|
You can modify the schedule.template.php directly at the following function.
function start_day_table($displayDate, $hour_header) { ?> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr class="tableBorder"> <td> <table width="100%" border="0" cellspacing="1" cellpadding="0" style="table-layout: fixed;"> <tr class="scheduleTimes"> <td rowspan="2" width="15%" class="scheduleDate"><FONT COLOR="#000000"><b><?php echo $displayDate ?></b></FONT></td> <?php echo $hour_header ."</tr>\n"; }
|
|
|
|
|
Logged
|
|
|
|
durana
Full Member
 
Karma: 1
Posts: 101
|
 |
« Reply #6 on: December 20, 2008, 02:48:06 AM » |
|
thanks. this worked better...
durana
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5506
|
 |
« Reply #7 on: December 21, 2008, 05:14:57 PM » |
|
Nice fix. I'll make sure this is included in the next maintenance release.
|
|
|
|
|
Logged
|
|
|
|
qneal78710
Newbie
Karma: 0
Posts: 8
|
 |
« Reply #8 on: February 07, 2009, 04:30:56 PM » |
|
I'm trying to expand the cell which has the resource name in it but the width="15%" for function start_day_table does not seem to change anything but changing the rowspan="2" to rowspan="10" lengthens the day column. I want to lengthen the resource columnn and add "Location" to the table so that a user can see the resource and it's location. Is this possible.
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5506
|
 |
« Reply #9 on: February 07, 2009, 09:03:13 PM » |
|
You'll probably need to make it an absolute value, like 200px or something.
|
|
|
|
|
Logged
|
|
|
|
qneal78710
Newbie
Karma: 0
Posts: 8
|
 |
« Reply #10 on: February 07, 2009, 09:05:05 PM » |
|
For some reason I was able to set the time from 24 hours to just 12 which gave me more room on my schedule and it was able to expand.
|
|
|
|
|
Logged
|
|
|
|
|