Thursday, July 10, 2008, 12:43:09 AM, Vince Administration wrote:

> But is there a reasonable way to use a custom form for new users?
> I guess by reasonable I mean without writing the php code.  I see  
> that there are a lot of SDV's, so that it might be possible to  
> customize.

you find in the script a section starting with
  SDV($HtpasswordForms['user']
and another with
  SDV($HtpasswordForms['new']

you can see that each defines a PmWiki form, using PmWiki input
markup etc. which may be familiar with. The \n simple create line
breaks for conveniance.

Both are set as SDVs, so you can define your own in config.php,
before including the script:

$HtpasswordForms['user'] = "

.....your PmWiki user form markup.....

";

$HtpasswordForms['new'] = "

.....your PmWiki new user form markup.....

";

Make sure you got all the field elements in it, and add what you need.
Use normal wiki markup. Use \n only for convenient linebreaks (it is
used to make the code look a bit more compact). No other php
necessary.

Hope that helps!


  ~Hans


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to