I am generating some errors when I try to validate my sample product page:
It looks phpThumb.php is not handling ampersands properly?
http://hostverde.com/hosting-plans/domain_id_2.html
Errors found while checking this document as XHTML 1.0 Strict!
Result: 6 Errors, 6 warning(s)
http://validator.w3.org/check?uri=http://hostverde.com/hosting-plans/domain_id_2.html;accept=application/xml,application/xhtml%2Bxml,text/html;q%3D0.9,text/plain;q%3D0.8,image/png,*/*;q%3D0.5;accept-language=en-US,en;q%3D0.8;accept-charset=ISO-8859-1,utf-8;q%3D0.7,*;q%3D0.3
Validation Output: 6 Errors
Line 70, Column 227: cannot generate system identifier for general entity "w"
…umb/phpThumb.php?src=../product.png&w=100&f=png" alt="Domain Registration (.c
This is what I have in the relevant part of my template:
<!-- body div class="col1" start -->
<div class="col1">
<!-- Column 1 start -->
<div id="content">
<div id="content-main">
<div id="treasure_cart">
[!TreasureChest? &item=`[*itemId*]`!]
</div>
[*content*]
</div>
</div>
<!-- Column 1 end -->
</div>
<!-- body div class="col1" end -->
In the product page:
[[TreasureChest? &item=`2`]]
<div class="product-wrap">
<div class="product-image">
[+treasure.image.thumb.thickbox+]
</div>
<div class="product-info">
<h3 class="product-name">[+treasure.item_name+]</h3>
<h4 class="product-about">Description</h4>
<p class="product-about">[+description+]</p>
<h4 class="product-ingredients">Information</h4>
[+introtext+]
<h4 class="product-price">Price per year</h4>
<p class="product-price">$ [+treasure.amount+]</p>
<p class="product-add">[+treasure.add+]</p>
</div>
<br class="clear" />
</div>
Click on the validation button in the footer and replicate the errors.
Also I want to properly style the following elements when there are items in the shopping cart at the top of the content area in the middle colums:
View Cart2Empty Cart
The relevant elements are the:
class thickbox tc_view
<span class="tc_cart_view_text">View Cart</span>
<span class="tc_cart_count_"></span>