Announcement

Collapse
No announcement yet.

Including stuff in the header and footer templates

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

  • Including stuff in the header and footer templates

    <?php include("http://athlonoc.com/vbulletin/pop.php"); ?>

    that didn't work

    Where I'm trying to put this is in the footer template. http://www.athlonoc.com/vbulletin/index.php it's on the right side. I'd like to include some things in the forum's header and footer templates but I can't figure it out how to do it!

    I've tried to use SSI too. Can you help me out here?

    thanks,
    Martin

  • #2
    $footer = implode("", file("http://athlonoc.com/vbulletin/pop.php"));

    Comment


    • #3
      what exactly do I do with that?

      Comment


      • #4
        Put that in your footer template.

        Comment


        • #5
          I put exactly that inside of my footer template and it says = implode("", file("http://athlonoc.com/vbulletin/pop.php")); where the pop topics is supposed to go. What am I doing wrong here? It's gotta be something small but I haven't used PHP much so I'm clueless

          Comment


          • #6
            Turn on "PHP Parse" on the footer/header in the control panel options.

            Comment


            • #7
              when I do that it gives me a

              Parse error: parse error in Eval code on line 1

              and nothing that I put in the header and footer shows up I'm playing around with it right now but I've got a ton of stuff in my header and footer fields.

              Comment

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