|
dolibarr 23.0.3
|
Example of form to add a new member. More...
Go to the source code of this file.
Functions | |
| if(getDolGlobalString( 'MAIN_SECURITY_ENABLECAPTCHA_MEMBER')) | force_switch_entity ($newEntity) |
| Force switching conf of entity, even if user is connected Fox example when trying to go on public form of an other entity. | |
| llxHeaderVierge ($title, $head="", $disablejs=0, $disablehead=0, $arrayofjs=[], $arrayofcss=[]) | |
| Show header for new member. | |
| llxFooterVierge () | |
| Show footer for new member. | |
Example of form to add a new member.
Note that you can add following constant to change behaviour of page MEMBER_NEWFORM_AMOUNT Default amount for auto-subscribe form MEMBER_MIN_AMOUNT Minimum amount MEMBER_NEWFORM_PAYONLINE Suggest payment with 'all', 'paypal', 'paybox', 'stripe', ... MEMBER_NEWFORM_DOLIBARRTURNOVER Show field turnover (specific for dolibarr foundation) MEMBER_URL_REDIRECT_SUBSCRIPTION Url to redirect once registration form has been submitted (hidden option, by default we just show a message on same page or redirect to the payment page) MEMBER_NEWFORM_FORCETYPE Force type of member MEMBER_NEWFORM_FORCEMORPHY Force nature of member (mor/phy) MEMBER_NEWFORM_FORCECOUNTRYCODE Force country
Definition in file new.php.
| if(getDolGlobalString('MAIN_SECURITY_ENABLECAPTCHA_MEMBER')) force_switch_entity | ( | $newEntity | ) |
| llxFooterVierge | ( | ) |
Show footer for new member.
Note: also called by functions.lib:recordNotFound
Definition at line 198 of file new.php.
References printCommonFooter().
| llxHeaderVierge | ( | $title, | |
| $head = "", | |||
| $disablejs = 0, | |||
| $disablehead = 0, | |||
| $arrayofjs = [], | |||
| $arrayofcss = [] ) |
Show header for new member.
Note: also called by functions.lib:recordNotFound
| string | $title | Title |
| string | $head | Head array |
| int | $disablejs | More content into html header |
| int | $disablehead | More content into html header |
| string[] | string | $arrayofjs | Array of complementary js files |
| string[] | string | $arrayofcss | Array of complementary css files |
Definition at line 177 of file new.php.
References $mysoc, getDolGlobalString(), htmlPrintOnlineHeader(), and top_htmlhead().