Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2005
    Posts
    13
    Plugin Contributions
    0

    Default Header in 1.3????

    Okay I have looked and looked through the forums, I apologize if this has already been asked, I could not find it. I understand that header.php was taken out of the newest release of zen. My question is what if part of my navigation structure is in my header? Is there anyway to allow header.php to show up in the newest release of zen? I'm not sure if this makes since, but any help would be great!

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Header in 1.3????

    Quote Originally Posted by dannyboye
    Okay I have looked and looked through the forums, I apologize if this has already been asked, I could not find it. I understand that header.php was taken out of the newest release of zen. My question is what if part of my navigation structure is in my header? Is there anyway to allow header.php to show up in the newest release of zen? I'm not sure if this makes since, but any help would be great!
    The were two header.php files in ealier versions of Zen Cart, one in languages and one in modules. The first is still there and contains default text, image info etc for your header. The other, which is the one that I think interests you, has been replacedby the template common file tpl_header.php. So whatever you previously did in modules/header.php, you would now do to templates/common/tpl_header.php.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Aug 2005
    Posts
    13
    Plugin Contributions
    0

    Re: Header in 1.3????

    I still dont get it. In my original tpl_main_page.php it calls for this code.

    <?php require(DIR_WS_COMMON . 'tpl_header.php'); ?>

    If I take that out of the tpl_main_page.php the page loads fine, but with no header. If I leave that in, the page comes up with this error.



    Warning: main(includes/modules/header.php): failed to open stream: No such file or directory in /home/dramagea/public_html/test_cart/includes/templates/tm000/common/tpl_main_page.php on line 45

    Warning: main(includes/modules/header.php): failed to open stream: No such file or directory in /home/dramagea/public_html/test_cart/includes/templates/tm000/common/tpl_main_page.php on line 45

    Warning: main(includes/modules/header.php): failed to open stream: No such file or directory in /home/dramagea/public_html/test_cart/includes/templates/tm000/common/tpl_main_page.php on line 45

    Fatal error: main(): Failed opening required 'includes/modules/header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dramagea/public_html/test_cart/includes/templates/tm000/common/tpl_main_page.php on line 45

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Header in 1.3????

    Ahh. Now I see the problem. It looks to me as though you have purcahsed a template for an earlier verion of Zen Cart and are trying to use it in v1.3 where the structure is different.

    I suspect that even if you solve this, you will just uncover more problems. Did you buy the template recently? If so, I would recommend putting pressue oin your vendor to supply a version that works with the current version of Zen Cart. Otherwise, you could install an earlier version of Zen Cart - v1.2.7d is still available for download from Source Forge. Finally if you have php skills and knowledge of Zen Cart structures you could work through the problems to upgrade the template. Alternatively, you could pay somebody to upgrade it for you.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Need help with header image/header area-Apple Zen
    By Samuz in forum Addon Templates
    Replies: 2
    Last Post: 9 Jul 2010, 12:37 AM
  2. header.php and tpl header image remover
    By d1rage5 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Jul 2008, 09:56 PM
  3. Quick tip: Header area bigger than header itself
    By xlopez in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 15 Aug 2007, 08:37 PM
  4. Zencart header still showing after replacing header.jpg
    By amieco in forum General Questions
    Replies: 1
    Last Post: 4 Jul 2007, 06:36 PM

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