Results 1 to 10 of 17

Hybrid View

  1. #1
    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!

  2. #2
    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?

  3. #3
    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?

  4. #4
    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...

  5. #5
    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.)

  6. #6
    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;

  7. #7
    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?

 

 

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