Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Victoria Australia
    Posts
    100
    Plugin Contributions
    0

    Default Can't validate featured products

    Hello all, hope I'm posting in the right place,
    I've been working on validating my site and after a few days I'm really stuck on two things.
    Any page that has featured products (center box?)displaying has a

    " " is not a member of a group specified for any attribute,

    error, the source code of my landing page (that has featured products on it) shows the error here

    <div class="centerBoxContentsFeatured" 98%;">

    I have no idea how the 98% is getting in there.
    On my Canisters category page (with featured products at the bottom) it shows

    <div class="centerBoxContentsFeatured" 100%;">

    same thing different number. If anyone can tell me where this is coming from I would really appreciate it.

    My other reoccurring non-validation is that a couple of tags not being closed.
    A, table, tr, td are all being set (opened) in tpl_header and being closed in tpl_footer.
    In reading the source code I can see that they are being opened and closed, but the validater has it's own ideas.

    I have a separate header for the landing page and another for all the rest. I was able to fix this on the landing page by removing a stray </div> tag, but for the life of me can't figure out where this is coming from on all the other pages. I've repeatedly scoured the tpl_header, done comparisons with win merg on tpl_header and my tpl_main_page_header, and I'm really stuck.
    Again any advice on where to look would be really appreciated.

    Thanks, David

    http://countrytothecore.net

  2. #2
    Join Date
    Jan 2009
    Location
    Victoria Australia
    Posts
    100
    Plugin Contributions
    0

    Default Re: Can't validate featured products

    Solved this part,

    Quote Originally Posted by australican View Post
    Any page that has featured products (center box?)displaying has a

    " " is not a member of a group specified for any attribute,

    error, the source code of my landing page (that has featured products on it) shows the error here

    <div class="centerBoxContentsFeatured" 98%;">

    I have no idea how the 98% is getting in there.
    On my Canisters category page (with featured products at the bottom) it shows

    <div class="centerBoxContentsFeatured" 100%;">

    same thing different number.
    Actually I got rid of the error, I'm not sure what the problem was. After a nights rest and using some trial and error between the original file and the one I butchered, here is what I found. My modified featured_products.php had this,

    $list_box_contents[$row][$col] = array('params' =>'class="centerBoxContentsFeatured"' . ' ' . $col_width . '%;"',
    'text' => (($featured_products->fields['products_image'] == '' and.....

    The original is,

    $list_box_contents[$row][$col] = array('params' =>'class="centerBoxContentsFeatured centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => (($featured_products->fields['products_image'] == '' and......

    Somewhere in there is an error. It's seems that it is a syntax error I created when trying to modify it. It was working, but not validating.

    The other issue I mentioned in the above post, I solved almost incidentally while cleaning up my sloppy coding.
    David

 

 

Similar Threads

  1. Open Graph DOCTYPE -- can't validate W3C
    By damiantaylor in forum General Questions
    Replies: 2
    Last Post: 29 Apr 2011, 04:50 PM
  2. Can Customer ID validate Product Categories?
    By ValetTicket Guy in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 17 Dec 2010, 01:50 PM
  3. Can ZC validate previous order before new product can be purchased??
    By PB2009 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 16 Aug 2009, 05:43 AM
  4. Can I increase the Number of Featured products in Featured Sidebox
    By OhISeekYou in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Aug 2007, 08:28 AM
  5. Can I do this with Featured Products
    By Honeysmom in forum Basic Configuration
    Replies: 1
    Last Post: 3 Jul 2006, 05:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg