php - Custom User Fields in MODx Evolution 1.0- OnWUsrFormRender -
i'm trying add custom user fields web users manager area in modx evolution 1.0 via custom plugin. i'm in stages , can't 'onwusrformrender' hook anything. ideas?
here's test plugin code:
<?php $e = &$modx->event; switch($e->name){ case "onwusrformrender": $fields = ' test info: <input type="text" name="test"/> '; $e->output($fields); //this doesn't show echo 'testing'; //this doesn't show break; } ?>
(ps- i've tried webuserpe , ppp, neither of them situation...)
you must not include
<?php ?>
tags in plugins besides code works fine.
Comments
Post a Comment