repeat an event every 26 days

Asked by christoph

Is it possibele to repeat an event every 26 day´s? I need this very special option to create an emergency service calendar..
(Xibo 1.0.6 Server and Xibo 1.0.7 Client)
Cheers
Christoph

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Garner
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

The current repeat scheduling goes up to 14 days - so the short answer is no.

The long answer is that I don't know what the limitation is there. It may be possible for you to tweak the code to add in a 26 to that list. I'm not sure where in the code to begin looking though.

Dan will know better than I do.

Alex

Revision history for this message
christoph (cbannert) said :
#2

Thanks Alex,
not a gerneral - no - sounds fine. So do you have an idea where to start looking and how to get this running on my server afterwards?

Christoph

Revision history for this message
Alex Harrington (alexharrington) said :
#3

I don't - no.

Dan will do.

Revision history for this message
Best Dan Garner (dangarner) said :
#4

You will need to edit lib/pages/schedule.class.php and change:

Line 281:
add ,26|26 to the list, better yet if you fancy changing it to an input box...

To be honest I am not sure why it is not an input box anyway... provided it gets validated as a number on lines 1160 and 1296.

This code has all changed in 1.1 series so I will add a bug to suggest that we alter it to an input box.

Cheers

Revision history for this message
christoph (cbannert) said :
#5

Hallo Dan,
thanks a lot - that works fine for me - i just tried it out.
An input box is a good option as well, but with the 1.0.6 Version "modified" i am happy.

Cheers
Christoph

Revision history for this message
Dan Garner (dangarner) said :
#6

Great, glad that worked for you!