Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Posts
    440
    Plugin Contributions
    0

    Default Adding Powered By Zen Cart

    Howdy

    Hi can anyone help me pay tribute to the team....I would like to know how to add the text powered by zen cart in my footer.

    This is my template www.adulttoys4u.com.au/shop

    Cheers
    Renz

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

    Default Re: Adding Powered By Zen Cart

    As you site isn't multilingual, the easiest way would be to edit it straight into your includes/templates/theme163/common/tpl_footer.php file.
    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
    Jun 2006
    Posts
    440
    Plugin Contributions
    0

    Default Re: Adding Powered By Zen Cart

    Thanks Kuroi for your lightning response....would you be so kind as to advise on what I should write in order to be below the copyright and centre......Mr Cheeky is adding the code..
    Thanks A million

    <?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 class="footer">
    <div class="right"> <?php echo zen_image(DIR_WS_TEMPLATE.'images/carts.gif'); ?> </div>
    <div class="left">
    <div class="margin">
    <?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 } ?>
    <div class="copy"align="center"> <?php echo FOOTER_TEXT_BODY; ?>
    </a>
    <?php
    if (SHOW_FOOTER_IP == '1') {
    ?>
    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>
    <?php
    }
    ?>
    </div>
    </div>
    </div>
    <div class="left">
    <div class="margin1"> <?php echo zen_image(DIR_WS_TEMPLATE.'images/geotrust.jpg'); ?></div>
    </div>
    <?php
    } // flag_disable_footer
    ?>

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

    Default Re: Adding Powered By Zen Cart

    It looks like your template designer just edited out the 'Powered by Zencart' from the FOOTER_TEXT_BODY define in english.php, line 15. Here's what it looks like in a stock Zencart installation:

    Line #15 : define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

  5. #5
    Join Date
    Jun 2006
    Posts
    440
    Plugin Contributions
    0

    Default Re: Adding Powered By Zen Cart

    Many Thanks,

    Something very similar to your suggestion worked for me.
    Its personalized to show site Owner, web design and powered by zen cart

    includes\languages\english.php at line 16

    define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Web Design <a href="http://www.compudoc.net.au" target="_blank">Compu Doc</a></a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

    Best regards
    Renz

 

 

Similar Threads

  1. Replies: 3
    Last Post: 25 Nov 2007, 07:48 PM
  2. Powered by Zen-Cart
    By Shtocoh in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 8 Feb 2007, 05:15 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