Superpet toys rus Posted August 1, 2009 Share Posted August 1, 2009 what is this validator you are speaking of...i ahve put in my web address and it has 19 errors....what does this mean for my site if they are not fixed???...i will fix them i was just wondering??? Quote Link to comment Share on other sites More sharing options...
spooks Posted August 1, 2009 Author Share Posted August 1, 2009 many sites have errors, google prefers sites without errors, so removing all errors will improve your seo looking at http://validator.w3.org/check?uri=http%3A/...hp%3FcPath%3D21 your site has 23 errors, some are serious, you have mismatching open/close tables, you can get away with this with the default osC, BUT ADDING SOME CONTRIBS will reveal these problems, you will blame the contrib, but its your site that has the problem Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
thinkingforward Posted August 1, 2009 Share Posted August 1, 2009 Hi Sam, I've change line 341 of product listing.php to this: 'params' => $style . ' width="'.(PRODUCTS_PER_ROW ? (100/PRODUCTS_PER_ROW) : '').'%" align="center" valign="top"', which has centred everything up, but now I have borders around it all. With regards to the errors, i'd like to cut them down (most generated from contributions), but to be honest I don't know where to start. What files the errors are in etc etc Quote Link to comment Share on other sites More sharing options...
thinkingforward Posted August 1, 2009 Share Posted August 1, 2009 Fixed borders. All fine now. Quote Link to comment Share on other sites More sharing options...
spooks Posted August 1, 2009 Author Share Posted August 1, 2009 I've change line 341 of product listing.php to this: 'params' => $style . ' width="'.(PRODUCTS_PER_ROW ? (100/PRODUCTS_PER_ROW) : '').'%" align="center" valign="top"', which has centred everything up, but now I have borders around it all. you should`nt need to make any code changes, the default style is centered, the css entry for that part in the style u useing is .thumbcontent its your sites html/css errors that mean firefox dont center (ie does) Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
thinkingforward Posted August 1, 2009 Share Posted August 1, 2009 you should`nt need to make any code changes, the default style is centered, the css entry for that part in the style u useing is .thumbcontent its your sites html/css errors that mean firefox dont center (ie does) It's fine in firefox now. I know i'm bypassing the css, but I don't have the know how to figure out what was causing the error in the first place. I got that code by going through this thread. Quote Link to comment Share on other sites More sharing options...
Superpet toys rus Posted August 1, 2009 Share Posted August 1, 2009 better get on and fix my errors tonight then....not that it will make much difference to my incredibly low google ranking :lol: Quote Link to comment Share on other sites More sharing options...
Cabbage Posted August 2, 2009 Share Posted August 2, 2009 I have recently implemented version 1.8 of the Product Listing Enhancements, Thumbnails & Manufacturer Headings Contribution. Everything seems to work fine accept that it is ignoring the settings in the admin panel which controls the image size. I can't think of a way around this as if I use smaller images so that the grid view works correctly (with 3 images in a row), then there is no way for the customer to see a larger view of the product. My site is www.stokedbanana.com and the error is fairly obvious when you go to any of the product categories or manufacturers. Any ideas? Here are my admin settings:- Display Product Image 1 Display Product Manufaturer Name 0 Info Display Product Model 0 Info Display Product Name 2 Info Display Product Price 3 Info Display Product Quantity 0 Info Display Product Weight 0 Info Display Buy Now column 4 Info Display Category/Manufacturer Filter (0=disable; 1=enable) 1 Info Location of Prev/Next Navigation Bar (1-top, 2-bottom, 3-both) 2 Info Product Listing Style thumbnails in grid Info Product Listing Short Description false Info Product Listing Manufacturers Description false Info Product Listing Image Width 140 Info Product Listing Box Width 200 Info Product Listing Box Height 180 Info Product Listing Price Size 3 Info Product Listing Image Vertical Space 100 Info Product Listing Name Vertical Space 25 Info Product Listing Per Row 1 Info Product Listing Buy Now / Details Button buy now Info Product Listing Headings true Info Product Listing Style Switch true Quote Link to comment Share on other sites More sharing options...
spooks Posted August 2, 2009 Author Share Posted August 2, 2009 (edited) in your case the image is displayed with tep_image(DIR_WS_IMAGES . $image, $products['products_name'], PRODUCT_IMAGE_WIDTH, '') you have PRODUCT_IMAGE_WIDTH set to 140 however, looking at your source no width is set, therefore you have modified tep_image to create this problem. Some badly written thumbnailers cannot cope with only width or height set, perhaps someone hacked that to ignore settings if only one set?? If you want a thumbnailer that works, try oscthumb PS, this thread is mentioned in the docs & contrib section, please try reading a bit b4 posting!! Edited August 2, 2009 by spooks Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
tle Posted August 5, 2009 Share Posted August 5, 2009 Is there any way I can get this contribution working with Quantity Price Breaks Per Product for Separate Pricing Per Customer v2.0. I was trying to modify the product_listing.php file included in the contribution but looks like it has been modified quite extensively from the original. Can you tell me what has been modified from the original? Any help would be appreciated. Cheers. Quote Link to comment Share on other sites More sharing options...
spooks Posted August 5, 2009 Author Share Posted August 5, 2009 It has been modified very extensivly, use a file compare tool if you wish. You would need to understand what that contrib is doing, then apply same to this. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
tle Posted August 6, 2009 Share Posted August 6, 2009 Hi Sam Just wondering how can I modify product listing so when Out of Stock is TRUE it removes the Add to Cart Button so the customer cannot add item to cart. Cheers. Le Quote Link to comment Share on other sites More sharing options...
spooks Posted August 6, 2009 Author Share Posted August 6, 2009 Hi Sam Just wondering how can I modify product listing so when Out of Stock is TRUE it removes the Add to Cart Button so the customer cannot add item to cart. Cheers. Le this already does that, givesdetail button instead Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
tle Posted August 6, 2009 Share Posted August 6, 2009 would you be able to point out the code which does this? as it is not working for me. I am able to add the item even if the item is out of stock. Quote Link to comment Share on other sites More sharing options...
spooks Posted August 7, 2009 Author Share Posted August 7, 2009 the code would depend on the listing style your using, which is? Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
tle Posted August 7, 2009 Share Posted August 7, 2009 Thumbnails Thanks! Quote Link to comment Share on other sites More sharing options...
spooks Posted August 7, 2009 Author Share Posted August 7, 2009 oops I just rialised the code i refered to aint on the published version! after(304): if (function_exists(tep_get_att_price)) $price .= (tep_get_att_price($products['products_id']) > 0 ? '+' : ''); add: if (isset($listing['products_quantity']) && !$listing['products_quantity']) $button = '<br><span class="buy_now"> </span>'. $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS) . '</a> <br><br>'; Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
tle Posted August 7, 2009 Share Posted August 7, 2009 oops I just rialised the code i refered to aint on the published version! after(304): if (function_exists(tep_get_att_price)) $price .= (tep_get_att_price($products['products_id']) > 0 ? '+' : ''); add: if (isset($listing['products_quantity']) && !$listing['products_quantity']) $button = '<br><span class="buy_now"> </span>'. $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS) . '</a> <br><br>'; Thanks Sam!!! I love your work. Fantastic contribution. I changed $listing to $products and looks like its working perfectly! Quote Link to comment Share on other sites More sharing options...
tle Posted August 7, 2009 Share Posted August 7, 2009 How can I do the same for products_new.php?? Quote Link to comment Share on other sites More sharing options...
appstyle Posted August 7, 2009 Share Posted August 7, 2009 Great contribution thank you! Quote Link to comment Share on other sites More sharing options...
spooks Posted August 7, 2009 Author Share Posted August 7, 2009 assume u talk of new_products.php module from contrib its the same addition & yes product not listing, sorry, missed that on the post Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
fokakmeny Posted August 12, 2009 Share Posted August 12, 2009 hey sam the product is great but i want to remove this "new product from (month)" part thanks again for the great product Quote Link to comment Share on other sites More sharing options...
spooks Posted August 12, 2009 Author Share Posted August 12, 2009 not clear, are u saying u want to remove the new product module from your home page, or the new product info box, or smthg else? Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
fokakmeny Posted August 12, 2009 Share Posted August 12, 2009 i mean this part surrounded by the red oval its translation :" new products of month august " Quote Link to comment Share on other sites More sharing options...
spooks Posted August 13, 2009 Author Share Posted August 13, 2009 includes/languages/your_lang/index.php define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.