Skip to forum content

LuxCal Web Calendar

The place for news, questions and suggestions

You are not logged in. Please login or register.

SPAM DRIVES US CRAZY Therefore we cannot accept URL links in the posts anymore! We're sorry for this.

 

Post new reply

Post new reply

Compose and post your new reply

You may use: BBCode Images Smilies

All fields with bold label must be completed before the form is submitted.

Required information for guests


Required information

Topic review (newest first)

12

Hi there,

This "sales person" is that the one who created the event? If not, where does that name come from? If it is the person who created the event, I can give you a PHP code change to add this name. Please tell us where exactly you would like this name to be added in the display.

Roel

11

A tip :

You could make copies of the display2 - could be disp2fred, disp2greg, disp2julia - or whatever names you give them.

Then julia could have the  display disp2julia set up on her mobile. And Fred could have disp2fred.

Then the disp2(name) should be filtered on users.

This require that the users themselve create events, or the admin/manager sets the ownership of the event( when created/edited )  to the user.

The sales people could also have a display where all users is shown.

Then they will have two displays - one with only their own events, and another where they can see all.

But as i don't know how you use your calendar, then my tip is only a guess on, what could be useful.

10

@Bwaikel

In the General settings in Display2, you have the $evtBody =
Here you can insert a list of event fields to show.

1: Venue field
2: Event category field
3: Description field
4: Extra field 1
5: extra field 2
6: Email notification data
7: Date/time added/edited and the associated user(s).
8: Attached pdf, image or video files as hyperlinks.
The order of the numbers should determine the order of the displayed fields.

If it does not function as expected, or if this was not what you meant, then make a new post.

9

This is a great calendar system! I'm using display2.php for my sales people on mobile phones but I'm trying to add (salesperson username) after each calendar event in this mobile view and cannot for the life of me figure out how to do it. I am familiar with PHP code but....damn, it's come to this. Asking for help.

8

Hello Stefan

If you are a coder, then you could go this way.
If/when you have something useful, please share it with us - either via the code or/and via a link to your calendar.

For those of us, that want it to be easy when upgrading ( using the standard solution) , and therefore want an extremely flexible solution where most things can be solved via settings, then I think that in the near future, we will be able to use the display also for login, and for letting the display use the credentials for the user, and eventually create/edit events from/via the display.

This could be a great enhancement for using the calendar on mobile devices.

This summer, it has been hot here in Europe - so is the calendar.

7

Thanks Roel,

so I know, where to look - great!

6

Hi Stefan,

In the calendar's index.php file the function "isMobile" is called and the return value is stored in the variable $isMob. The return values can be: 0: not mobile, 1: mobile tablet, or 2: mobile small display.
So if you do a global search with "$isMob" through all calendar files you will find the places where measures are taken to make the calendar more responsive.
(Just in case: To do global text searches, you could use the free application TextCrawler)
Roel

5

Hello Stefan

The displays is mostly meant for public view, but you can have/make a display that only show events for one or more users.
You can filter on groups, categories, users and  venue ( case-insensitive text string for venue ).
Private events should not be shown in the display.

There is a lot of functionality in the calendar and a mobile could be very small, but even then it can be used on a mobile.
If you set up the calendar with only the Options buttons to the left, and the login and hamburger to the right, then the calendar should be fully adaptive -  and then the calendar uses the users priviligees, and users can create events. You can do the same things on a mobile as on a desktop.
But you have to have your settings then, so it fits to mobile view.
There is no viewports regarding the settings - but in the new version, most of the  the buttons to the right is made as a hamburger.
Maybe Roel could tell some more about this.

4

Thanks for your reply!
I allready know about the displays and that they are very flexible in showing data from the calendar. But I am not sure about the user rights within displays.
What if I want to show some users even non-public events and what if I want users to have the possibility to add and edit events on their mobile. Even if this is possible with displays, I would have to do a lot of user-right-logic within the code of the display - or not?
So - for me it seems to be easier to use the calendar itself with all its possibilities and change it via css and other techniks to look good on mobile.
But in order to do this, it would be great to know for sure, what happens, when luxcal recognises a mobile user agent.

Thanks again and greetings!

3

The displays are optimized for mobiles. You could have a link on your mobile - no need to install an app. This way you can have the calendar in your pocket.
I have another example for a display here : http://www.bramminginfo.dk/kalmus/display1kommende.php

The images are made clickable. This is a great way to present data from the calendar.
Try some of the links on a mobile.

Hope you are inspired by this.

2

Hello Stefan

It is not certain, that the calendars linked to, is the most up-to-date.
In the navigation bar, many of the buttons are now put in a hamburger-menu.


If you want to see the calendar used as example, you could use this link : http://www.luxsoft.eu/luxcal/

If you want to administer the calendar it could be done from a mobile, but the best here will be to use a tablet or a desktop.

The best way to present the calendar on a mobile device, is to use one of the displays.

You can see the same calendar in a display here : http://www.luxsoft.eu/luxcal/display1.php
And another here : http://www.luxsoft.eu/luxcal/display2.php

1

Hey, I tried some calendars linked under  "Show off" in this forum. But they don't really look good on really small devices.
So I would like to know, what really is changed, when the user agent function detects a mobile device - and perhaps in which files I can find these changings.
Would be great! Thanks

   Stefan