Announcement

Collapse
No announcement yet.

Easiest Way

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 >>

  • #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


    • #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


      • #4
        Does anyone have any thoughts?

        -Brian
        << This Space Intentionally Left Blank >>

        Comment


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

          Comment


          • #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...
            X