Changes

Web Page View Field Variables

480 bytes removed, 17:36, 2 June 2009
SSlogic Interpreter
The interpreter/processor can display or remove content based on user-defined logic.
Syntax:
<pre>
 
Syntax
 
Simple Logic
 
<!--@sslogic(condition)-->
  the content to be displayed when condition is true 
<!--@end-->
 
 
Else Logic
 
<!--@sslogic('condition')-->
 
the content to be displayed when condition is true
 
<!--@else-->
 
the content to be displayed when condition is NOT true
 
<!--@end-->
 
 
Multiple Condition Logic
 
<!--@sslogic('condition' AND ('condition' OR 'condition' OR 'condition'))-->
 
the content to be displayed when condition is true
 
<!--@end-->
 
 
Sample Code:
 
 
A. display a xmas tree
 
<!--@sslogic(month(now())=12)-->
 
<img src='images/xmasstree.jpg'>
 
<!--@end-->
 
 
</pre>
See [[SSlogic|See here]] for further examplesmore information.
== Retrieving Custom Field History ==
0
edits