1

Topic: Line break vor All day events in week view?

Hi,

I am working at a German university and we are using a LuxCal installation as a roster for our Information-Team in the library.

Especially in the holiday season we have some problems with the output of the table.
We are using the week or work week view and sometimes we have around ten all day events.
Without moving over the event with the mouse cursor there is no way to see the events title.

It would be nice if the events would be separated in additional rows.
Is there an option to do this?

I couldn't find it and have even looked in the source code. but I couldn't figure how to manage this problem.

Do you have any tips?

Thanks in advance.

Dears Sincerely
Marcel (IT-UDE)

Re: Line break vor All day events in week view?

Since the latest versions, it has been possible to format the eveninformation.

See this post : https://www.luxsoft.eu/lcforum/viewtopic.php?id=335

Please tell if this is helpful - or if it was something else you meant.

Re: Line break vor All day events in week view?

OH - just read your post again.
I missed the "week". As there is not much space for the All-day's I see the problem.
Have you considered using the display?
I think the display could be good for your case. You could then have alll the event-information shown - and the display(s) is perfect also for viewing on mobiles.
Could one of the displays be a solution for you?

Re: Line break vor All day events in week view?

If you are using the display, you could tell your users that they can have the calendar on their mobile.
All they have to do is show the display on their mobile and then make the display/page an icon on the phone. No app installation needed and then they could always have the calendar in their pocket. Next time they only have to click the icon to see the calendar.

5

Re: Line break vor All day events in week view?

Hi Schwartz,

thank you for your quick reply.

The Displays don't really work for me.

We have multiple events at the same time and the employees want to have them next to each other.
In Addition to that it you can't navigate between weeks and the end the week is not visually marked.

At the moment we don't need the mobile view either, because the calendar should only be available in the intranet.

For most things the week view just works fine for us. Only the all-day row is way too small.

There has been another thread with a similar Problem, but I can't find it anymore.
Someone had the idea to allow the <br> tag in the title. Than the user can make a manual line break.

So I changed line 175 and 176 in events.php to:
    $tit = isset($_POST['tit']) ? strip_tags(trim($_POST['tit']),'<b><i><u><s><center><br>') : '';
    $ven = isset($_POST['ven']) ? strip_tags(trim($_POST['ven']),'<b><i><u><s><center><br>') : $set['defVenue'];

Maybe I missed something, but the <br> tag still gets removed.

Do you have any other ideas?

Dears Sincerely
Marcel (IT-UDE)

Re: Line break vor All day events in week view?

Hello Marcel

You could set the time slot height to its maximum. This gives more space - but a day will then be "long".

An option for the all-day where you could choose between "aside" ( as now) or "below". If set to below, then the all-day should expand so every event took up one line in the cell. The day with the highest number of all-day events should "decide" the height in day-view amd week-view.. But it is only a suggestion for a possible solution - it is not possible today.

I think we should have advice from a real expert - Roel. Maybe he has a solution.

Re: Line break vor All day events in week view?

About the line break - I think this is the post you refer to: https://www.luxsoft.eu/lcforum/viewtopic.php?id=335

Roel offered in this post a possibility to have line breaks in the title.
If this would solve your problem, then I suggest you contact him via the contact page, and give him information about what version you are using.
I am pretty sure he could then send you two files with the minor changes.

8

Re: Line break vor All day events in week view?

Message not valid

Re: Line break vor All day events in week view?

Guten Tag Marcel,
Adding a '<br>' to the event title doesn't work; the All Day row will not get higher, which means that everything after the <br> will disappear.

What you could try is the following:
- on the Settings page in the section Views check 'Show event owner in front of event title'
- when entering events, in the Event window at the bottom set 'Added' to the person doing the activity. (you will have to edit already existing activities)
- use the gantt chart view (rather than week view).

This should give you a good view of all activities with the title and the person performing the activity.

Please let us know if this works for you.
Roel