mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #32723
[Bug 1189823] Re: Pieforms attempts to load renderer plugin even when already loaded
Specifically, you'd need to alter configdirs *and* set the renderer:
$formdef = array(
// ... other form definition stuff
'configdirs' => array(get_config('docroot') . 'path/to/my/plugin/'),
'renderer' => 'fancydiv',
);
$form = pieform($formdef);
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1189823
Title:
Pieforms attempts to load renderer plugin even when already loaded
Status in Mahara:
Incomplete
Status in Mahara 16.04 series:
Incomplete
Bug description:
This prevents plugins from providing their own form renderers (useful
for working around issues like #1181966 -- nested fieldsets are
broken).
I've attached a patch to the Pieforms library which changes the
behaviour a little bit; if the renderer function already exists, we'll
skip the loading process.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1189823/+subscriptions
References