Template Error Codes

General ShopSite user discussion

Template Error Codes

Postby kastlebrick » Sat May 29, 2010 12:22 pm

I received a bunch of error codes

Code: Select all
VolcanoTemplate.sst [1051]: Template Error: Page tag illegal for this type of template

I take it this was because of a log in /java?

Code: Select all
VolcanoTemplate.sst [1102]: Template Error: Page tag illegal for this type of template

and this was because of the shopping cart?


Code: Select all
VolcanoTemplate.sst [1021]: Template Error: Page tag illegal for this type of template

..this because of the search


Code: Select all
VolcanoTemplate.sst [989]: Template Error: Page tag illegal for this type of template

..for external links?


Code: Select all
VolcanoTemplate.sst [976]: Template Error: Page tag illegal for this type of template

this?


I stopped removing things at "this" point, and left them all in to show you. Can I keep these things on the product page, does it hurt? ..are there any solutions, or do I have to delete a bunch of stuff? ..and what else is shopsite have an issue with on my product page?

http://volcanodeluxe.com/store/product16.html

P.s... I am having a problem getting rid of the transparent strips on my shopping cart button, what am I missing?


~thanks,
Kastlebrick
kastlebrick
 
Posts: 25
Joined: Tue May 18, 2010 3:18 pm
Location: the WB

Postby Jim » Sat May 29, 2010 6:57 pm

Any page tag (i.e page.xx ) will give an error if it is in a product template, shopping cart, search etc. So you need to remove them because they won't be doing any good and could mess up other things in the layout.

I see some <!-- DISPLAY_TAG NOT DEFINED --> in the colors of your styles. I assume that you may have used a page.color field for those. Since this is a product moreinformation page you need to use the setting on Preferences > More Info Pages to set those colors and you need to use the tags [-- MORE_INFO.xx --] tags defined at the bottom of this help page http://shopsite.com/help/10.1/en-US/tem ... oduct.html
Note that this will probably require that you different style sheets for Pages, Products, Search, Shopping cart etc


http://shopsite.com/help/10.1/en-US/sc/pro/index.htm
gives a list of template tags. If you look at the various sections you can see which tags are valid in the different types of templates.

I also see on the page you gave the link to that there is missing data
<!-- Empty field [MoreInformationText] --> So you must not have the moreinformation text field filled in for this product. That isn't a big deal unless you have something that you want to let the shopper to know about the product.

I don't under stand what you mean by "{P.s... I am having a problem getting rid of the transparent strips on my shopping cart button, what am I missing? " Where is this button located? Is this the Tiki Cart button above the Home and Back buttons?
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby kastlebrick » Sat Jun 05, 2010 2:15 pm

Jim wrote:I don't under stand what you mean by "{P.s... I am having a problem getting rid of the transparent strips on my shopping cart button, what am I missing? " Where is this button located? Is this the Tiki Cart button above the Home and Back buttons?


sorry for the delay, I did mean the Tiki Cart button. If you'll notice there is a border, and a background color(grey / #BBBBBB) ..it doesn't fill in all the way, there are strips on the side where you can see through.

the td.color_1_content ,,,background image doesn't seem to work either so I added the color instead to try an fill it in
Kastlebrick
kastlebrick
 
Posts: 25
Joined: Tue May 18, 2010 3:18 pm
Location: the WB

Postby kastlebrick » Sat Jun 05, 2010 2:16 pm

P.s....

I am working on the other issues
Kastlebrick
kastlebrick
 
Posts: 25
Joined: Tue May 18, 2010 3:18 pm
Location: the WB

Postby Jim » Sat Jun 05, 2010 9:57 pm

I haven't checked the code closely but it looks like you have a padding issue on one of the elements in the table that is making it smaller so the background shows through.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby kastlebrick » Wed Jun 09, 2010 6:10 am

K, I fixed the error with the [-- page.field2 --] and replaced it with [-- product.field1 --] I'm no longer getting an error message. I had cut and pasted stuff from my page template.


..I still haven't found out what is causing the tiki cart problem

it looks like you have a padding issue on one of the elements in the table that is making it smaller so the background shows through.


I'll keep looking but everything I've tried has fail, guess I don't know enough about css/html.. I'm lost:p

if you have time to here's the link http://volcanodeluxe.com/store/ ..I'll be working on this today, thanks again Jim!!
Kastlebrick
kastlebrick
 
Posts: 25
Joined: Tue May 18, 2010 3:18 pm
Location: the WB

Postby Jim » Wed Jun 09, 2010 8:00 am

The image is in a table within another table.
Code: Select all
<table class="mini_cart">
    <tr class="color_1_row_1">
      <td class="color_1_1a"></td>
      <td class="color_1_1b"></td>
      <td class="color_1_1c"></td>
    </tr>
    <tr class="color_1_row_2">

      <td class="color_1_2a"></td>
      <td class="menu_bar_content"><table class="menu">
        <tr>
          <td class="Menu_minicart"><a class="link_name" href="http://shopsite.dot5hosting.com/ss10.0/sc/order.cgi?storeid=*20fc7752cf02364bafff0c1a7e6b9be9a684&function=show"><img class="link_image" align="center" src="http://volcanodeluxe.com/store/images/buttons/tikicartt.png" width="80" height="70" border="2"  alt="view cart"></a></td>
        </tr>
      </table></td>
      <td class="color_1_2c"></td>
    </tr>
    <tr class="color_1_row_3">

      <td class="color_1_3a"></td>
      <td class="color_1_3b"></td>
      <td class="color_1_3c"></td>
    </tr>
  </table>
Padding values can be added to tables and I think there is probably a default of a few pixels. So try adding a padding=0 to the table(s) tag and see if that fixes the issue.

A very helpful source on html is at http://www.w3schools.com/html/ they have many examples and a Try it yourself section on most where you can modify their sample code and see how it changes things. http://www.w3schools.com/html/tryit.asp ... ellpadding is the link to the sample padding example.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 93 guests