Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Posts
    13
    Plugin Contributions
    0

    Default Move Information to footer??

    Hi, I am trying to move the Information's contents - shipping & returns, conditions of use, contact us etc to the footer.

    I know that i have to include something like this:

    <?php if (DEFINE_CONTACT_US_STATUS <= 1) { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?></li>
    <?php } ?>

    into the tpl_fopter.php

    This is an example I found in this forum.

    However, for the shipping & returns etc, I dont know what to change for the filename.

    I am guessing that shipping & returns should input this:

    <?php if (DEFINE_SHIPPING_INFO_STATUS <= 1) { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_SHIPPINGINFO, '', 'SSL') . '">' . BOX_INFORMATION_SHIPPING. '</a>'; ?></li>
    <?php } ?>

    But it doesnt work. Where can I find the correct filename for those pages in the information sidebox?

    Thanks so much.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Move Information to footer??

    I think you're trying to edit the wrong php file.

    You need to COPY english.php in your LANGUAGES folder, and then when you've edited it, ftp it to your CUSTOM_TEMPLATE for over-ride purposes.

    Look for the line:-

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

    in english.php

    BUT...

    having said that... why don't you consider using EZ pages (footer bar active) to do this for you?
    20 years a Zencart User

  3. #3
    Join Date
    Feb 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Move Information to footer??

    Thank you so much for your suggestion. I have managed to solve this problem by using ezpages. Thanks!

 

 

Similar Threads

  1. Move 'information' sidebox to the footer
    By CheekyCockney in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 5 May 2016, 10:38 PM
  2. v154 How to move banner closer to footer or insert image on top of footer
    By justmusthave in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Feb 2015, 12:48 PM
  3. how to move link from more information to information side box?
    By mrobson86 in forum General Questions
    Replies: 1
    Last Post: 21 Sep 2011, 09:01 PM
  4. Move links to footer informatoin box
    By rogercruise in forum Basic Configuration
    Replies: 4
    Last Post: 20 Jul 2011, 02:38 PM
  5. Move Information in Sidebox into the footer
    By jrstaatsiii in forum Basic Configuration
    Replies: 8
    Last Post: 26 Jan 2009, 07:09 PM

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