<we:ifRegisteredUser>
Since version: - | Requires endtag: yes | Required modules: customer
Description
Content enclosed by this tag is only visible if the customer is logged in.
Attributes
permission
Default value: - | since version: - | required: no
Set this attribute to a field within the Customer Management Module that is used to control content. This attribute allows you to restrict access to all or some of the information available to already-registered customers. You may wish to use this if, for example, a customer has registered, but he or she has not yet sent a confirmation mail. The corresponding field with the condition is created within the Customer Management Module. If its value is "0", the content will not be displayed even if the user is registered. If its value is "1", the content will be displayed.
match
Default value: - | since version: - | required: no
Set this attribute to the name of a field to test.
userid
Default value: - | since version: 4.0 | required: no
Setting this attribute to a comma seperated list of the customer ids will only allow these customers to see the content enclosed by this tag.
cfilter
Default value: false | since version: 5.1.0.0 | required: no
This attribut decides, whether the customer filters on this document/ object are considered.
Allowed values:
- true
- false
Syntax
<we:ifRegisteredUser [permission="attribute"] [match="attribute"] [userid="attribute"] [cfilter="true|false"]> ... </we:ifRegisteredUser>