Open jberanek opened 3 years ago
Which release of MRBS are you running?
Campbell
Original comment by: campbell-m
last version, 1.9.2 thank you
Original comment by: *anonymous
Edit functions_table.inc and at line 69 add something like
$entry['name'] = $entry['name'] . ' - '. $entry['description'];
Original comment by: campbell-m
thank you very very much Morrison!
Original comment by: *anonymous
Hi Morrison, it's possible put "description" in a bottom new line whithout link and bold character?
Original comment by: *anonymous
But you want the brief description still to be a link?
Original comment by: campbell-m
yes, short description without changes, full description one line below without link. thanks for your patience
Original comment by: *anonymous
Instead of the change above, insert after this line (333):
$html .= htmlspecialchars($booking['name']) . '</a>';
the line
$html .= '<br>' . htmlspecialchars($booking['description']);
This won't work with private bookings though.
Original comment by: campbell-m
ok, I changed the line but it doesn't work, the description field is not displayed
Original comment by: *anonymous
Is the slot big enough to display all the text? It will be clipped if the slot is too small.
Original comment by: campbell-m
yes, the slot is big enough to display all text, i have only 3 room, and the slot is 4 hour with 30min step
Original comment by: *anonymous
Is the full description appearing when you hover over the booking? Does it appear when you view the page source?
Original comment by: campbell-m
no the full description does not appear, it appears only at the short description with link
Original comment by: *anonymous
Even when you hover?
Original comment by: campbell-m
sorry, long descriptio appears when the mouse is over. is it possible to have a line below fixed?
Original comment by: *anonymous
hi Morrison, you have news? full description work perfect on mouse over, but i have the need that remains fixed a line below thank you
Original comment by: *anonymous
Can you post as an attachment the version of functions_table.inc that you are using please?
Original comment by: campbell-m
ok
Original comment by: *anonymous
Attachments: https://sourceforge.net/p/mrbs/support-requests/_discuss/thread/d6a0af5c6b/21b7/attachment/functions_table.inc
OK, I see what the problem is. You should use this line instead
$html .= '<br><span class="full_desc">' . htmlspecialchars($booking['description']) . '</span>';
and create a custom CSS file (see systemdefaults.inc.php for how to do this) and add the rule:
.full_desc {
position: relative;
z-index: 100;
padding: 0.2em;
}
Original comment by: campbell-m
awesome! work great! thank you very very much!
Original comment by: *anonymous
Hi, it's possible view the "fulldescription" data in week view or in day view? thank you
Reported by: *anonymous
Original Ticket: mrbs/support-requests/2351