Changes

Jump to: navigation, search

SSlogic

528 bytes added, 17:34, 2 June 2009
no edit summary
* You can include more than one condition:
<pre>
<!--@sslogic('@year@'='2008' AND ('@month@'='1' OR '@month@'='2')-->
</pre>
* SSlogic can be used to display fields that may have a single quote stored within them.
* The escape[] function is used to achieve this:
<pre>
<!--@sslogic('escape[$1137762$]'!='')-->
</pre>
* SSlogic can be used to determine which pdf file is appended to the Web Page View.
* The following example will attach ''myfilefooter.pdf'' if the type/Template is Contract, and ''myotherfilefooter.pdf'' if not:
<pre>
<!--@sslogic(‘@type@’=’contact’’Contract’) -->
<!--@ssattach(after;/files/1234/123/myfilefooter.pdf )-->
<!--@else-->
<!--@end-->
</pre>
* Note: ssattach can be used without sslogic if you want the same pdf file attached to the Web Page View in all cases.
==See Also==
0
edits

Navigation menu