Campsite 2.3 User Guide

Campsite 2.3 User Guide

Select your language:  
    Search:   
<5.3.23. If Subscription        5.3.25. If User>

Print / Download:
Available languages: english Last update: 2005-08-04 13:18:17

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 add a note User Contributed Notes
5.3.24. If Login
There are no user contributed notes for this page.

<5.3.23. If Subscription 5.3.25. If User>

  Last update: 2005-08-04 13:18:17
Website powered by Docmint Last update: 2005-08-04 13:18:17
Total page time: 1.06398391724