4,401
edits
Changes
→SSlogic escape[] function
The current usage of sslogic to test if a field is empty < !--@sslogic('$1137762$'!='')-->
The new escape function: < !--@sslogic('escape[$1137762$]'!='')--> ==SSlogic Interpreter== The interpreter/processor can display or remove content based on user-defined logic. '''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--> '''Sample Code:'''<pre> A. display a xmas tree <!--@sslogic(month(now())=12)--> <img src='images/xmasstree.jpg'> <!--@end--> B. display a different message based on customfield <!--@sslogic('@sex@'='M')--> You are a guy. <!--@else--> You are a girl. <!--@end--> </pre>
== Retrieving Custom Field History ==