Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Location
    QLD - Aussie
    Posts
    192
    Plugin Contributions
    0

    Default Adding text to footer

    Hi
    I know this is probably glaringly simple, but I'd like to add some text to my footer under the copyright & powered by zencart line

    I've checked out the "How do I change the Copyright message in the footer?" tutorial, but not sure how to add additional text.

    thanks
    S

  2. #2

    Default Re: Adding text to footer

    Go into /includes/templates/YOURTEMPLATE/common/tpl_footer.php. Put your changes after
    <!--eof-banner #5 display -->
    It is at the bottom of the file.

    Add text, pics, etc.....

  3. #3
    Join Date
    Mar 2008
    Location
    QLD - Aussie
    Posts
    192
    Plugin Contributions
    0

    Default Re: Adding text to footer

    Thanks Straw for your reply.

    My file doesn't have that statement at the bottom; this is what I have:

    <?php
    /**
    * Common Template - tpl_footer.php
    *
    * this file can be copied to /templates/your_template_dir/pagename<br />
    * example: to override the privacy page<br />
    * make a directory /templates/my_template/privacy<br />
    * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php<br />
    * to override the global settings and turn off the footer un-comment the following line:<br />
    * <br />
    * $flag_disable_footer = true;<br />
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_footer.php 3183 2006-03-14 07:58:59Z birdbrain $
    */
    require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));
    ?>

    <?php
    if (!$flag_disable_footer) {

    ?>






    <div id="footer">
    <div class="side_left">
    <div class="side_right">
    <div class="side_top">
    <div class="side_bot">
    <div class="left_top">
    <div class="right_top">
    <div class="left_bot">
    <div class="right_bot">
    <div class="inside_footer">
    <div class="column">
    <div class="indent">
    <?php echo zen_image(DIR_WS_TEMPLATE.'images/cards.jpg'); ?>
    <!-- GeoTrust True Site [tm] Smart Icon tag. Do not edit. -->
    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
    SRC="//smarticon.geotrust.com/si.js"></SCRIPT>
    <!-- end GeoTrust Smart Icon tag -->
    </div>
    </div>
    <div class="column_1">
    <div class="indent">
    <span>
    <?php
    if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) {
    ?>
    <a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG; ?>"><?php echo HEADER_TITLE_CATALOG; ?></a><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?>

    <?php } ?>
    </span><br />
    <?php echo FOOTER_TEXT_BODY; ?> <a href="<?=zen_href_link(FILENAME_PRIVACY)?>"></a>
    </div>
    </div><br class="clear" />
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>









    <?php
    } // flag_disable_footer
    ?>

    So sorry for my ignorance do I have to add the statement so that I can add text?

    Many thanks
    S

  4. #4

    Default Re: Adding text to footer

    Not a big deal. I assumed yours had that and was just using that as a marker to look for. You don't need it. Put your text under the last </div>. You could also place text above the first <div class= > if that looks better for what you are trying to accomplish.

    I would also look at your css file to determine what all those div classes are for. Modifying those might be better since so many were placed in the footer.

    Post a link to your site so we can see what all you have going on and have a better insight.
    Last edited by Straw; 19 Sep 2008 at 04:21 AM.

  5. #5
    Join Date
    Mar 2008
    Location
    QLD - Aussie
    Posts
    192
    Plugin Contributions
    0

    Default Re: Adding text to footer

    Hi Straw - I'll give that a go! - thank you

    here is my site for greater insight (I still have heaps to go, tho)

    http://partykitnkaboodle.com.au/zens...ain_page=index

    Thanks for your help - been on a giant learning curve ride & getting a bit brain-weary

    S

  6. #6

    Default Re: Adding text to footer

    I would also look at your css file to determine what all those div classes are for. Modifying those might be better since so many were placed in the footer.
    Ignore that. I just looked at your site and those are just tied to images used to create the green background of the footer.

    I like your overall look, bright and cheery.

    Put your text above this last bit on the page:

    PHP Code:
    .....text text text text.....

    <?php
    // flag_disable_footer
    ?>

 

 

Similar Threads

  1. v139h Footer text is centered, but not centered in the footer block
    By brush4hire in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 May 2012, 03:17 PM
  2. Questions about adding text & links to footer
    By cslakans in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 5 Dec 2009, 02:01 PM
  3. Footer text
    By isaacr25 in forum General Questions
    Replies: 1
    Last Post: 24 Nov 2007, 05:45 AM
  4. Footer Text
    By CnTGifts in forum General Questions
    Replies: 2
    Last Post: 19 Nov 2007, 03:55 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