by Jim » Fri May 06, 2011 9:08 am
The way the template is coded you need to have a link graphic before the Link text will be used. Here is the code:
[--DEFINE LINK_TO_PAGE--]
<a href="[-- OUTPUT_DIRECTORY_URL --]/[-- PAGE.FileName --]">[-- IF PAGE.LinkGraphic --][-- PAGE.LinkGraphic --]<br>[-- END_IF --]
[-- IF PAGE.LinkText --][-- PAGE.LinkText --]<br>[-- END_IF --]
[-- IF PAGE.LinkGraphic --][-- IF PAGE.LinkName --][-- PAGE.LinkName --][-- END_IF --][-- ELSE --][-- PAGE.Name --][-- END_IF --]</a>
[--END_DEFINE LINK_TO_PAGE--]
There are 2 ways you could get around the problem.
1. Create a single pixel image and assign that to all the pages for the link graphic.
2. Make a copy of the ShopSite Congruence.sst and edit the [-- DEFINE LINK_TO_PAGE --] to be as follows.
Using this coding If there is an image it would be displayed. If there is LinkText but no image it would display. If there is a LinkName but no image or linktext the LinkText will display. If there is no image, linktext or linkname then the page name will display.
If you want multiple things to display like the Image and LinkName you could modify the statements to make that happen.
When you make a copy of the template, using the Copy ShopSite template button, you must give the copy a different name. Once you have made the copy edit it and make the changes. Then you can either change all your pages to use the new template name or you could use the Copy Template button and give it the same name as the original ShopSite template. If you give it the same name it will override the ShopSite template so you don't need to change any of your page template assignements. However, if ShopSite ever updates their template to include new features you would not see them because your template would still override any ShopSite changes.