Amazingly, I was able to take care of 28 of 29 validation errors. The final one seems to be Cherry Zen related but I'm having a difficult time tracking down the source of the problem. Here is the error as listed:
Searching on the error itself brought me to this post by1. Error Line 35, Column 296: value of attribute "type" cannot be "search"; must be one of "text", "password", "checkbox", "radio", "submit", "reset", "file", "hidden", "image", "button".
…tion" value="1" /><input type="search" name="keyword" id="searchTop" size="20
The value of the attribute is defined to be one of a list of possible values but in the document it contained something that is not allowed for that type of attribute. For instance, the “selected” attribute must be either minimized as “selected” or spelled out in full as “selected="selected"”; a value like “selected="true"” is not allowed.
Kuroi. It seems as though I need to change type="search" to type="text". However, I can't find where I need to make that change.I'm getting a negative return for type="search" in the Developers Tool Kit.
Can one of you folks point me in the right direction? Thanks!!
The error causes no site issues, it is ok to have it. It is type="search" so that in Safari it has the rounded search box. Change it to text, and it will be a square box in safari. Up to you.
You can change it in includes/functions/extra_functions/search_field_header.php
hi jettrue,
do you know how to add a shopping cart image and item count to the header? I put the code below in the tpl_header, but it doesn't show...
thanks.Code:<li>My Cart: <span class="style1"> <?php echo sizeof($_SESSION['cart']->get_products()); ?> items <?php $header_cart = $currencies->format($_SESSION['cart']->show_total()); echo $header_cart; ?> </span> <br class="clearBoth" /> </li>
New to Zen Cart and am massively impressed with all your templates (especially cherry and apple zen)
Have searched the thread and cannot for the life of me find the answer to my problem..
If I enable search_header.php then nothing shows anywhere on the site except what looks like the top header bar in red but no other text, buttons, categories, etc.
I have tried a complete new install of Zen Cart and template but to no avail...
(MySQL database on a Linux server if it makes a difference)
sorry for being so newbie and cluless!