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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -