- b2evolution CMS User Manual
- Back-office Reference
- Collections
- Contents
- Short Tags Reference
- [subscribe:] Short Tag
[subscribe:] Short Tag
Built-in Feature
This short tag allows logged-in Users to subscribe to an Email List. If they are already subscribed, the button toggles to allows to unsubscribe.
This uses the Newsletter/Email List Subscription Widget.
If user is not logged-in, this will display nothing. You may use it in conjunction with the Short Tag.
Form is loading...
Note:
[subscribe:]
renders a widget "Newsletter/Email List Subscription Widget" (<div class="evo_widget widget widget_core_newsletter_subscription">...</div>
) and cannot appear inside a paragraph. (b2evolution will automatically move it out of the paragraph).Syntax Breakdown
[subscribe:
List ID [ /
User Tag] [ :
Subscribe Button Text ] [ :
Already Subscribed Button Text ] ]
- List ID: ID of the email list where users will be subscribed to.
- User Tag: optional tag to assign to users that have subscribed.
- Subscribe Button Text: text to display when current user is not yet subscribed to the email list. Default value:
Subscribe Now!
- Already Subscribed Button Text: text to display when current user is already subscribed to the email list. Default value:
Subscribed
Samples
[subscribe:1]
[subscribe:1/Subscriber:Subscribe NOW!:Unsubscribe]
[subscribe:2:Click here to subscribe:Unsubscribe]