Thread: Missing Footer

Results 1 to 10 of 16

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Missing Footer

    Quote Originally Posted by babydi77
    For the most part that is what all of mine said. Except in the tpl_footer.php it had this instead:

    require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?>

    But if I changed it, it still didn't make a differance. The last thing I did was update to the newest version. I copied all the new files over the old and have been copying the new ones I needed into the mytemplate folders.

    Diana
    Well what did you change it to?

  2. #2
    Join Date
    Dec 2005
    Posts
    42
    Plugin Contributions
    0

    Default Re: Missing Footer

    I tried what had been posted:

    require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');?>

    But still nothing.

  3. #3
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Missing Footer

    Quote Originally Posted by babydi77
    I tried what had been posted:

    require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');?>

    But still nothing.
    Well for the meanwhile can you simply say require('path to the footer.php');
    and see if it works

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Missing Footer

    Please post your template's tpl_main_page.php

  5. #5
    Join Date
    Dec 2005
    Posts
    42
    Plugin Contributions
    0

    Default Re: Missing Footer

    Starting at line 23:

    $header_template = 'tpl_header.php';
    $footer_template = 'tpl_footer.php';
    $left_column_file = 'column_left.php';
    $right_column_file = 'column_right.php';
    $body_id = str_replace('_', '', $_GET['main_page']);

    // this file can be copied to /templates/your_template_dir/pagename
    // example: to override the privacy page
    // make a directory /templates/my_template/privacy
    // copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php
    // to override the global settings and turn off columns un-comment the lines below for the correct column to turn off
    // to turn off the header and/or footer uncomment the lines below
    // Note: header can be disabled in the tpl_header.php
    // Note: footer can be disabled in the tpl_footer.php

    // $flag_disable_header = true;
    // $flag_disable_left = true;
    // $flag_disable_right = true;
    // $flag_disable_footer = true;

    ?>
    <body id="<?php echo $body_id; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
    <?php require(DIR_WS_MODULES . 'header.php'); ?>
    <table border="0" cellspacing="0" cellpadding="0" class="main_page">
    <?php
    if ($banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <tr>
    <td align="center" colspan="3"><div class="banners"><?php echo zen_display_banner('static', $banner); ?></div></td>
    </tr>
    <?php
    }
    }
    ?>
    <tr>
    <?php
    if (COLUMN_LEFT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
    // global disable of column_left
    $flag_disable_left = true;
    }
    if (!$flag_disable_left) {
    ?>

    <td valign="top" class="column_left"><table border="0" width="<?php echo COLUMN_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="0" class="column_left"><tr><td>

    <?php require(DIR_WS_MODULES . 'column_left.php'); ?>
    </td></tr></table></td>
    <?php
    }
    ?>
    <td valign="top" class="center_column" width="100%"><?php require($body_code); ?></td>
    <?php
    if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
    // global disable of column_right
    $flag_disable_right = true;
    }
    if (!$flag_disable_right) {
    ?>
    <td valign="top" class="column_right"><table border="0" width="<?php echo COLUMN_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="0" class="column_right"><tr><td>

    <?php require(DIR_WS_MODULES . 'column_right.php'); ?>
    </td></tr></table></td>
    <?php
    }
    ?>
    </tr>
    <?php
    if ($banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <tr>
    <td align="center" colspan="3"><div class="banners"><?php echo zen_display_banner('static', $banner); ?></div> </td>
    </tr>
    <?php
    }
    }
    ?>
    </table>
    <?php require(DIR_WS_MODULES . 'footer.php'); ?>
    </body>

  6. #6
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Missing Footer

    Can you just make sure that you have the footer.php at the same place as header.php?
    Thanks

  7. #7
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Missing Footer

    You are using an out of date template file. The header and footer modules have been removed for the tpl_main_page.php

    Compare your file to the template_default/common/tpl_main_page.php in v1.3.0.2

  8. #8
    Join Date
    Dec 2005
    Posts
    42
    Plugin Contributions
    0

    Default Re: Missing Footer

    It is, that is what is sooo weird.

 

 

Similar Threads

  1. Footer missing
    By irishshopper in forum Basic Configuration
    Replies: 3
    Last Post: 28 Dec 2010, 01:25 PM
  2. Missing footer
    By bear in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 22 Oct 2010, 04:48 PM
  3. Footer Missing
    By seunthegreat in forum General Questions
    Replies: 13
    Last Post: 31 May 2010, 03:50 PM
  4. Missing footer
    By starfox in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Jul 2009, 04:57 AM
  5. Footer Missing
    By kaydeem in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Jun 2009, 11:32 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