Disabled specific part of the day

Discuss everything related to ApPHP Calendar. All versions. Any questions related to the ApPHP Calendar developing or using should be posted to this forum.

Moderators: ne_moj, zewa

mxrachell
Junior
Junior
Posts: 12
Joined: Jan 7th, '14, 18:16

Disabled specific part of the day

Postby mxrachell » Jul 25th, '16, 16:31

Hi, I was wondering if there is an option where I can block some hours of the day so they can´t get any appoinments in lunch hour.
Thanks in advance.

administrator
Site Admin
Site Admin
Posts: 5928
Joined: Jan 7th, '09, 23:18
Contact:

Re: Disabled specific part of the day

Postby administrator » Jul 28th, '16, 06:04

Currently no, there is no such option.

paragate
Master
Master
Posts: 151
Joined: Nov 13th, '14, 13:04
Location: Denmark, Odense

Re: Disabled specific part of the day

Postby paragate » Aug 31st, '16, 18:08

Maybe if doing some programming yourself
a kind of timeslot table with and id and dates, will do the work,
hereafter it is only to compare dates with the calendar table as in
`<DB_PREFIX>calendar` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`event_id` int(10) unsigned NOT NULL DEFAULT '0',
`event_date` date NOT NULL,
`event_time` time NOT NULL,
`slot` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 - initial, 0 - middle',
`unique_key` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
`notification_sent` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;

just an mnemonic suggestion

paragate
Master
Master
Posts: 151
Joined: Nov 13th, '14, 13:04
Location: Denmark, Odense

Re: Disabled specific part of the day

Postby paragate » Aug 31st, '16, 18:10

With the new event module for apphp cms, it is easy to make your own
modifications the module is written in a mvc structure and easy to read.....


Return to “ApPHP Calendar”