> Main > Products and Services > Purchase > Company
English / Russian


CNCat 4.3.2 User Manual

© "CN-Software" Ltd. 2002-2009
Previous | Table of Contents  | Next


Format 1: {IF condition} HTML-code {ENDIF}

Format 2: {IF condition} HTML-code {ELSE} HTML-code {ENDIF}


{IF $CNCAT[page][cat_item_count]>0}






In this example the following condition is checked: if a number of links on a page is more than 0 then the number should be displayed; otherwise a message notifying about links absence should be displayed.

It is possible to use variables and constants in conditions (a number of a line in single inverted commas).

The following operators are supported:

== != > < >= <= || && %  + - * /

Function calls are supported (see below).

Brackets are not supported.

Previous | Table of Contents  | Next