Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    red flag Pls Help: How Do I Remove The Following...

    Dear Gurus,
    I need help. I have 2 issues here:

    How can I remove the following words:

    "Sales Message Goes Here" and "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution."

    Refer to picture below:





    For ""Sales Message Goes Here", my HTML code are as per following:

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

    define('HEADER_SALES_TEXT', 'TagLine Here');

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



    ?>

    while for "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution." my HTML codes are:

    <?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: index.php 6550 2007-07-05 03:54:54Z drbyte $
    */

    define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');

    // Showcase vs Store
    if (STORE_STATUS == '0') {
    define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
    } else {
    define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');
    }

    define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');

    define('TEXT_INFORMATION', 'Define your main Index page copy here.');

    //moved to english
    //define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

    //define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
    //define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
    //define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

    if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
    // This section deals with product-listing page contents
    define('HEADING_TITLE', 'Available Products');
    define('TABLE_HEADING_IMAGE', 'Product Image');
    define('TABLE_HEADING_MODEL', 'Model');
    define('TABLE_HEADING_PRODUCTS', 'Product Name');
    define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
    define('TABLE_HEADING_QUANTITY', 'Quantity');
    define('TABLE_HEADING_PRICE', 'Price');
    define('TABLE_HEADING_WEIGHT', 'Weight');
    define('TABLE_HEADING_BUY_NOW', 'Buy Now');
    define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
    define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
    define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
    define('TEXT_SHOW', 'Filter Results by:');
    define('TEXT_BUY', 'Buy 1 \'');
    define('TEXT_NOW', '\' now');
    define('TEXT_ALL_CATEGORIES', 'All Categories');
    define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
    } elseif ($category_depth == 'top') {
    // This section deals with the "home" page at the top level with no options/products selected
    /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('');
    } elseif ($category_depth == 'nested') {
    // This section deals with displaying a subcategory
    /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('');
    }
    ?>

    after editing it, I should overwrite it in folder /public_html/cart/includes/languages/english

    Am I right? Pls help... Thanks.

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

    Default Re: Pls Help: How Do I Remove The Following...

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

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

    Close. Once you edit those files, they should be saved to includes/languages/english/CUSTOM, where CUSTOM is the name of your custom template folders.

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

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

  3. #3
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Pls Help: How Do I Remove The Following...

    Thanks man... that is helpful!

  4. #4
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Pls Help: How Do I Remove The Following...

    Quote Originally Posted by stevesh View Post
    https://www.zen-cart.com/tutorials/i...hp?article=129

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

    Close. Once you edit those files, they should be saved to includes/languages/english/CUSTOM, where CUSTOM is the name of your custom template folders.

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

    https://www.zen-cart.com/tutorials/i...hp?article=230
    I just check but I couldn't locate the custom folder (pls refer to the picture below):



    Pls advice

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

    Default Re: Pls Help: How Do I Remove The Following...

    References to "custom" template assume that you have followed the advice in the Tutorials section and created your own custom template, rather than just editing classic.

    If you haven't done that, then they should be read as references to classic instead, but the advice would still be to copy your changes to classic to your own "custom" template, the actual name of which is your choice.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Pls Help: How Do I Remove The Following...

    Quote Originally Posted by kuroi View Post
    References to "custom" template assume that you have followed the advice in the Tutorials section and created your own custom template, rather than just editing classic.

    If you haven't done that, then they should be read as references to classic instead, but the advice would still be to copy your changes to classic to your own "custom" template, the actual name of which is your choice.

    I tried but still fail. Is it possible to help me to take a look? Probably you can give me your email address and I'll send the info to you. Thanks

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

    Default Re: Pls Help: How Do I Remove The Following...

    Please read the tutorials again. Once you create a custom template, you must select it from the dropdown menu in admin>tools>template selection.

    This list is a bit outdated, but it'll give you an idea where to start to create a very basic custom template (you can build from there):
    • 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 and header text)
    • includes/templates/YOUR_TEMPLATE/template_info.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_header.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/images/logo.gif (or .jpg or .png)
    • 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.

    Note: if you've changed the height of the logo in header.php, you may need to change it in your stylesheet as well:

    #logoWrapper{
    background-image: url(../images/header_bg.jpg);
    background-repeat: repeat-x;
    background-color: #ffffff;
    height:75px; <-adjust this line if necessary
    }

  8. #8
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Pls Help: How Do I Remove The Following...

    Quote Originally Posted by afo View Post
    Please read the tutorials again. Once you create a custom template, you must select it from the dropdown menu in admin>tools>template selection.

    This list is a bit outdated, but it'll give you an idea where to start to create a very basic custom template (you can build from there):
    • 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 and header text)
    • includes/templates/YOUR_TEMPLATE/template_info.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_header.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/images/logo.gif (or .jpg or .png)
    • 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.

    Note: if you've changed the height of the logo in header.php, you may need to change it in your stylesheet as well:

    #logoWrapper{
    background-image: url(../images/header_bg.jpg);
    background-repeat: repeat-x;
    background-color: #ffffff;
    height:75px; <-adjust this line if necessary
    }

    Well, basically it's not a custom template. The template that I'm using is based on the following info:

    Template Author : Zen Cart Team (c) 2006
    Template Version : Version 1.3.5

    Any idea?

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

    Default Re: Pls Help: How Do I Remove The Following...

    Quote Originally Posted by SimonTemplar View Post
    Well, basically it's not a custom template. The template that I'm using is based on the following info:

    Template Author : Zen Cart Team (c) 2006
    Template Version : Version 1.3.5

    Any idea?
    That is EXACTLY what a custom template is. You copy the file you want to edit from the classic folder into a folder you create and make your changes in the copy. That's EXACTLY what the tutorials tell you to do. Please read them again.

    All of the templates available at http://(sorry, site offline)/ were created using the override system. Not all will contain the files I listed, but all were done on the same theory.

  10. #10
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Pls Help: How Do I Remove The Following...

    Quote Originally Posted by afo View Post
    That is EXACTLY what a custom template is. You copy the file you want to edit from the classic folder into a folder you create and make your changes in the copy. That's EXACTLY what the tutorials tell you to do. Please read them again.
    I think I'm almost there:

    The folder are as per following:

    /public_html/includes/languages/english

    But I still see the following:

    HEADING_TITLE
    TEXT_GREETING_GUEST

    in www.shuttermall.com

    And the HTML code are as per following:

    <?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: index.php 6550 2007-07-05 03:54:54Z drbyte $
    */

    define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');

    // Showcase vs Store
    if (STORE_STATUS == '0') {
    define('');
    } else {
    define('');
    }

    define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');

    define('TEXT_INFORMATION', 'Define your main Index page copy here.');

    //moved to english
    //define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

    //define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
    //define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
    //define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

    if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
    // This section deals with product-listing page contents
    define('HEADING_TITLE', 'Available Products');
    define('TABLE_HEADING_IMAGE', 'Product Image');
    define('TABLE_HEADING_MODEL', 'Model');
    define('TABLE_HEADING_PRODUCTS', 'Product Name');
    define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
    define('TABLE_HEADING_QUANTITY', 'Quantity');
    define('TABLE_HEADING_PRICE', 'Price');
    define('TABLE_HEADING_WEIGHT', 'Weight');
    define('TABLE_HEADING_BUY_NOW', 'Buy Now');
    define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
    define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
    define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
    define('TEXT_SHOW', 'Filter Results by:');
    define('TEXT_BUY', 'Buy 1 \'');
    define('TEXT_NOW', '\' now');
    define('TEXT_ALL_CATEGORIES', 'All Categories');
    define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
    } elseif ($category_depth == 'top') {
    // This section deals with the "home" page at the top level with no options/products selected
    /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('');
    } elseif ($category_depth == 'nested') {
    // This section deals with displaying a subcategory
    /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('');
    }
    ?>


    How should I change my HTML and overwrite the current one? Pls advice...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How did you hear about us?? help pls
    By prissypups in forum Managing Customers and Orders
    Replies: 16
    Last Post: 18 Nov 2011, 02:52 PM
  2. Code help, pls - how do I reverse the order of these 2 radio buttons?
    By haostaff in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 30 Jan 2010, 04:59 AM
  3. How do I set up 4 flat shipping zones... pls help
    By epicautoteks in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 14 Feb 2009, 07:22 AM
  4. How to put images in email body? Help Pls!
    By dwarfs8 in forum General Questions
    Replies: 3
    Last Post: 30 Sep 2008, 08:01 AM
  5. how to set-up the following shipping rates?
    By tbrides in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 18 Jun 2008, 11:49 AM

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