<we:ifNotRegisteredUser>
Since version: - | Requires endtag: yes | Required modules: customer
Description
Content enclosed by this tag is displayed only if the user is not logged in.
Specific
This tag is only available if the Customer Management Module is installed and if the page is dynamic.
Attributes
permission
Default value: - | since version: - | required: no
Set this attribute to a fieldname from the customer management. The conditional check for this attribute enables you to keep registered customers from parts or the complete information on the page. This might come in handy if e.g. a customer is already registered but has not yet sent the confirmation email. The corresponding field with the condidtion is created within the customer management module. If the field is named "registered", the syntax in the tag is <we:ifNotRegisteredUser permission="registered". If the value is "0" (or "-1" or ""), it is assessed as false (no permission to view the contents), else as true (allowed to view). We suggest using "0" for false and "1" for true.
match
Default value: - | since version: - | required: no
Set this attribute to the name of a field to test.
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:ifNotRegisteredUser [permission="attribute"] [match="attribute"] [cfilter="true|false"]> ... </we:ifNotRegisteredUser>