1
Hello everyone,
I had installed the latest xoops version:2.5.4
I am writing a module and use xoops-built Form object:XoopsFormDateTime
$form = new XoopsThemeForm("news", "edit", $_SERVER['PHP_SELF']);
$dateline = time();
$form->add Element(new XoopsFormDateTime("time", "dateline", 15, $dateline));
and I got the error output:
Fatal error: Call to a member function addScript() on a non-object in PATH:\xoops254\class\xoopsform\formtextdateselect.php on line 52
Where should I fix my code?
and how to replace the calendar icon [...] instead of others?
thank you.