Error: Missing argument 1 for xeventtable::dbinsert(), called in /var/www/html/drago.hu/test/assets/snippets/xeventtable/xeventtable.php on line 244 and defined Error type/ Nr.: Warning - 2 File: /var/www/html/drago.hu/test/assets/snippets/xeventtable/xeventtable.class.inc.php Line: 323 Line 323 source: function dbinsert($row, $table = 'default') {
if ($xet->xetconfig['canedit'] == '1'){ if (($_POST['saveevent']) || ($_POST['savexet']) || ($_POST['dbsave'])){ $xet->savexet(); } if ($_POST['makeevents']) { $xet->makeevents(); } if ($_POST['dbinsert']) { $xet->dbinsert(); } }
if ($xet->xetconfig['canedit'] == '1'){ if (($_POST['saveevent']) || ($_POST['savexet']) || ($_POST['dbsave'])|| ($_POST['dbinsert'])){ $xet->savexet(); } if ($_POST['makeevents']) { $xet->makeevents(); } }
Can I use this snippet for my problem: http://modxcms.com/forums/index.php/topic,29167.0.html ?
I am looking for a calendar where clients can book a timeblock (pre-defined) and that it is able to select how many places there are inside that timeblock (for example: at 10.00 there are 4 dentists available to book)
Thanks for that!
Loving this snippet. Still trying to get into however!
To help others, a slight correction on your setup instructions
The suggested snippet call for the edit page seemed wrong, think it should be:
[!Xett? &service=`edittime` &config_path=`config`&project_path=`fewo` &includes_path=`edittime/dbincludes`!]
I will upload my next version soon with an example for this. what do you plan exactly to do? can you post some details?
Is there a way to have something like the long calendar example, but only with a week at a time rather than a month at a time? - how would I go about doing that
Not sure to understand you right. you want navigation-links in your week-calendar for next week, prev week, perhaps next month, prev month. And you want the next 6 months to click directly, where now are the 12 next months?
Also, what dictates the overall date span? If I only wanted the calendar only to have a ’next month’ option for say 6 months in advance, is this easy to set?