DepSelect error

Archived from the Xataface Users forum.

lhat — Fri Feb 08, 2013 2:49 pm

Hi, Steve–

I’m trying out XF 2.0 Alpha because I’d like to make use of the depselect module, but when I incorporate the depselect tags in my fields.ini, quickform throws an exception:

‘[html_quickform_error: message=”unregistered element” code=-5 mode=return level=notice prefix=”QuickForm Error: “ info=”Element ‘depselect’ does not exist in HTML_QuickForm::_loadElement()”]’

Since I’ve just downloaded the XF2.0 Alpha and installed the depselect files in my xf2/modules directory, I wondered if I’ve omitted something or there’s another tangle?


shannah — Fri Feb 08, 2013 3:30 pm

Did you add the appropriate line to the _modules section of your conf.ini file?
[_modules]
modules_depselect=modules/depselect/depselect.php

Steve


lhat — Fri Feb 08, 2013 3:55 pm

Ah, thanks for the nudge–I had the module line in place, but neglected its staff header ([_modules]); oy!