Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    329
    Plugin Contributions
    0

    Default Include tpl_header.php to phpbb

    Is there a way to incude the zencart header -> tpl_header.php as the header of the phpbb Prosilver forum.

    I am using the correct PHPBB include method

    Code:
    <!-- INCLUDEPHP ./../includes/templates/MYTEMPLATE/common/tpl_header.php -->
    But get the following error:

    Code:
    Fatal error: Call to a member function size() on a non-object in /home/MYUSR/public_html/includes/templates/MYTEMPLATE/common/tpl_header.php on line 23
    Is there a way to do this?

    Thanks in Advance

    ~D

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Include ZenCart tpl_header.php to phpbb

    Here's how we did it in common.css. Rename your Zencart header image as header_bg.jpg and save it in the phpBB template's theme/images folder. Adjust the height as necessary:

    .headerbar {
    background-image: url("styles/prosilver/theme/images/header_bg.jpg");
    background-repeat: no-repeat;
    color: #FFFFFF;
    margin-bottom: 4px;
    padding: 0 5px;
    height: 50px;
    }

  3. #3
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    329
    Plugin Contributions
    0

    Default Re: Include ZenCart tpl_header.php to phpbb

    Thanks for this.

    Although I was wanting to include the entire tpl_header.php file, so it would show the navMain and so-on.

    Any ideas?

    Thanks

  4. #4
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    329
    Plugin Contributions
    0

    Default Re: Include ZenCart tpl_header.php to phpbb

    Still trying to figure this out, I want to show the shopping cart contents in the header when people are on the forum. But I'm not sure which other files I need to include so that it will use the zen functions and such.

  5. #5
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    329
    Plugin Contributions
    0

    Idea or Suggestion Re: Include ZenCart tpl_header.php to phpbb

    UPDATE: The following link solves the cart contents issue I was having:

    http://www.zen-cart.com/showthread.p...88#post1184488

 

 

Similar Threads

  1. So confusing tpl_header.php, header.php... etc..
    By neveu in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 Sep 2010, 03:20 PM
  2. I cant get the php include statement to work in the tpl_header file.
    By buxton1 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Oct 2009, 12:16 AM
  3. tpl_header.php
    By athena in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Aug 2008, 09:55 PM
  4. tpl_header.php
    By ericny in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 May 2007, 01:13 PM
  5. tpl_header.php
    By jwashburn in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 19 Jun 2006, 03:00 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR