I would say good job but it doesnt have the borders on the sidebox and not xtml compliant
I would say good job but it doesnt have the borders on the sidebox and not xtml compliant
? 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.
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
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.Originally Posted by rxalex
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
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
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.
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
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
Works fine but this box have about 600 queries from DB to one refresh of page. It´s very much.
JardaR
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
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
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!
Bookmarks