Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    help question FeaturedProducts/productListing customizations...

    So I got the productListing to look pretty close to how I want

    EXAMPLE

    I thought I had the featuredProducts right, until I looked in IE and the background color is only behind 1 row of images and the FEATURES PRODUCTS text and bg image is not showing up...

    EXAMPLE

    The CSS validates, although the HTML does not (and I don't know how to fix it)

    Anyone have ANY clue what is going on here?

    Thanks in advance! You guys usually help me fix all my ridiculous problems...

  2. #2
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: FeaturedProducts/productListing customizations...

    Line 964 of stylesheet.css, you have #produtListing, #featuredProducts.

    Add

    height:1%;

    to this definition.

    It's becasue the box with the background colour contains floating elements, and is not expanding to cotain these.

    Absolute

  3. #3
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: FeaturedProducts/productListing customizations...

    Thanks! I never would have figured that out...works perfect!

  4. #4
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: FeaturedProducts/productListing customizations...

    Something odd:

    I made all my product images in the product listing results have a 8px border...
    All of a sudden today they do not have a border

    it was in the stylesheet as ".listingProductImage" and that worked to make product images have a border, and NOT the sold out button if one shows.

    Now I can use "#productListing img" but it gives the sold out buttons a border as well.

    I guess I'm just weirded out that this all of a sudden stopped working, and now what should I be doing to get the border to show?

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: FeaturedProducts/productListing customizations...

    See if
    #productListing .listingProductImage {}

    works.
    Definitely weird that the simple version would stop working. Have you made *any* stylesheet changes around the time this happened?

  6. #6
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: FeaturedProducts/productListing customizations...

    Yes, but it was to the EZPagesNextPrev buttons and the buttons on the product info pages, I think that's all I really added, everything else was just slight changes to what was already there.

    Validated the CSS to check I didn't miss something, and it's all fine.

    P.S. Thing is...when I use FF Dev Tools on the images on the Product listing, I don't even see the .listingProductImage class...

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: FeaturedProducts/productListing customizations...

    For whatever reason, the .listingProductImage class is no longer being applied in the code.

    Can you post the
    case 'PRODUCT_LIST_IMAGE': ... break;
    section of your /includes/modules/your_template/product_listing.php? (The second one, in the product area, not the one in the heading area.)

  8. #8
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: FeaturedProducts/productListing customizations...

    I hope this is what you needed....

    case 'PRODUCT_LIST_IMAGE':
    $lc_align = 'center';
    if ($listing->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) {
    $lc_text = '';
    } else {
    if (isset($_GET['manufacturers_id'])) {
    $lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';
    } else {
    $lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), ($_GET['cPath'] > 0 ? 'cPath=' . $_GET['cPath'] . '&' : '') . 'products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';
    }
    }
    break;

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: FeaturedProducts/productListing customizations...

    OK, the
    'class="listingProductImage"'
    is there... which must mean that the zen_image () function is not processing the parameter. Hard to imagine any way you could have affected that.

    That leaves the idea that maybe the PHP processing has changed. Has your host made any changes to the server?

  10. #10
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: FeaturedProducts/productListing customizations...

    They must be doing something over there, because every day this week it's been something going wrong. First an error saying it can write to the configure files, then IM2 saying it can't open any images for writing....

    I wish I'd KNOW when they're doing something.... So, what do I need to do from here?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. featuredProducts
    By Soniccc in forum General Questions
    Replies: 3
    Last Post: 27 Dec 2010, 07:04 PM
  2. Admin customizations/templates ?
    By skynetslo in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Nov 2009, 10:28 AM
  3. Customizations Not Working?!?!
    By oneposhshop in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 30 Apr 2007, 04:08 AM
  4. problem making customizations
    By graphixx in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 27 Dec 2006, 04:26 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