|
<<prev |
1 |
2 |
3 |
4 |
5 |
6 |
next>>
RealCart Tag Syntax - Modifying your first template
Making your change
First lets do something very easy. On the line that reads:
This is your first template modification assignment.
lets change it to say:
This is your first template modification assignment, [Projects_Company]
The square tag [Projects_Company] contains your company name as entered in your database. Minimize notepad and bring your RealCart window back up (if minimized) and click the rebuild page button. You will notice that the page now shows your company name at the end of the second line of text.
Fig. 5. The catalog page re-parsed.
Snippits
Snippits can be very useful. The bottom of our experimental catalog.html template has the code:
[JavaScript_File:js-footer.snp]
Once this code has been parsed by RealCart it displays something similar to this:
[<< Store Entrance]
[Shopping Carts]
[Additional Stores]
[Upgrades]
[Tech Support]
[Checkout >>]
These snippits can contain a variety of things. JavaScripts, Flash files, mp3s or anything else you want to add to your pages. In the example above the js-footer.snp snippit file contains the code necessary to display all of your department links as it did with ours above.
<<prev |
1 |
2 |
3 |
4 |
5 |
6 |
next>>
|