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
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
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)
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 Cheekyis 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
?>
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 © ' . 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>');
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 © ' . 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