Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by ken

  1. Hi This does need fixing. 0 Products makes it appear that there are no products at all. In your Theme folder Open category.tpl and delete (comment) Line 13 {$nb_products|intval} {if $nb_products>1}{l s='products'}{else}{l s='product'}{/if} Or replace with this {if $nb_products>0} {$nb_products|intval} {if $nb_products>1}{l s='products'}{else}{l s='product'}{/if} {/if} This will only display the number of products if it contains products. Or even This {if $nb_products>0} {$nb_products|intval} {if $nb_products>1}{l s='products'}{else}{l s='product'}{/if} {else} - click a subcategory {/if} Regards Ken.
  2. Thanks Paul It’s working perfectly Excellent work Regards Ken
  3. My Bad!!! I had my links inside the curly brackets. They need to be outside :-) This works '} {' Regards Ken.
  4. Hi I have successfully added new pages and images to new tpl files but I’ve hardcoded the image links. :red: I now wish to change the image links to smarty variables but I can’t get the correct syntax I tried which gives and which gives Fatal error: Smarty error: [in /home/www/my_site.co.uk/themes/my_theme/restore.tpl line 6]: syntax error: invalid attribute name: '>' (Smarty_Compiler.class.php, line 1547) in /home/www/my_site.co.uk/tools/smarty/Smarty.class.php on line 1097 and which gives What is the correct syntax to use smarty variables in tpl files? Regards Ken.
  5. Hi Paul That was quick ($Product['active']) has cured the undocumented feature :-) Version 0.3 no longer includes inactive products. Thanks Ken.
  6. Hi Paul I notice that this code is adding inactive items to the feed. Can this be corrected? Thanks Ken.
  7. Hi Stampy I have reported this as a bug and so it will, hopefully, be fixed in V1.1 In the meantime you could just leave things as they are as it will not prevent your site from being spidered. or block Google from looking at them by adding them to the robots.txt Add a disallow for each file to be blocked Eg. Disallow: /prices-drop.php Disallow: /contact-form.php Disallow: /about-us.php Disallow: /supplier.php Regards Ken
  8. Hi Andrew Thanks for that one. Search.php is a little different from the rest as it really serves no useful purpose in Google. Probably The best thing to do with this one is to block Google from accessing it. Add Disallow: /search.php To robots.txt and Google will not spider it. Regards. Ken.
  9. Hi Stampy My idea for starting this thread was to try to find all the duplicates before posting as a bug (or feature request) report. It appears (so far) to be just these mentions.php new-products.php best-sales.php conditions.php secure-payment.php‎ sitemap.php‎ manufacturer.php‎ Plus any new pages created sitemap.php especially needs fixing. Please post them here if you find any more. The ‘fix’ should be simple, we just need to add the filename to the tag. Regards Ken.
  10. Hi Stampy I still do not see the mod_rewrite module loaded into apache server (or FollowSymLinks) Send your htaccess file to your host and ask them why it is not working PS. The header mod to display the contact details works great, however the 'br' in the text is causing validation errors. should be escaped with Regards Ken.
  11. Hi Stampy. I am no expert but I don’t see that mod_rewrite is enabled There is a test you can run here http://www.wallpaperama.com/forums/how-to-test-check-if-mod-rewrite-is-enabled-t40.html You may also need to add "RewriteBase” under "RewriteEngine On" in htaccess. If this does not work then I suggest you contact your host. Thank You for the Info. Regards Ken.
  12. Hi Stampy You need to run the phpinfo file. It will then give you your PHP info Put this into your browser http://www.sentientsolar.co.uk/php_info.php (if that is the correct path to the file) then search for mod_rewrite under loaded modules. This will tell you if mod rewrite is enabled on your server Your site is looking very nice May I ask how you added your contact details to the header? Regards Ken
  13. Hi. What about var $compile_check = true; should this not be set to false? (in Smarty.class.php) Tax.php is accessed a lot, even when taxes are turned off. I think there is more that could be done to speed this up. amwdesign. You have made a big speed increase at dollshousekingdom.co.uk What did you do? Regards Ken.
  14. Hi Fred Back Office >> Modules >> Positions >> Transplant a module Hope this helps Ken
  15. No Comments!!!!! :bug: This problem Will Affect Your Page Ranking. Google does not like Pages with duplicate meta descriptions The manufacturer’s links have the same problem. Ken.
  16. Hi. I’m receiving some warnings from Google of duplicate title tags on several pages mentions.php new-products.php best-sales.php conditions.php etc. All these pages use the ‘default’ title tags from Back Office >> Preferences >>Appearance – meta title Has anyone found a solution to this? Thanks. Ken
  17. Hi Darkmarauder Apologies for mis-reading your initial post The ‘500 Internal Server Error’ is caused by permissions. Try lowering them. See post 3 (step1) of this thread. Hope this helps Ken
  18. Hi. I have also noticed Prestashop is slower than my previous shop with the same number of products (700) I have also started to get some warnings from Google telling me that Some URLs in the Sitemap have a high response time. And the picture clearly shows that Google has had to spend much longer spidering my site. We used to have a little bit of code to debug queries (chemo) to find the bottlenecks, And I got my db queries down to less than 20. We really need something similar for Prestashop. Regards. Ken.
  19. Hi Paul. If this is the way it works (I have not tested it) then I understand your concerns. The biggest problem I have are with items that are purchased but not available. Very often a customer will choose another item which may be a different price. With osc there was no way to change the original order or change the item purchased. We should be able to issue credit notes and create new invoices in back office and we should be able to allocate payments to invoices I hope you get this improved Regards Ken.
  20. Has this been reported as a bug – Or is it a feature? The team seem to have deliberately turned off the right column and extended the centre column from 563px to 730px but I can see no reason for this? Regards Ken
  21. Hi HDavy. Let's see if I can save PaulC a little typing. download addstuff_0_4.zip extract the zipfile to addstuff_0_4 open the folder to find addstuff folder copy addstuff folder to your modules folder In your back office goto modules and you will see AddStuff v0.4 (Top one) click install to install it and then click configure type mystuff.html into the box and click update stuff you should now see Add Stuff added to your webpage underneath payment methods mystuff.html can then be re-written how you want it. Hope this helps Ken
  22. Hi Thanks Paul for all your help. The code is working perfectly. The new code is much improved on the original verification code. It can connect with fopen or cURL and will be invaluable to all the people who do not have fsockopen() enabled (GoDaddy ??) Thanks Again. Ken
  23. Hi Paul. Thank you very much for re-coding the validation.php I thought it was going to work because http://www.mysite.co.uk/modules/paypal/validation.php No longer gives an error However with a test purchase the customer still receives this message And in back office The payment error message has changed from with Prestashop validation.php to With your validation.php So I think you are very close to fixing this I hope you can find the problem? Regards. Ken.
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More