Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  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
    ?>

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

    Default Re: Adding text to footer

    Thank you Straw - I'll try that out

    - oh - and thanks so much for your comments
    Ditto for your site

    all the best

    S

  8. #8
    Join Date
    Oct 2008
    Location
    Hornell, NY
    Posts
    334
    Plugin Contributions
    1

    Default Re: Adding text to footer

    Id like to add a few images in the footer above the IP and copyright

    do I open the tpl_footer.php and add this...


    PHP Code:
    <!-- Begin add paypal and cc logos -->
      <
    tr>
          <
    td align="center" width="100%">
    <!--
    Spam Buster added by Kelly Keeton (www.eshopping4less.com)-->
    <
    SCRIPT LANGUAGE="Javascript">
    // Change User Name and Domain Name
    username="chris32882"
    at="@"
    domainname="themccormickshop.com"
    // End of Change
    document.write("<A HREF='https://www.paypal.com/verified/pal="+username+""+at+""+domainname+"'><img src='http://www.paypal.com/en_US/i/icon/verification_seal.gif' border='0'></a>")
    </script>
        </td>
      </tr>
      <tr>
            <td valign=top align=center><img src="https://www.paypal.com/en_US/i/logo/logo_ccVisa.gif" border=0 alt=" Visa"><wbr><img src="https://www.paypal.com/en_US/i/logo/logo_ccMC.gif" border=0 alt=" Mastercard"><wbr><img src="https://www.paypal.com/en_US/i/logo/logo_ccDiscover.gif" border=0 alt=" Discover"><wbr><img src="https://www.paypal.com/en_US/i/logo/logo_ccAmex.gif" border=0 alt=" American Express"><wbr><img src="https://www.paypal.com/en_US/i/logo/logo_ccEcheck.gif" border=0 alt=" eCheck"></td>
      </tr>
    <!-- End add paypal and cc logos --> 
    above...

    PHP Code:
    <!--bof-ip address display -->
    <?php
    if (SHOW_FOOTER_IP == '1') {
    ?>
    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS '  ' $_SERVER['REMOTE_ADDR']; ?></div>
    <?php
    }
    ?>
    <!--eof-ip address display -->
    website is below :)

  9. #9
    Join Date
    Oct 2008
    Location
    Hornell, NY
    Posts
    334
    Plugin Contributions
    1

    Default Re: Adding text to footer

    I figured it out, it was quite easy after all

    This is what I did

    I made a PayPal Transparent logo with PhotoShop CS3 (also uploaded it to contributions)

    Keep in mind you can do this for Text as well :)

    I edited my stylesheet.css

    Which is located in: includes/templates/CUSTOM/css

    find this line in the stylesheet.css file


    /*wrappers - page or section containers*/

    right below it add the following:

    PHP Code:
    #paypalcc {
        
    text-align:center;

    You can put this basicly anywhere you want, but what I did is put it in the footer.

    Locate tpl_footer.php in includes/templates/CUSTOM/common

    Under this line <!--eof-navigation display -->

    add the following code:

    PHP Code:
    <!-- Begin add paypal and cc logos -->
    <
    div id="paypalcc">
    <!--
    Spam Buster by Kelly Keeton (www.eshopping4less.com)-->
    <
    SCRIPT LANGUAGE="Javascript">
    // Change User Name and Domain Name
    username="YourUserName"
    at="@"
    domainname="YourShopName.com"
    // End of Change
    document.write("<A HREF='https://www.paypal.com/verified/pal="+username+""+at+""+domainname+"'><img src='http://YourShopName.com/images/paypal.gif' border='0'> </a>")
    </script>
      </div>
    <!-- End add paypal and cc logos --> 
    Make sure to download the logo in Contributions labled "PayPal logo with CC" and upload to your sites image folder.

    Thought I would share this with everyone. Thanks for the help!
    Last edited by chris32882; 23 Oct 2008 at 08:40 AM. Reason: edited code

  10. #10
    Join Date
    Oct 2008
    Location
    Hornell, NY
    Posts
    334
    Plugin Contributions
    1

    Default Re: Adding text to footer

    Quote Originally Posted by chris32882 View Post
    I figured it out, it was quite easy after all

    This is what I did

    I made a PayPal Transparent logo with PhotoShop CS3 (also uploaded it to contributions)

    Keep in mind you can do this for Text as well :)

    I edited my stylesheet.css

    Which is located in: includes/templates/CUSTOM/css

    find this line in the stylesheet.css file


    /*wrappers - page or section containers*/

    right below it add the following:

    PHP Code:
    #paypalcc {
        
    text-align:center;

    You can put this basicly anywhere you want, but what I did is put it in the footer.

    Locate tpl_footer.php in includes/templates/CUSTOM/common

    Under this line <!--eof-navigation display -->

    add the following code:

    PHP Code:
    <!-- Begin add paypal and cc logos -->
    <
    div id="paypalcc">
    <!--
    Spam Buster by Kelly Keeton (www.eshopping4less.com)-->
    <
    SCRIPT LANGUAGE="Javascript">
    // Change User Name and Domain Name
    username="YourUserName"
    at="@"
    domainname="YourShopName.com"
    // End of Change
    document.write("<A HREF='https://www.paypal.com/verified/pal="+username+""+at+""+domainname+"'><img src='http://YourShopName.com/images/paypal.gif' border='0'> </a>")
    </script>
      </div>
    <!-- End add paypal and cc logos --> 
    Make sure to download the logo in Contributions labled "PayPal logo with CC" and upload to your sites image folder.

    Thought I would share this with everyone. Thanks for the help!
    This probably wasn't a good place to post this, I should of posted this in another thread, can this be moved to a proper thread? Sorry

 

 
Page 1 of 2 12 LastLast

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

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