Adding code after </body> tag?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • firewire
    Senior Member
    • May 2000
    • 186
    • 3.6.x

    Adding code after </body> tag?

    I signed up with a professional advertisement company. They sent me a code which I have to insert after (!) the </body> tag on every page the banner is going to be displayed.

    Assuming I want to show a banner on every page where normally the footer is displayed... which files of vB do I have to edit to enter the code?

    Thanks for your help and reply
  • thetakerfan
    Senior Member
    • Jun 2000
    • 1095

    #2
    um, my quess would be the templates, but again thats only a guess...

    Now, WHICH templates would be the ones like forumhome, forumdisplay, showthread, etc.

    Comment

    • firewire
      Senior Member
      • May 2000
      • 186
      • 3.6.x

      #3
      All templates e.g. the "footer" template put their code before the </bod<> tag.

      I need my code to be placed [b]after[/b] </body> so I probably need to edit the generating php-Files themselves.
      My question was: which files need to be edited?

      Comment

      • thetakerfan
        Senior Member
        • Jun 2000
        • 1095

        #4
        like I said, you need to edit the MAIN templates
        if I only meant the footer template, I would have said only the footer template

        if you look at the MAIN templates (ie forumhome, forumdisplay, showthread, etc. like I said before) you will see that you can add whatever you want under the </body> tag

        or you can create a template solely for your banner code and insert this template under the </body> tag of the main templates so that the code only needs to be changed in one place.

        Out of curiousity, which Ad company is this?

        Comment

        • firewire
          Senior Member
          • May 2000
          • 186
          • 3.6.x

          #5
          admaster, Germany, [url]http://www.admaster.de[/url]
          thx, i'll try it tomorrow, its 4:45 am now :)

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎