MichaelMcG Posted September 12, 2011 Share Posted September 12, 2011 Currently my 'Home Featured' module has the title "Featured products". How do I change this? Link to comment Share on other sites More sharing options...
zyko Posted September 13, 2011 Share Posted September 13, 2011 In modules/homefeatured/homefeatured.tpl you can find the line <h4>{l s='Featured products' mod='homefeatured'}</h4> Change whatever you wanted to change instead of Featured products Say " My Featured products" Thanks Delonix Link to comment Share on other sites More sharing options...
Patric Posted September 13, 2011 Share Posted September 13, 2011 Topic moved into the "Integration" section. Link to comment Share on other sites More sharing options...
MichaelMcG Posted September 13, 2011 Author Share Posted September 13, 2011 Hi zyko, Thanks for this. However, I have changed this text and uploaded the file but still no change has appeared. Do I have to do a cache clear before the changes will appear with this module? I even tried uninstalling/installing to fix it, but it still has "Featured products" as the text. Link to comment Share on other sites More sharing options...
Ellalex Posted September 13, 2011 Share Posted September 13, 2011 Maybe clearing the cache will help you. I did the same with manufacturers block and it worked. Had to clear cache though. Link to comment Share on other sites More sharing options...
MichaelMcG Posted September 13, 2011 Author Share Posted September 13, 2011 Hi Ellex, I'm being a bit simple here, but how do I clear the cache? Link to comment Share on other sites More sharing options...
Mark Hesketh Posted September 13, 2011 Share Posted September 13, 2011 Hi Michael, You may have already done this but it comes up a lot, make sure you have Force Compile: Yes and Cache: No set in your back office in Preferences > Performance. This forces Prestashop to re-build your store, including your changes. Reload the page, and you should see your new title. Make sure you put the options back when you're finished though as they dramatically increase the speed of your store. Additionally I'd consider overriding the module rather than editing it. This just means your changes will still be intact after you update your store. Simple copy the homefeatured.tpl file in /modules/homefeatured into /themes/yourtheme/modules/homefeatured/. Prestashop will now use this .tpl instead, and you can make as many changes as you like. Hope that helps, Mark Link to comment Share on other sites More sharing options...
MichaelMcG Posted September 13, 2011 Author Share Posted September 13, 2011 Epic advice, Mark. Will take a look shortly and get right back atcha. Thanks Link to comment Share on other sites More sharing options...
MichaelMcG Posted September 13, 2011 Author Share Posted September 13, 2011 And it worked!!!! [sOLVED] coming right up. I think moving to my own theme did the trick. Thank you sir. Link to comment Share on other sites More sharing options...
Mark Hesketh Posted September 14, 2011 Share Posted September 14, 2011 Great stuff Michael Glad it worked out! Link to comment Share on other sites More sharing options...
pamelan Posted September 16, 2011 Share Posted September 16, 2011 Hi Mark I tried this too. I need to change Manufacturers to designers. I copied the tpl to my theme/blockmanufacturer. Also changed the cache settings as above. Still no change in the label. I also deleted my temp files in Internet Explorer and cleared the cache in Firefox. Using Firebug in Firefox, I can change it using the HTML edit feature, but can't work out where/how to change it in the tpl / php file Link to comment Share on other sites More sharing options...
pamelan Posted September 16, 2011 Share Posted September 16, 2011 SOLVED! I found 3rd manufacturer.tpl and manufacturer-list.tpl directly under the theme. Editing the s= fixes the issue 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