Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2009
    Posts
    51
    Plugin Contributions
    0

    Default I cant get the php include statement to work in the tpl_header file.

    Hi every1,

    Little bit stuck on something.

    I am trying to include a navigation bar into the tpl header file:
    http://www.thebusinessopportunist.co...ommon/nav.html

    In the tpl_header file, i have deleted everything for simplicity and just written:

    <?php include ('nav.html'); ?>

    However, on the pages of the site: http://www.thebusinessopportunist.com/monique/
    The navigation bar is not loading.

    The nav.html page does use some javascript files, however I have tried the include statement in a blank php document before, and this worked.

    Any help would be great.

    Thanks very much!

  2. #2
    Join Date
    Jun 2009
    Posts
    51
    Plugin Contributions
    0

    Default Re: I cant get the php include statement to work in the tpl_header file.

    Hi guys,

    Managed to solve my problem. For any one interested, I just copied all the js files that i required to the root of the website.

    If anyone has probs with JS nav bars, feel free to PM me.

 

 

Similar Threads

  1. Missing tpl_header.php file
    By stalb33 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Nov 2008, 12:48 PM
  2. Replies: 13
    Last Post: 23 Sep 2008, 05:27 AM
  3. Oops! Help with tpl_header.php file.
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Mar 2008, 02:51 AM
  4. tpl_header.php file additions with html - wheres the css ?
    By kitchen table legs in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 21 Sep 2007, 08:09 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •