hippooflove Posted April 7, 2013 Share Posted April 7, 2013 (edited) When you are using internet explorer, if you right click and go to "view page source " it gives you coding information on your page. Where do you go in your files to find that code. I need to edit 2 lines and know the number but cannot find it. Please can you help. Barry Edited April 9, 2013 by hippooflove (see edit history) Link to comment Share on other sites More sharing options...
jeckyl Posted April 7, 2013 Share Posted April 7, 2013 Hi Link to comment Share on other sites More sharing options...
tomerg3 Posted April 7, 2013 Share Posted April 7, 2013 Hard to say without any info. You could do a search in the Prestashop files (content) and try to find it that way. If you know Prestashop, and know the page, you would be able to figure it out (assuming it's not a part of a module) Link to comment Share on other sites More sharing options...
hippooflove Posted April 8, 2013 Author Share Posted April 8, 2013 Hi Tomerg My site is http://www.homesteadandgarden.co.uk. I think it is lines 116 - 117 in the source code when using internet explorer. What I do not know is where is the line in the files. I deleted it from the header.tpl. so it must be somewhere else. Any ideas please. Link to comment Share on other sites More sharing options...
Paulito Posted April 8, 2013 Share Posted April 8, 2013 Good morning, If you have access to your data base either through your cpanel or ftp then you will be able to access the header tpl file but I still think you need to give more information about what you are trying to do Paul Link to comment Share on other sites More sharing options...
tomerg3 Posted April 8, 2013 Share Posted April 8, 2013 If you saw the lines in header.tpl and deleted them, then it's def the right place. Make sure to clear your smarty cache (in Preferences->performance) or Advanced Preferences in 1.5 Link to comment Share on other sites More sharing options...
hippooflove Posted April 8, 2013 Author Share Posted April 8, 2013 Thanks to you both. i do have access to my files and have deleted the 2 lines from my header.tpl. It is not showing in the files. I have tried to clear the cache but it did not make a difference. Please could I ask you to look at my home page at http:www.homesteadandgarden.co.uk and see if in the top left corner (above the logo) to see if you can see the words "pin it" on your computer. It could just my cache not clearing. Having said that I can still see it in internet explorer in the source code and in google under the elements. The reason is for all this is that i want to remove the link and add my telephone number into the header. It has becoming a mission impossible for me with a limited knowledge. Barry Link to comment Share on other sites More sharing options...
vekia Posted April 9, 2013 Share Posted April 9, 2013 sometimes you have to turn force compilation on, because without this changes in template files may not appear. try to turn it on, refresh your website, and then turn it off Link to comment Share on other sites More sharing options...
hippooflove Posted April 9, 2013 Author Share Posted April 9, 2013 Thank you for your reply Vekia. Sadly that did not work. Barry. Link to comment Share on other sites More sharing options...
tomerg3 Posted April 9, 2013 Share Posted April 9, 2013 Try to manually delete all the files except index.php) in /tools/smarty/complie and reload the page. If you still see the text in the source, go to /tools/smarty/complie and look for a filename that contains header.tpl (with random text at that start of the filename), open it and look for the text. 1 Link to comment Share on other sites More sharing options...
hippooflove Posted April 9, 2013 Author Share Posted April 9, 2013 Thanks Tomerg I looked in the files you listed above and looked for a header.tpl one. I deleted that file and it has cleared the problem from my site. Many thanks for that. There are 100 more lines besides the index.php in that file. Are they causing a problem or should I leave them alone? Once again many thanks Barry Link to comment Share on other sites More sharing options...
jeckyl Posted April 9, 2013 Share Posted April 9, 2013 To clear simply the cache files you can use our free module. Link to comment Share on other sites More sharing options...
tomerg3 Posted April 10, 2013 Share Posted April 10, 2013 You can also delete all the files there (except index.php) whenever you make any changes to a .tpl file. Link to comment Share on other sites More sharing options...
Recommended Posts