Using existing datatypes
Permalink
Hey!
Is it possible to use the already coded data types in concrete5 on custom single pages? I want to use the calendar plugin and the richtext editor. Are they wrapped into classes which i can use instead of creating a datepicker with html and javascript?
best regards!
Is it possible to use the already coded data types in concrete5 on custom single pages? I want to use the calendar plugin and the richtext editor. Are they wrapped into classes which i can use instead of creating a datepicker with html and javascript?
best regards!
<?php
if ($this->controller->isPost()) {
$cTimeEnd = Loader::helper('form/date_time')->translate('cTimeEnd');
}
echo Loader::helper('form/date_time')->datetime('cTimeEnd', $cTimeEnd);
?>