1
I've been having a problem using the XoopsFormDateTime and XoopsFormTextDateSelect in a form on a module I'm building. As soon as I put it into a form, the theme becomes slighly corrupted - a white border appears at the edge of the browser, a large border appears around the table and the menu looks wrong. Compare this
http://www.thirdsectordesign.org/xoops_problem/right.jpg with this
http://www.thirdsectordesign.org/xoops_problem/wrong.jpgThe code I'm using to general the form is
Quote:
$org_search_list_form = new XoopsSimpleForm(_MD_NIGIDB_ORG_SEARCH_CRIT, 'org_search_list_form', 'org_search_list.php', 'GET');
$org_search_list_form->addElement(new XoopsFormTextDateSelect('caption', 'datetime', 15, 0));
$org_search_list_form->assign($xoopsTpl);
And my template looks like this (excuse the uninentionally rendered html)
Quote:
I've noticed that the problem disappears when I copy the source code of the displayed page into a new html document and delete the Javascript at the top.
I'd be really grateful to know what I am doing wrong and / or why this is happening. I'm running XOOPS 2.0.13 on a localhost.
Thanks,
Michael
PS. I'll be releasing the module - a database for voluntary sector infrastructure organisations - when it is presentable, as it a limited number of people should find it useful.