Easiest Way

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Brian
    Senior Member
    • Apr 2000
    • 252

    Easiest Way

    What would the easiest way be to include a header & footer file into vb? IE I want to use same header & footer file used in main site (header.shtml)/(footer.shtml)

    Thanks in advance this includes in the header has me flustered lol

    -Brian
    << This Space Intentionally Left Blank >>
  • George L
    Former vBulletin Support
    • May 2000
    • 32996
    • 3.8.x

    #2
    copy the header.shtml and footer.shtml html code and go into admin panel... and go to edit styles and in the header and footer field boxes paste the code into the respective fields...

    be sure to keep the vbulletin copyright info intact in the existing footer field in the edit styles area
    :: Always Back Up Forum Database + Attachments BEFORE upgrading !
    :: Nginx SPDY SSL - World Flags Demo [video results]
    :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

    Comment

    • Brian
      Senior Member
      • Apr 2000
      • 252

      #3
      Yes I know I could do it that way but dont for several reasons.

      1. Their are many includes in the header.shtml file, and two I would like to synch them by just editing one file.

      So whats the best way to do this?

      IE what do I put "exactly" to include header.shtml in the header field in the CP.

      -Brian
      << This Space Intentionally Left Blank >>

      Comment

      • Brian
        Senior Member
        • Apr 2000
        • 252

        #4
        Does anyone have any thoughts?

        -Brian
        << This Space Intentionally Left Blank >>

        Comment

        • thetakerfan
          Senior Member
          • Jun 2000
          • 1095

          #5
          if you turn on PHP parsing in the header, can't you just use the require function to call those files

          Comment

          • Brian
            Senior Member
            • Apr 2000
            • 252

            #6
            Nope I dont think you can at least.
            << This Space Intentionally Left Blank >>

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...