Campsite 2.3 User Guide

Campsite 2.3 User Guide

Select your language:  
    Search:   
<5.3.29. With        5.3.31. If Subtitle>

Print / Download:
Available languages: english Last update: 2005-08-04 13:19:25

5.3.30. If Search

Purpose:

Depending on the given condition, it runs the first or second list of instructions. It may be used anywhere in the template.

Syntax:

If [not] Search <condition>
<list_of_instructions>
[Else [<list_of_instructions>]]
EndIf [Search]

where

<condition> = ok | error | action

  • ok: the if condition is true if search action was taken and its result is success

  • error: the if condition is true if search action was taken and its result is error

  • action: the if condition is true if search action was taken

The list of instructions may contain any instruction allowed in the 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:

None.


add a note add a note User Contributed Notes
5.3.30. If Search
There are no user contributed notes for this page.

<5.3.29. With 5.3.31. If Subtitle>

  Last update: 2005-08-04 13:19:25
Website powered by Docmint Last update: 2005-08-04 13:19:25
Total page time: 0.841423034668