I have made some adaptions within scheduler include, also some fields should be shown only for special users.
Therefore I changed scheduler_include.html to scheduler_include.php, but I can’t find a way to retreive the current user id. All the standard wordpress functions don’t work inside this file.
Does anyone know how to fix this or has a workaround? That would be great!
Hi,
code inside scheduler_include.html is included in scheduler’s code as is, so php code inside this file will be added at page just as a text.
You should locate php-logic inside dhtmlxSchedulerConfigurator.php.
Hi,
have a look at file dhtmlxSchedulerConfigurator.php. It has a method schedulerInit which generates code of scheduler.
Scheduler code is added into variable $scheduler. User id is in variable $this->userid.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan