Can't Find Link In Template To Non-Secure File

Hi,

I have switched a site over to https:// and all is fine except one thing ... the guy who created the site (v4.3) added a link to an javascript file (which uses http://) which appears right before the closing body> and I can't find how to remove this.

The file is no longer used but it means that the site pages won't validate as "Secure" and so the link can be removed as it's now redundant if I can find out how to! :)

I've checked /public_html/design/themes/responsive/templates/index.tpl & and /public_html/design/themes/basic/templates/index.tpl but there's nothing there - can any one advise how I could track it down? Is there any way to search the code in all template files (eg for the link text)?

Any other suggestions welcome! :grin:

Thanks,

Tommy

Hi,

I have switched a site over to https:// and all is fine except one thing ... the guy who created the site (v4.3) added a link to an javascript file (which uses http://) which appears right before the closing and I can't find how to remove this.

The file is no longer used but it means that the site pages won't validate as "Secure" and so the link can be removed as it's now redundant if I can find out how to! :)

I've checked /public_html/design/themes/responsive/templates/index.tpl & and /public_html/design/themes/basic/templates/index.tpl but there's nothing there - can any one advise how I could track it down? Is there any way to search the code in all template files (eg for the link text)?

Any other suggestions welcome! :grin:

Thanks,

Tom

You should not just check these 2 files. You also have e.g. scripts.post.tpl and index.post.tpl. These can be placed in the /design/themes/basic/templates/addons folder (all subdirectories). If this doesnt help please PM a link of your site so that we could narrow it down a bit more.

I suggest you to check the following files in 3rd party modules

design/themes/THEME/templates/addons/ADDON/hooks/index/scripts.post.tpl

or

design/themes/THEME/templates/addons/ADDON/hooks/index/footer.post.tpl

Great, thanks, they were in a file in Addon/hooks :)