Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2008
    Posts
    18
    Plugin Contributions
    0

    Default Adding to the Copyright@ zencart

    My website deals with images, so i would like to add an additional © notice at the bottom, but trying to do so, i managed to totally get rid of everything.

    The /englis.php file still show up as originally, but nothing is showing now

    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>');

    How do it get it all back on track?

  2. #2
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Adding to the Copyright@ zencart

    Quote Originally Posted by TheEggman View Post
    My website deals with images, so i would like to add an additional © notice at the bottom, but trying to do so, i managed to totally get rid of everything.

    The /englis.php file still show up as originally, but nothing is showing now

    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>');

    How do it get it all back on track?
    Did you make a copy of this file and place in it in your "custom" folder?
    What does the file in the "custom" folder read for the define Footer_Text?

    You can simply copy from the orig and paste the correct lines to the edited
    file.

    Tina

  3. #3
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Adding to the Copyright@ zencart

    This is what I have in one of my custom english.php files (includes/languages/MY_TEMPLATE/english.php). You can see it in action at the Fan Odyssey site in my sig.


    Code:
    define('FOOTER_TEXT_BODY', 'Copyright &copy; 2001-2007 <a href="http://www.fanodyssey.org" target="_self">Fan Odyssey</a> and <a href="http://www.pamperedwebsites.com" target="_blank">Pampered Websites</a>.
    <br />Maintained by <a href="http://www.pamperedwebsites.com" target="_blank">Pampered Websites</a>.
    <br />Hosted by <a href="http://www.camelot-hosting.com" target="_blank">Camelot Hosting</a>.
    <br />Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>.');
    HTH!
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  4. #4
    Join Date
    Jul 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: Adding to the Copyright@ zencart

    I dont have a custom made template...just use the classic zen cart one.
    So all i should need to do is change the /english.php files (according to what ive read), which i did, and ended up with...nothing. The whole text line went *poof*

    Atm all i have showing is the ip address.

    Im not sure what you mean by -
    What does the file in the "custom" folder read for the define Footer_Text? -
    not sure which file your referring to...

    Im new at this, so i probably need specific details

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

    Default Re: Adding to the Copyright@ zencart

    Before you go any further, go here:

    https://www.zen-cart.com/tutorials/i...hp?article=142

    and create your own template, even if it's just a copy of 'classic'.

    A new version of Zencart is due this year sometime, and when you upgrade, all your modifications will be overwritten if you use the 'classic' template.

    Chances are when you edited the file, you accidentally left a space or something. I'd re-upload an unmodified copy of english.php to the original folder and to the override folder you create as part of your template and start over, using afo's example as a guide.

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Adding to the Copyright@ zencart

    PLEASE create a custom template! If you don't, all your changes will be overwritten by the next upgrade/update and all the work you put into your site will be LOST.

    There's a ton of information on the override (custom template) system in the tutorials/FAQ.

    To create a very basic custom template (you can build from there), you need:
    • includes/languages/YOUR_TEMPLATE/english.php
    • includes/languages/english/YOUR_TEMPLATE/index.php
    • includes/languages/english/YOUR_TEMPLATE/meta_tags.php
    • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
    • includes/templates/YOUR_TEMPLATE/template_info.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_header.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
    • includes/templates/YOUR_TEMPLATE/images/logo.gif
    • includes/templates/YOUR_TEMPLATE/css/stylesheet.css


    Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

    Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.

    You can see the free templates available for Zen Cart in action at http://(sorry, site offline)/.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  7. #7
    Join Date
    Jul 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: Adding to the Copyright@ zencart

    Ok..done, done and done :)

    Everything copied into custom folders and updated. I now have 2 identical templates. Thx guys :)

    However, i still have a problem with the footer © notice.

    I copied afos code and put it into the new custom /english.php file, uploaded and...still nothing...and no nothing is missing :)

    So im guessing that it in some way has been deactivated.
    Is there somewhere where i can activate it again?

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

    Default Re: Adding to the Copyright@ zencart

    There's no place in admin to deactivate that.

    The only other way I can think of to delete it would be to do a display:none;
    in the legal stuff in the stylesheet, but I'd think you'd remember doing that.

    Can we see a link to your site?

  9. #9
    Join Date
    Jul 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: Adding to the Copyright@ zencart

    Fixed it.
    Downloaded a new version of the file from zencart.
    I studied it closely, and i honestly didnt see any difference, but it worked with the new files so

    Thx for all the help

 

 

Similar Threads

  1. Replies: 5
    Last Post: 31 Aug 2012, 06:58 PM
  2. moving copyright line from the center to the left
    By Princess in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Oct 2010, 11:18 PM
  3. adding additional footer above copyright
    By RobertG in forum Customization from the Admin
    Replies: 4
    Last Post: 20 Jul 2010, 06:49 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