Skip to forum content

LuxCal Web Calendar

The place for news, questions and suggestions

You are not logged in. Please login or register.


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)

2

Hi there,
You are testing the limits of the LuxCal calendar. Great wink
And yes, you found a (kind of) bug. It is currently not possible to have the values 1 and 11 in the same "View buttons on navigation bar" list.
Note: All specified values must also be present in the option "Available calendar views" (which is just above).

When you edit the file pages/settings.php and change line 30 from . . .

if (substr_count($buttons.',',$buttonNr.',') > 1 or strpos($range.',',$buttonNr.',') === false) { return false; }

to . . .

if (substr_count(','.$buttons.',',','.$buttonNr.',') > 1 or strpos($range.',',$buttonNr.',') === false) { return false; }

It should work fine.

I will change this for the next calendar version.
Roel

1

In Settings, the option View buttons on navigation bar:
If you put 1,2,3,4,5,6,7,8,9,10,11
You will get a error: missing or invalid settings (background highlighted)
when you save, that field only accepts upto 8, anything after that error shows.