Skip to content

Instantly share code, notes, and snippets.

@sjenkinsdc
Created October 21, 2013 16:19
Show Gist options
  • Save sjenkinsdc/7086595 to your computer and use it in GitHub Desktop.
Save sjenkinsdc/7086595 to your computer and use it in GitHub Desktop.
SAXOTECH/NEWSCYCLE Sample template to demonstrate passing variables to a $S script.
[%{HTMLComments}
<!--
// ==========================================================================================
// File: objects/scripttest/newsItem100.pbo
// Desc: test to help pass vars via $S
// Author: stacey jenkins
// Date: 10/14/2013
// Mods:
// ==========================================================================================
-->
%]
<div style="margin:10px 0;padding:10px;font-family:sans-serif;font-size:14px;color:#333;background:#efefef;border:1px solid #ccc">
<strong>Vars from object file:</strong><br>
substrlen: <%tagparamSubstrlen%><br>
substrlen2: <%tagparamSubstrlen2%><br>
counter: <%counter%></br>
<br><strong>Vars from script:</strong>
<br><%counter$S("scripttest/scripttest3.php5")%>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment