5.3.24. If Login
Purpose:
Depending on the given condition, it runs the first, the second list of instructions or neither of them. If the login event did not occur, neither of the instructions list will be run. (This implies a certain order to be followed; that is, the template containing If Login must follow a template containing Login). It may be used anywhere in the template. It is used to describe the subscription result.
Syntax:
If [not] Login <condition>
<list_of_instructions>
[Else [<list_of_instructions>]]
EndIf [Login]
where
<condition> = ok | error | action
ok: the if condition is true if login action was taken and its result is success
error: the if condition is true if login action was taken and its result is error
action: the if condition is true if login action was taken
The list of instructions may contain any instruction allowed in current context. If it is used inside a list it must respect the constraints of the list (List Issue, List Section, List Article, List Subtitle, List SearchResult).
Constraints:
Cannot be used inside Login-EndLogin statement.
add a note
User Contributed Notes
5.3.24. If Login
There are no user contributed notes for this page.