by Jim » Mon Aug 20, 2012 1:21 pm
Yes, for a page to recognize any ShopSite template tags it must be a ShopSite template.
Depending on how much you want to be able to modify the page with data from your store you could make it very simple or quite complex.
If there is only one or two things on the page you want to be changed based on your store data you could basically put your entire html in the template like this
[-- DEFINE PAGE --]
all your html for the page goes here.
[-- END_DEFINE PAGE --]
Then where ever you want your data from the store placed, you just use the template tag that outputs that data.
Note this will work fine for a single page like your index.html page but if you want to use the same template for other pages you would need to add template tags to insert the page data for each individual page that you use the template on.
This is a good starting point for developing a template. Since you already have your page laid out you could just define blocks where you want specific type of information and replace that with the template tags to display that information.
For example you have a header across the top, put that info in the Preferences > Layout Settings > Header section and use the template tag [-- header --] to replace the information in the template. Next you have some navigation (List Your Seminar, Home, About NCS, Contact us. You could use the navigation setup under Preferences >Navigation to create the navigation and then in the template use the [-- PageMenu {CSS, no_jscript} --] template tag to display it. Then just continue breaking the page out into parts, left column contains an image, some text, search forms, Center top section contains list of products, center bottom on index.html contains search and featured products (Cross-sell) , Other pages contain search results or detail product info.
Taking an existing page apart and creating a template from it isn't really too hard to do once you get the hang of what a template is.