Page 2 of 10 FirstFirst 1234 ... LastLast
Results 11 to 20 of 93
  1. #11
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: "Whats New" Scrolling Sidebox

    I would say good job but it doesnt have the borders on the sidebox and not xtml compliant

  2. #12
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: "Whats New" Scrolling Sidebox

    ? Borders are set by the main css of your store. And I didnt create the contrib, I only made it work properly with multiple product_types...it was a one line change. The alterior motive of this change is for MY upcoming contrib that allows users to have tabbed product descriptions.. But i needed this contrib fixed for it to work right with my contrib..

    As far as being xhtml compliant.. thats a pipe dream that will never see full compliance until well after we are dead... it wont affect much anyway, as today's browsers are full of bandaids to handle it.

  3. #13
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: "Whats New" Scrolling Sidebox

    I hear you, q Congratz :) , I guess you know better about xtml.. not really sure whats it for, as far as borders the regular whats new sidebox has borders but when I load in the scrolling whats new its missing the sidebox side borders, nay idea how to fix this?

  4. #14
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: "Whats New" Scrolling Sidebox

    Quote Originally Posted by rxalex
    I hear you, q Congratz :) , I guess you know better about xtml.. not really sure whats it for, as far as borders the regular whats new sidebox has borders but when I load in the scrolling whats new its missing the sidebox side borders, nay idea how to fix this?
    Hmm no.. do you have any modifications to your css? I have the scrolling sidebox here: www.tvclassico.com and it seems to work fine, borders and all.

  5. #15
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: "Whats New" Scrolling Sidebox

    Ghome,
    Wow great work, But my image size is only 100 by 1 px???
    Adim is set to 100 x 80 for new products....
    What is the problem??????

    Mark
    Mark
    Hare Do

  6. #16
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: "Whats New" Scrolling Sidebox

    I didn't create the contrib.. i only updated it for 1.3 to use product types properly. I'm not sure why your images are showing up that small tho. Go back to the default and see if that has the same problem.

    Also if you have a site I can look at I could maybe figure out the problem .
    Last edited by qhome; 8 Jun 2006 at 07:19 PM.

  7. #17
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: "Whats New" Scrolling Sidebox

    Qhome,
    www.gomagnetic.com

    I have checked my admin/configeration/images setting for new products: 100 x 80.
    In new products links in Categories on web site the image is perfect.
    But, the Whats New Sidebox on right side show image depressed to 100 x 1.

    Any help please...

    mark
    Mark
    Hare Do

  8. #18
    Join Date
    Apr 2005
    Location
    Louny, Czech Republic
    Posts
    51
    Plugin Contributions
    1

    Default Re: "Whats New" Scrolling Sidebox

    Works fine but this box have about 600 queries from DB to one refresh of page. It´s very much.
    JardaR

  9. #19
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: "Whats New" Scrolling Sidebox

    Finally got the old girl to work properly.

    Original Code:
    // ADDED BY QHOME TO UPDATE FOR 1.3.0.1 (zen_get_info_page)
    //$newsflashes[$i] = '<br /><center><a class="wnImage" href="' . zen_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product->fields['products_id']) . '"><img src="' . DIR_WS_IMAGES . $random_product->fields['products_image']. '" alt="' . $random_product->fields['products_name'] . '" width="' . SMALL_IMAGE_WIDTH . '" height="' . SMALL_IMAGE_HEIGHT . '" style="border:1px outset #000000" onMouseOver="myHint.show(\'TT4\')" onMouseOut="myHint.hide()" />' . '</a><br /><a href="' . zen_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product->fields['products_id']) . '">' . $random_product->fields['products_name'] . '</a><br />' . $whats_new_price . '</center>';
    $newsflashes[$i] = '<br /><center><a class="wnImage" href="' . zen_href_link(zen_get_info_page($random_product->fields['products_id']), 'products_id=' . $random_product->fields['products_id']) . '"><img src="' . DIR_WS_IMAGES . $random_product->fields['products_image']. '" alt="' . $random_product->fields['products_name'] . '" width="' . SMALL_IMAGE_WIDTH . '" height="' . SMALL_IMAGE_HEIGHT . '" style="border:1px outset #000000" onMouseOver="myHint.show(\'TT4\')" onMouseOut="myHint.hide()" />' . '</a><br /><a href="' . zen_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product->fields['products_id']) . '">' . $random_product->fields['products_name'] . '</a><br />' . $whats_new_price . '</center>';
    //##########################################

    All I did above was add the height of 80px. Yes, victory.

    Example Below:
    // ADDED BY QHOME TO UPDATE FOR 1.3.0.1 (zen_get_info_page)
    //$newsflashes[$i] = '<br /><center><a class="wnImage" href="' . zen_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product->fields['products_id']) . '"><img src="' . DIR_WS_IMAGES . $random_product->fields['products_image']. '" alt="' . $random_product->fields['products_name'] . '" width="' . SMALL_IMAGE_WIDTH . '" height=80px"' . SMALL_IMAGE_HEIGHT . '" style="border:1px outset #000000" onMouseOver="myHint.show(\'TT4\')" onMouseOut="myHint.hide()" />' . '</a><br /><a href="' . zen_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product->fields['products_id']) . '">' . $random_product->fields['products_name'] . '</a><br />' . $whats_new_price . '</center>';
    $newsflashes[$i] = '<br /><center><a class="wnImage" href="' . zen_href_link(zen_get_info_page($random_product->fields['products_id']), 'products_id=' . $random_product->fields['products_id']) . '"><img src="' . DIR_WS_IMAGES . $random_product->fields['products_image']. '" alt="' . $random_product->fields['products_name'] . '" width="' . SMALL_IMAGE_WIDTH . '" height=80px"' . SMALL_IMAGE_HEIGHT . '" style="border:1px outset #000000" onMouseOver="myHint.show(\'TT4\')" onMouseOut="myHint.hide()" />' . '</a><br /><a href="' . zen_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product->fields['products_id']) . '">' . $random_product->fields['products_name'] . '</a><br />' . $whats_new_price . '</center>';
    //##########################################

    Mark,
    Mark
    Hare Do

  10. #20
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: "Whats New" Scrolling Sidebox

    nah,, only about 200 queries.. but really the SMALL_IMAGE_HEIGHT wasn't changed from the original. And that works fine on my fresh install of Zen.. im not sure why its not pulling from your database properly. If it were to ever start working it would break your code. You should remove the SMALL_IMAGE_HEIGHT and leave only the 80px

 

 
Page 2 of 10 FirstFirst 1234 ... LastLast

Similar Threads

  1. "New products" side box is not scrolling.
    By Ridgh in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Apr 2014, 07:02 PM
  2. Scrolling Whats New Sidebox
    By sn0ut in forum Addon Sideboxes
    Replies: 29
    Last Post: 21 Feb 2010, 09:19 PM
  3. "Best sellers" scrolling sidebox thumbnail problem
    By chris32882 in forum Addon Sideboxes
    Replies: 29
    Last Post: 15 Feb 2009, 12:56 AM
  4. Store "forgets" whats in the basket when pressing "Home"?
    By deanparkr in forum General Questions
    Replies: 1
    Last Post: 7 Dec 2008, 05:55 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR