I try to have the plugin working to have a email/password only on the registration form. Joomla Registration: Remove unneeded fields
I install the plugin correctly with XML below:
<extension version="3.1" type="plugin" group="user">
<name>plg_simple_registration</name>
<description>PLG_SIMPLE_REGISTRATION_XML_DESCRIPTION</description>
<files>
<filename plugin="SimpleRegistration">PlgUserSimpleRegistration.php</filename>
</files>
But, the plugin is enabled in the backend but never launched. -> Is it about the group?
I try the have the form name printed but it never show
class PlgUserSimpleRegistration extends JPlugin
{
function onContentPrepareForm($form, $data)
{
$name = $form->getName();
echo "<h2>Simple Registration" . $name . "</h2>";
I try another plugin 'Regauth' and it works great. I don't see any issue on the SimpleRegistration plugin.