Plugin Subscribe Newsletter

Introduced in Tiki5

Use this wiki plugin to allow a user to subscribe directly to a newsletter (without having to choose the newsletter). If the user is not subscribed to the newsletter a button will appear, otherwise nothing will appear.

To use this module you need to be sure the newsletter feature is activated. Also the plugin xxx is not activated by default and you need to enable it in the xxx panel at xxxx.

For anonymous or a group to see the Subscribe Newsletter module you need to check and assign permission (none by default) for "Can subscribe any email address to newsletters (tiki_p_subscribe_email)".

Parameters

Allow users to subscribe to a newsletter
Introduced in Tiki 5. Required parameters are in bold.
Go to the source code
Preferences required: feature_newsletters, wikiplugin_subscribenewsletter

Parameters Accepted Values Description Default Since
(body of plugin) Invitation message
nlId digits Identification number of the Newsletter that you want to allow the users to subscribe to 5.0
button wikicontent Button label. The plugin body is then the confirmation message 5.0
thanks wikicontent Confirmation message after posting form. The plugin body is then the button label. 5.0
inmodule (blank)
y
n
Display the newsletter subscription form in module view (if included in a Tiki module) n 19.0
usecaptcha 1
0
Captcha verification for anonymous visitors (yes by default). Turning off this option may lead to have this newsletter list filled by Spambot 1 22.0
wikisyntax (blank)
1
0
Choose whether the output should be parsed as wiki syntax 0 6.0

Sample

Copy to clipboard
{SUBSCRIBENEWSLETTER(nlId="1" thanks="Thank you for subscribing" button="Subscribe" wikisyntax="1" inmodule="y")}!!Newsletter Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium adipisci dolores earum eos labore laudantium modi, nam possimus sit vero! {SUBSCRIBENEWSLETTER}