|
<<prev |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
next>>
RealCart [Tags] 101 - Snippit Tags
How Snippit Tags Work
Snippits can be loaded with a special kind of tag. The tag looks like this:
[JavaScript_File:js-footer.snp]
The snippit tag above will attempt to load a file called js-footer.snp from the current theme folder. If RealCart cannot find this file there it will look in the common folder.
If RealCart successfully finds this snippit in the common folder (which it should) it will import the following code into your RealCart store pages.
<!-- The code that follows can be found in the file called js-footer.snp v2.0.6.1
This is the default snippit located in "[Settings_AppDir]\Templates\Common" folder
begin file js-footer.snp - - - - - - - - - - - - -->
<br>
<nobr>[<a href="catalog.html"><< Store Entrance</a>]</nobr><!-- [DepartmentDescLoop_Begin>DepartmentID=$DepartmentID] -->
[<a href="[DepartmentDesc_DepartmentDesc|^:_~].html" target="_self">[DepartmentDesc_DepartmentDesc]</a>]
<!-- [DepartmentDescLoop_End] -->[UserField_PayPalPlugIn:paypallink.snp] <nobr>[<a href="pay.html">Checkout >></a>]</nobr>
<br>
<!-- end file js-footer.snp - - - - - - - - - - - -->
You will notice that towards the bottom of the js-footer.snp file there is a reference to another snippit file. The paypallink.snp snippit file is loaded by the js-footer.snp. More about snippits in another course.
<<prev |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
next>>
|