header and footer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vls
    New Member
    • Dec 2001
    • 3

    header and footer

    Is there any ability to include an header and an footer for the board because the board should look like my page design?

    have you got any examples?
    or are templates used :-( ?
  • Chen
    Senior Member
    • Jun 2001
    • 8388

    #2
    Yes, templates are used.
    You can simply edit your header and footer template to control all of the board.

    See the Admin Panel here:

    and check out the templates section.
    Chen Avinadav
    Better to remain silent and be thought a fool than to speak out and remove all doubt.

    גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

    Comment

    • vls
      New Member
      • Dec 2001
      • 3

      #3
      But i need to include a PHP-file as header and footer. is there any ability?

      Comment

      • Chen
        Senior Member
        • Jun 2001
        • 8388

        #4
        That's possible with a bit hacking the global.php - although it can be done very easily.
        Chen Avinadav
        Better to remain silent and be thought a fool than to speak out and remove all doubt.

        גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

        Comment

        • vls
          New Member
          • Dec 2001
          • 3

          #5
          how difficult is this?

          are any header() commands used because then the include can't be included...

          Comment

          • Chen
            Senior Member
            • Jun 2001
            • 8388

            #6
            Headers are sent, yes, but if you have PHP4 you can use Output Buffering, like this:
            Code:
            ob_start();
            require("header.php");
            $header = ob_get_contents();
            ob_end_clean();
            Chen Avinadav
            Better to remain silent and be thought a fool than to speak out and remove all doubt.

            גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

            Comment

            • JamesUS
              Senior Member
              • Aug 2000
              • 4622

              #7
              You can just copy that code that FireFly posted into your 'phpinclude' template if you want to include files. No code hacking is needed.

              Comment

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