taffs Posted February 13, 2013 Posted February 13, 2013 I have a very old version of OSC heavily modded, it works fine and has been secured :-) I have signed up for an ad-serving software platform and set up all of the banners, when I select the invocation code there is some to go in the page where I want the banner to display and some javascript to place in the header. I'm ok with the ad placement code but cannot for the life of me find the file that contains the header tags. I expect this is very basic question. Thanks for your help. Taff.
Jack_mcs Posted February 13, 2013 Posted February 13, 2013 The code can go whereve you want it as long as the script works. But if you want to stay with convention, you probably mean head instead of header and, in that case, that is in the top of each file in the shop of the root that is used for display. But if this is only for one page, then just add the code to that one file. Look for the </head> line and place it right before that. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
taffs Posted February 13, 2013 Author Posted February 13, 2013 Thanks for your reply. I do mean head. I want the banner to appear on all pages. What are the likely file names I should amend and where would they be located in the file structure. Thanks.
Jack_mcs Posted February 13, 2013 Posted February 13, 2013 index.php, product_info.php, etc. See the files in the root. Anyone that has </head> will most likely need to be changed. Or you can put the code in the includes/header.php file and not bother with all of those changes. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
taffs Posted February 13, 2013 Author Posted February 13, 2013 The file was in templates/Original/header.php Thanks Jack
Recommended Posts
Archived
This topic is now archived and is closed to further replies.