Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

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

    First of all, what you're posting is not HTML. It's php. Different animal entirely.

    Secondly, you're apparently editing the files in the classic folders instead of creating your own custom template. If you continue to do that, all your changes will be lost with the next upgrade/update because the contents of the classic folders will overwritten unless you are willing to spend a few hours comparing files.

    HEADING_TITLE is defined in a lot of places. Check includes/languages/english/index.php (if you're using the override/template system correctly, it'll be includes/languages/english/YOUR_TEMPLATE/index.php) at around lines 51 and 55.

    Check the same file for TEXT_GREETING_GUEST around lines 13 and 15.

  2. #12
    Join Date
    Sep 2009
    Posts
    2
    Plugin Contributions
    0

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

    Quote Originally Posted by SimonTemplar View Post
    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.
    Hey everyone, I'm having the same problem and I can't even get to the HML part above. I watch the video's on it and just get this......


    <a href="http://www.lulu.com/content/466605"><img src="images/large/e-start-book.gif" alt="get your manual today" title="Have you got yours yet? Join the 1000’s of Zen Cart users that have bought the only comprehensive owners manual !" /></a>
    <p>This content is located in the file at: <code> /languages/english/html_includes/classic/define_main_page.php</code></p>
    <p>You can quickly edit this content via Admin->Tools->Define Pages Editor, and select define_main_page from the pulldown.</p>
    <p><strong>NOTE: Always backup the files in<code> /languages/english/html_includes/your_template</code></strong></p>


    I'm trying to change the header and get rid of the "Slaes Message Goes Here"

    I read all of the posts here looking for a way to change it, but no luck. Ahhhhhh.

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

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


  4. #14
    Join Date
    Sep 2009
    Posts
    2
    Plugin Contributions
    0

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

    How do you get to " includes/languages/english/header.php "

    I click on everything the last two days and it's nowhere.

    Thanks

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

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

    1) Click the HOME link at the top of this page and follow the link to download Zen Cart to your computer

    2) Unzip Zen Cart on your computer. You will be able to see the folder/file structure.

    3) Get a good text editor like Notepad++ or Crimson Editor (free on the net) to use for editing php files

    4) Get an FTP client to transfer files between your computer and your website. FileZilla is good and free on the net

    5) Follow the directions in the tutorial I posted earlier as well as the others which explain the template/override system

    6) To see free Zen Cart templates in action, visit http://(sorry, site offline)/

 

 
Page 2 of 2 FirstFirst 12

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