Results 1 to 2 of 2

Hybrid View

  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. I cant get the paypal ipn to work
    By asherr6 in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 23 Jan 2010, 01:02 AM
  2. I cant get FedEx to work... Tried all the fixes
    By cscuilla in forum Addon Shipping Modules
    Replies: 1
    Last Post: 16 Jun 2009, 12:50 AM
  3. Replies: 13
    Last Post: 23 Sep 2008, 05:27 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

Posting Permissions

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