Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    May 2009
    Location
    Longmont, CO
    Posts
    91
    Plugin Contributions
    0

    Default Main page welcome message

    Hi everybody!

    I want to reclaim the space at the top of the main page where the Congratulations! You have successfully installed ....... or Welcome to my store message goes.

    I have no text between the quotes in includes/languages/TEMPLATE/index.php but it still takes up that space.

    What can i turn off or delete from index.php so my page starts at the top?

    Thanks
    Drunkguy

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Main page welcome message

    Paste back the .php file you are refering to please..

    includes/ languages/ english/ index.php

    Is TEMPLATE your override directory name?

  3. #3
    Join Date
    May 2009
    Location
    Longmont, CO
    Posts
    91
    Plugin Contributions
    0

    Default Re: Main page welcome message

    Yes, TEMPLATE is my template override dir.

    <?php
    /**
    * Template designed by zen-cart-power.net*
    * Power your Zen Cart!

    * @copyright Copyright 2008-2010 Newlement
    */

    define('TEXT_MAIN','Our professional services will help you to breathe new life into your business. Feel free to describe the functionality of modules and templates you need to enhance your Zen Cart by sending us a request for quote. Even more, you can use our site to download free templates and modules for your Zen Cart! Make your store eminent and surely customers will appreciate that. 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('HEADING_TITLE', 'THIS IS EMPTY');
    } 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('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.');
    }
    ?>

    Thanks

  4. #4
    Join Date
    Mar 2011
    Posts
    148
    Plugin Contributions
    0

    Default Re: Main page welcome message

    Where would a person go to change the color of this text?

  5. #5
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Main page welcome message

    Then this will be the path you the index.php file..
    includes/ languages/ english/ TEMPLATE/ index.php

    1. also you have another one in the file also
    2. just look below the first one that is blank
    3. define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.');
    4. Change to:
    5. define('HEADING_TITLE', '');

    would you please post a link to your site or just PM me the Url...

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Main page welcome message

    Quote Originally Posted by sofasurfer View Post
    Where would a person go to change the color of this text?
    This will be done in this file:
    includes/ templates/ your_template/ css/ stylesheet.css
    1. #indexDefaultHeading {color: #ff0000;}
    2. just add it to the bottom of the stylesheet.css

  7. #7
    Join Date
    May 2009
    Location
    Longmont, CO
    Posts
    91
    Plugin Contributions
    0

    Default Re: Main page welcome message

    angiejolee.com

    You will see the space below the nav bar and the main page area display. The space is where the welcome message is displaying the empty string and I want the space to go away.

    Thanks

  8. #8
    Join Date
    Mar 2011
    Posts
    148
    Plugin Contributions
    0

    Default Re: Main page welcome message

    I sure appreciate your help but this did not work. I tried it in every stylesheet I could find and the effect is notta.
    I added the code at the end of the file and I also added just "color: #ff0000;
    " to...

    #indexDefaultHeading {
    margin: 0;
    padding:0;
    }

    like this...

    #indexDefaultHeading {
    margin: 0;
    padding:0;
    color: #ff0000;
    }

  9. #9
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Main page welcome message

    Quote Originally Posted by Drunkguy View Post
    angiejolee.com

    You will see the space below the nav bar and the main page area display. The space is where the welcome message is displaying the empty string and I want the space to go away.

    Thanks
    add this to the stylesheet.css at the bottom..
    #indexDefaultHeading {
    display: none;
    }

  10. #10
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Main page welcome message

    Quote Originally Posted by sofasurfer View Post
    I sure appreciate your help but this did not work. I tried it in every stylesheet I could find and the effect is notta.
    I added the code at the end of the file and I also added just "color: #ff0000;
    " to...

    #indexDefaultHeading {
    margin: 0;
    padding:0;
    }

    like this...

    #indexDefaultHeading {
    margin: 0;
    padding:0;
    color: #ff0000;
    }
    Please post a link to your site please..

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Welcome message on main page
    By busiherb in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Oct 2010, 01:56 PM
  2. Welcome Guest on main page?
    By lisleuse in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 15 Nov 2009, 06:23 AM
  3. Displaying welcome message in each page
    By suman07 in forum General Questions
    Replies: 1
    Last Post: 12 Dec 2007, 06:27 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