henbo Posted July 5, 2011 Share Posted July 5, 2011 how fix it?? Link to comment Share on other sites More sharing options...
Adeniyi2010 Posted July 6, 2011 Share Posted July 6, 2011 I am having the same problem. Thumbnail images under the New Products and Top Seller Blocks are not showing. The link to the images do not exist. How do I solve this. These images come up whenever I change to the default prestashop theme. Link to comment Share on other sites More sharing options...
henbo Posted July 7, 2011 Author Share Posted July 7, 2011 thanks for your comment... - -; Link to comment Share on other sites More sharing options...
Adeniyi2010 Posted July 7, 2011 Share Posted July 7, 2011 I am having the same problem. Thumbnail images under the New Products and Top Seller Blocks are not showing. The link to the images do not exist. How do I solve this. These images come up whenever I change to the default prestashop theme. Well. I worked out a solution.I edited themes/blackwhite/modules/blocknewproducts.tpl by changing the codes that fetch the thumbnail images below: I found 4 instances of the code above in the file with the only differences being in the numbers contained in each instance, i.e. $new_product.0.id_image, $new_product.1.id_image, $new_product.2.id_image, etc. I then changed the code above to the one below: getImageLink($new_products.link_rewrite, $new_products.0.id_image, 'medium')}" alt="{$new_products.0.legend|escape:htmlall:'UTF-8'}" /> Please note that I made necessary changes in the numbers in the 4 instances where I made the changes. I noticed that the forum editor is stripping the codes so I am attaching a copy of my edited blocknewproducts.tplDownload and use instead of copying the code above. I left the codes above since you might need some explanations. Copy only the needed lines from the file since Division tags might vary in Matrice. Keep a backup of your original file please.All the best! Link to comment Share on other sites More sharing options...
Adeniyi2010 Posted July 7, 2011 Share Posted July 7, 2011 I could not attach the file in my previous post. I also noticed that some parts of the code I attached were stripped by the editor (e.g. $img src= stripped to just img). So I am trying again to attach the file. I hope it works this time.Enjoy! blocknewproducts.txt Link to comment Share on other sites More sharing options...
henbo Posted July 8, 2011 Author Share Posted July 8, 2011 thank you very much for your comment!it works!! ^ ^i attatch blocknewproducts.txt for Matrice theme...have a nice day~ blocknewproducts.txt Link to comment Share on other sites More sharing options...
webfaster Posted July 12, 2011 Share Posted July 12, 2011 It doesn't work for me.I've uploaded the new file but it does'nt work. How can i "reload" the module to use the new blocknewproducts.txt ?Thank you in advance, Link to comment Share on other sites More sharing options...
empocher Posted July 12, 2011 Share Posted July 12, 2011 its doset work. i edited the file from matrice theme,its still no image.could you mind uploading a full version edited matrice theme for 1.4 to me? Link to comment Share on other sites More sharing options...
Adeniyi2010 Posted July 12, 2011 Share Posted July 12, 2011 its doset work. i edited the file from matrice theme,its still no image.could you mind uploading a full version edited matrice theme for 1.4 to me? Have you tried the one uploaded by Henbo? He attached the file for Matrice theme. The file is a text file so you have to rename from blocknewproducts.txt to blocknewproducts.tpl. Link to comment Share on other sites More sharing options...
Adeniyi2010 Posted July 12, 2011 Share Posted July 12, 2011 It doesn't work for me.I've uploaded the new file but it does'nt work. How can i "reload" the module to use the new blocknewproducts.txt ?Thank you in advance, Did you rename blocknewproducts.txt to blocknewproducts.tpl? You can ensure your changes are reflected by going to the backend and going to PREFERENCE - PERFORMANCE. Set "Force compile" to YES and reload. Make sure you set it back to NO after the change is reflected. Link to comment Share on other sites More sharing options...
empocher Posted July 13, 2011 Share Posted July 13, 2011 new products is fixed,but i added the top sellers module,it still has the same problem,no image. Link to comment Share on other sites More sharing options...
empocher Posted July 13, 2011 Share Posted July 13, 2011 i fixed the best-sellers module too, coz i changed the code like newproducts.tpl,finally.its working..thx for your help! Link to comment Share on other sites More sharing options...
webfaster Posted July 13, 2011 Share Posted July 13, 2011 It doesn't work for me.I've uploaded the new file but it does'nt work. How can i "reload" the module to use the new blocknewproducts.txt ?Thank you in advance, Did you rename blocknewproducts.txt to blocknewproducts.tpl? You can ensure your changes are reflected by going to the backend and going to PREFERENCE - PERFORMANCE. Set "Force compile" to YES and reload. Make sure you set it back to NO after the change is reflected. Ok It's working now. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now