by ShopSite Lauren » Tue Mar 29, 2011 4:45 pm
Are you setting up custom templates or using the built in templates? If you are using custom templates, then you can setup the Loop Link feature in your page template to loop the pages assigned to a page in the middle of the page. The template tags would be similar to the following (this is a basic setup).
Above the [--DEFINE PAGE --] tag, you would add the following:
[-- DEFINE LINK_TO_PAGE --]
[-- IF PAGE.LinkGraphic --]
<a href="[-- OUTPUT_DIRECTORY_URL --]/[-- PAGE.FileName --]">[-- PAGE.LinkGraphic --]</a><br>
[-- END_IF --]
[-- IF PAGE.LinkName --]
<a href="[-- OUTPUT_DIRECTORY_URL --]/[-- PAGE.FileName --]">[-- PAGE.LinkName --]</a>
[-- ELSE --]
<a href="[-- OUTPUT_DIRECTORY_URL --]/[-- PAGE.FileName --]">[-- PAGE.Name REMOVE_HTML --]</a>
[-- END_IF --]
[-- END_DEFINE LINK_TO_PAGE --]
Then in the main body of your page where you want the subcategories to appear you would add the following code to your template:
[-- IF PAGE.NumLinks "0" --]
[-- ELSE --]
<table cellpadding="10" cellspacing="0" border="0" width="100%">
[-- LOOP LINKS Page.Columns --]
<td align="center">[-- LINK --]</td>
[-- END_LOOP LINKS --]
</table>
[-- END_IF --]
If you are not creating custom templates, and you are using a built in ShopSite template, then the loop links feature will put links in the side navigation. However, there is one ShopSite built in template that places subcategories in the main body of the page. If you are using any of the following themes, Bar Navigation, Line Sections, Business Casual, Spotlight or Solid Block, then you can go to your parent category page > Edit Page Layout, and select the Multi-Use-Page.sst template as your page template. This will place the page links assigned to a page in the main body of the page.
For assigning the subcategories to a page you would go to Pages > Click on your parent category (in the example you gave you would click on "toys") then click on "Assign Items" > "Page" > "Proceed," and assign the subcategories to your parent category.
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.