Skip to content

Instantly share code, notes, and snippets.

View sjenkinsdc's full-sized avatar

Stacey Jenkins sjenkinsdc

View GitHub Profile
@sjenkinsdc
sjenkinsdc / newsItem100.pbo
Created October 21, 2013 16:19
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:
// ==========================================================================================
-->
@sjenkinsdc
sjenkinsdc / news100.pbo
Created October 21, 2013 16:18
SAXOTECH/NEWSCYCLE Sample template to demonstrate passing variables to a $S script.
[%{HTMLComments}
<!--
// ==========================================================================================
// File: objects/scripttest/news100.pbo
// Desc: test to help pass vars via $S
// Author: stacey jenkins stacey@staceyjenkins.com
// Date: 10/14/2013
// Mods:
// ==========================================================================================
-->
@sjenkinsdc
sjenkinsdc / scripttest3_ovr.pbs
Last active December 26, 2015 03:29
SAXOTECH/NEWSCYCLE Sample template to demonstrate passing variables to a $S script.
<pbs:newslist categories="blog" days=100 objectclass="100" useobjects="1" substrlen="500" substrlen2="600">
@sjenkinsdc
sjenkinsdc / scripttest2.php5
Created October 21, 2013 16:11
SAXOTECH/NEWSCYCLE Sample template to demonstrate passing variables to a $S script.
// ==========================================================================================
// File: /scripts/scripttest/scripttest2.php5
// Desc: for testing vars
// Author: Stacey Jenkins
// Date: 10/14/2013
//
// ==========================================================================================
$MaxImageWidth = $SOSE->GetVar("MaxImageWidth");
$NoRecordsFoundMessage = $SOSE->GetVar("NoRecordsFoundMessage");
@sjenkinsdc
sjenkinsdc / localdata.ini
Created October 21, 2013 16:10
SAXOTECH/NEWSCYCLE Sample template to demonstrate passing variables to a $S script. https://docs.saxotech.com/display/Onl/Localdata.ini
[STATICVALUES]
MaxImageWidth=200
NoRecordsFoundMessage=No Customers Found
@sjenkinsdc
sjenkinsdc / scripttest.php5
Created October 21, 2013 16:03
SAXOTECH/NEWSCYCLE Sample template to demonstrate passing variables to a $S script
// ==========================================================================================
// File: /scripts/scripttest/scripttest.php5
// Desc: for testing vars
// Author: Stacey Jenkins
// Date: 10/14/2013
//
// ==========================================================================================
$title = $SOSE->GetVar("Title");
$substrlen1 = $SOSE->GetVar("substrlen1");
$substrlen2 = $SOSE->GetVar("substrlen2");
@sjenkinsdc
sjenkinsdc / newsItem99.pbo
Created October 21, 2013 16:00
SAXOTECH/NEWSCYCLE Sample template to demonstrate passing variables to a $S script
[%{HTMLComments}
<!--
// ==========================================================================================
// File: objects/scripttest/newsItem99.pbo
// Desc: test to help pass vars via $S
// Author: stacey jenkins
// Date: 10/14/2013
// Mods:
// ==========================================================================================
-->
@sjenkinsdc
sjenkinsdc / news99.pbo
Created October 21, 2013 15:59
SAXOTECH/NEWSCYCLE Sample template to demonstrate passing variables to a $S script
[%{HTMLComments}
<!--
// ==========================================================================================
// File: objects/scripttest/news99.pbo
// Desc: test to help pass vars via $S
// Author: stacey jenkins
// Date: 10/14/2013
// Mods:
// ==========================================================================================
-->
@sjenkinsdc
sjenkinsdc / scripttest_ovr.pbs
Created October 21, 2013 15:58
SAXOTECH/NEWSCYCLE Sample template to demonstrate passing variables to a $S script
<pbs:newslist categories="blog" days=100 objectclass="99" useobjects="1">
@sjenkinsdc
sjenkinsdc / gist:6832801
Created October 4, 2013 21:08
SAXOTECH/NEWSCYCLE sample links tag item object file
[%{comment=1}
<!--
// ==========================================================================================
// File: /objects/linksItem1.pbo
// Desc: For frontpage categories. Allows them to be controlled via the links module
// Author: Stacey Jenkins
// ==========================================================================================
-->
%]