Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Feb 2012
    Posts
    6
    Plugin Contributions
    0

    application error remove and change main page logo and sales message?

    hi folks, does anyone know how to change the zen cart banner logo at the top of the main page. also how do you update or change the "sales message goes here" inscription next to it.? i' ve searched in the admin section but it doesn't seem to be there. how did those of you with your own logos and slogans change it?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: how to remove and change main page logo and sales message?

    You'll need to become familiar with your admin's Tools->Developers Tool Kit. Use it to search for the string "sales message goes here" and it will display the file(s) in which that string is found ... so that you can edit them ...

  3. #3
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

  4. #4
    Join Date
    Dec 2008
    Location
    Utah, USA
    Posts
    182
    Plugin Contributions
    10

    Default Re: how to remove and change main page logo and sales message?

    includes > languages > english > YOUR TEMPLATE > header.php
    Zen Cart Help and Design

    If you don’t build your dream, someone else will hire you to help them build theirs.

  5. #5
    Join Date
    Sep 2011
    Posts
    38
    Plugin Contributions
    0

    Default Re: how to remove and change main page logo and sales message?

    I can't seem to change the sales tag

    /includes/languages/english/custom/header.php looks like:
    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2006 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: header.php 2940 2006-02-02 04:29:05Z drbyte $
    */

    // header text in includes/header.php
    define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');
    define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
    define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
    define('HEADER_TITLE_CHECKOUT', 'Checkout');
    define('HEADER_TITLE_TOP', 'Top');
    define('HEADER_TITLE_CATALOG', 'Home');
    define('HEADER_TITLE_LOGOFF', 'Log Out');
    define('HEADER_TITLE_LOGIN', 'Log In');

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Freefly :: Purveyors of all things skydiving');
    define('HEADER_SALES_TEXT', 'Buy stuff from us');
    define('HEADER_LOGO_WIDTH', '192px');
    define('HEADER_LOGO_HEIGHT', '64px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');

    // header Search Button/Box Search Button
    define('HEADER_SEARCH_BUTTON','Search');
    define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here');

    ?>

    I've used Admin >> Tools >> Developers Tool Kit to find "sales message" and got this:
    Searching 909 files ... for: sales message

    $HOME/includes/languages/english/classic/header.php

    Line #21 : define('HEADER_SALES_TEXT', '<h1>Sales Message Goes Here</h1>');

    I realise that I can change it in this file but I want the change to be immune from upgrades.

    Aside from creating header.php in the custom directory (as per above) is there a setting I need to change to make ZC look at this file?

    I am on 1.3.9h.

    Thanks
    Kenton

  6. #6
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: how to remove and change main page logo and sales message?

    /includes/languages/english/custom/header.php looks like:
    Is your template actually named "custom". If not, that would be the problem.

  7. #7
    Join Date
    Sep 2011
    Posts
    38
    Plugin Contributions
    0

    Default Re: how to remove and change main page logo and sales message?

    Quote Originally Posted by RescoCCC View Post
    Is your template actually named "custom". If not, that would be the problem.
    Umm, I have a directory called custom as per above, but it sounds like (from your question) that I need a template called "custom" to get this to work. How do I set that up?

    Kenton

  8. #8
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: how to remove and change main page logo and sales message?

    Quote Originally Posted by Kenton View Post
    Umm, I have a directory called custom as per above, but it sounds like (from your question) that I need a template called "custom" to get this to work. How do I set that up?

    Kenton
    When you see "custom" in faq's and tutorials, that's a substitution for the name of the template you're actually using. So, let's say your template is called kenton_template. The path for the file would then be:

    includes/languages/english/kenton_template/header.php

    The overrides system is built around the template system. So you would name any overrides folders you create with exactly the same name as the template you're using.

    And the template should not be the classic of template_default. Tutorial for creating a custom template:

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

    Or you can download one from the add-ons section.
    Last edited by RescoCCC; 23 Feb 2012 at 09:01 PM.

  9. #9
    Join Date
    Sep 2011
    Posts
    38
    Plugin Contributions
    0

    Default Re: how to remove and change main page logo and sales message?

    Yes, I knew about the "custom" thing but ... I've missed the step supplied in your link about creating the template.

    THANKS!!! The missing link!

    Kenton

  10. #10
    Join Date
    Feb 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: how to remove and change main page logo and sales message?

    Hello Mr.
    i had try all my possible way to edit sales message goes here and logo
    I`m use-ing Zen Cart v1.3.9d[COLOR="Red"]
    Template Language Template Name Template Directory
    Default(All) Classic Contemporary Green classic


    Pls. help

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Remove or Change Main Page Logo
    By wangel in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Jul 2013, 02:07 AM
  2. move logo and sales message display
    By gsdcypher in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Feb 2008, 07:14 PM
  3. Change logo, sales message, and successfull inatall notice
    By brasto in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 22 Nov 2007, 08:40 AM
  4. Sales message and logo won't go away
    By SpunkyOne in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Feb 2007, 10:00 AM
  5. How do I increase the gap between logo and Sales message ?
    By zenrajan in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Jan 2007, 02:24 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