Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Editing header banner

    Hi guys, i am trying to add my 1300 number to the top right, (Where the white space is)

    website: http://bit.ly/9aLy8U

    I am having trouble finding a relevant tutorial.

    I am trying to follow this very brief tutorial, however i cannot find the code. If someone could show me to a tutorial or help me out that would be great.

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


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

    Default Re: Editing header banner

    You should be able to use the tagline which is defined in english.php.

  3. #3
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Re: Editing header banner

    Wherre abouts do i put it? I found the tagline. but it says somethign about moving it to the meta tags doc.





    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2007 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: english.php 7440 2007-11-17 21:51:35Z drbyte $
    */

    // FOLLOWING WERE moved to meta_tags.php
    //define('TITLE', 'Zen Cart!');
    //define('SITE_TAGLINE', 'The Art of E-commerce');
    //define('CUSTOM_KEYWORDS', 'ecommerce, open source, shop, online shopping');
    // END: moved to meta_tags.php

    define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a> Buy discount xbox 360 games, Pre order games, Computer hardware. Australia Wide </a>');

    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat try 'en_US'
    // on FreeBSD try 'en_US.ISO_8859-1'
    // on Windows try 'en', or 'English'
    @setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

    ////
    // Return date in raw format
    // $date should be in format mm/dd/yyyy
    // raw date is in format YYYYMMDD, or DDMMYYYY
    if (!function_exists('zen_date_raw')) {
    function zen_date_raw($date, $reverse = false) {
    if ($reverse) {
    return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
    } else {
    return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
    }
    }
    }

    // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
    define('LANGUAGE_CURRENCY', 'USD');

    // Global entries for the <html> tag
    define('HTML_PARAMS','dir="ltr" lang="en"');

    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');

    // footer text in includes/footer.php
    define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since');

    // Define the name of your Gift Certificate as Gift Voucher, Gift Certificate, Zen Cart Dollars, etc. here for use through out the shop
    define('TEXT_GV_NAME','Gift Certificate');
    define('TEXT_GV_NAMES','Gift Certificates');

    // used for redeem code, redemption code, or redemption id
    define('TEXT_GV_REDEEM','Redemption Code');

    // used for redeem code sidebox
    define('BOX_HEADING_GV_REDEEM', TEXT_GV_NAME);
    define('BOX_GV_REDEEM_INFO', 'Redemption code: ');

    // text for gender
    define('MALE', 'Mr.');
    define('FEMALE', 'Ms.');
    define('MALE_ADDRESS', 'Mr.');
    define('FEMALE_ADDRESS', 'Ms.');

    // text for date of birth example
    define('DOB_FORMAT_STRING', 'mm/dd/yyyy');

    //text for sidebox heading links
    define('BOX_HEADING_LINKS', '&nbsp;&nbsp;[more]');

    // categories box text in sideboxes/categories.php
    define('BOX_HEADING_CATEGORIES', 'Categories');

    // manufacturers box text in sideboxes/manufacturers.php
    define('BOX_HEADING_MANUFACTURERS', 'Manufacturers');

    // whats_new box text in sideboxes/whats_new.php
    define('BOX_HEADING_WHATS_NEW', 'New Products');
    define('CATEGORIES_BOX_HEADING_WHATS_NEW', 'New Products ...');

    define('BOX_HEADING_FEATURED_PRODUCTS', 'Featured');
    define('CATEGORIES_BOX_HEADING_FEATURED_PRODUCTS', 'Featured Products ...');
    define('TEXT_NO_FEATURED_PRODUCTS', 'More featured products will be added soon. Please check back later.');

    define('TEXT_NO_ALL_PRODUCTS', 'More products will be added soon. Please check back later.');
    define('CATEGORIES_BOX_HEADING_PRODUCTS_ALL', 'All Products ...');

    // quick_find box text in sideboxes/quick_find.php
    define('BOX_HEADING_SEARCH', 'Search');
    define('BOX_SEARCH_ADVANCED_SEARCH', 'Advanced Search');

    // specials box text in sideboxes/specials.php
    define('BOX_HEADING_SPECIALS', 'Specials');
    define('CATEGORIES_BOX_HEADING_SPECIALS','Specials ...');

    // reviews box text in sideboxes/reviews.php
    define('BOX_HEADING_REVIEWS', 'Reviews');
    define('BOX_REVIEWS_WRITE_REVIEW', 'Write a review on this product.');
    define('BOX_REVIEWS_NO_REVIEWS', 'There are currently no product reviews.');
    define('BOX_REVIEWS_TEXT_OF_5_STARS', '%s of 5 Stars!');

    // shopping_cart box text in sideboxes/shopping_cart.php
    define('BOX_HEADING_SHOPPING_CART', 'Shopping Cart');
    define('BOX_SHOPPING_CART_EMPTY', 'Your cart is empty.');
    define('BOX_SHOPPING_CART_DIVIDER', 'ea.-&nbsp;');

    // order_history box text in sideboxes/order_history.php
    define('BOX_HEADING_CUSTOMER_ORDERS', 'Quick Re-Order');

    // best_sellers box text in sideboxes/best_sellers.php
    define('BOX_HEADING_BESTSELLERS', 'Bestsellers');
    define('BOX_HEADING_BESTSELLERS_IN', 'Bestsellers in<br />&nbsp;&nbsp;');

    // notifications box text in sideboxes/products_notifications.php
    define('BOX_HEADING_NOTIFICATIONS', 'Notifications');
    define('BOX_NOTIFICATIONS_NOTIFY', 'Notify me of updates to <strong>%s</strong>');
    define('BOX_NOTIFICATIONS_NOTIFY_REMOVE', 'Do not notify me of updates to <strong>%s</strong>');

    // manufacturer box text
    define('BOX_HEADING_MANUFACTURER_INFO', 'Manufacturer Info');
    define('BOX_MANUFACTURER_INFO_HOMEPAGE', '%s Homepage');
    define('BOX_MANUFACTURER_INFO_OTHER_PRODUCTS', 'Other products');

    // languages box text in sideboxes/languages.php
    define('BOX_HEADING_LANGUAGES', 'Languages');

    // currencies box text in sideboxes/currencies.php
    define('BOX_HEADING_CURRENCIES', 'Currencies');

    // information box text in sideboxes/information.php
    define('BOX_HEADING_INFORMATION', 'Information');
    define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');
    define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');
    define('BOX_INFORMATION_SHIPPING', 'Shipping &amp; Returns');
    define('BOX_INFORMATION_CONTACT', 'Contact Us');
    define('BOX_BBINDEX', 'Forum');
    define('BOX_INFORMATION_UNSUBSCRIBE', 'Newsletter Unsubscribe');

    define('BOX_INFORMATION_SITE_MAP', 'Site Map');

    // information box text in sideboxes/more_information.php - were TUTORIAL_
    define('BOX_HEADING_MORE_INFORMATION', 'More Information');
    define('BOX_INFORMATION_PAGE_2', 'Page 2');
    define('BOX_INFORMATION_PAGE_3', 'Page 3');
    define('BOX_INFORMATION_PAGE_4', 'Page 4');

    // tell a friend box text in sideboxes/tell_a_friend.php
    define('BOX_HEADING_TELL_A_FRIEND', 'Tell A Friend');
    define('BOX_TELL_A_FRIEND_TEXT', 'Tell someone you know about this product.');

    // wishlist box text in includes/boxes/wishlist.php
    define('BOX_HEADING_CUSTOMER_WISHLIST', 'My Wishlist');
    define('BOX_WISHLIST_EMPTY', 'You have no items on your Wishlist');
    define('IMAGE_BUTTON_ADD_WISHLIST', 'Add to Wishlist');
    define('TEXT_WISHLIST_COUNT', 'Currently %s items are on your Wishlist.');
    define('TEXT_DISPLAY_NUMBER_OF_WISHLIST', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> items on your wishlist)');

    //New billing address text
    define('SET_AS_PRIMARY' , 'Set as Primary Address');
    define('NEW_ADDRESS_TITLE', 'Billing Address');

    // javascript messages
    define('JS_ERROR', 'Errors have occurred during the processing of your form.\n\nPlease make the following corrections:\n\n');

    define('JS_REVIEW_TEXT', '* Please add a few more words to your comments. The review needs to have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.');
    define('JS_REVIEW_RATING', '* Please choose a rating for this item.');

    define('JS_ERROR_NO_PAYMENT_MODULE_SELECTED', '* Please select a payment method for your order.');

    define('JS_ERROR_SUBMITTED', 'This form has already been submitted. Please press OK and wait for this process to be completed.');

    define('ERROR_NO_PAYMENT_MODULE_SELECTED', 'Please select a payment method for your order.');
    define('ERROR_CONDITIONS_NOT_ACCEPTED', 'Please confirm the terms and conditions bound to this order by ticking the box below.');
    define('ERROR_PRIVACY_STATEMENT_NOT_ACCEPTED', 'Please confirm the privacy statement by ticking the box below.');

    define('CATEGORY_COMPANY', 'Company Details');
    define('CATEGORY_PERSONAL', 'Your Personal Details');
    define('CATEGORY_ADDRESS', 'Your Address');
    define('CATEGORY_CONTACT', 'Your Contact Information');
    define('CATEGORY_OPTIONS', 'Options');
    define('CATEGORY_PASSWORD', 'Your Password');
    define('CATEGORY_LOGIN', 'Login');
    define('PULL_DOWN_DEFAULT', 'Please Choose Your Country');
    define('PLEASE_SELECT', 'Please select ...');
    define('TYPE_BELOW', 'Type a choice below ...');

    define('ENTRY_COMPANY', 'Company Name:');
    define('ENTRY_COMPANY_ERROR', 'Please enter a company name.');
    define('ENTRY_COMPANY_TEXT', '');
    define('ENTRY_GENDER', 'Salutation:');
    define('ENTRY_GENDER_ERROR', 'Please choose a salutation.');
    define('ENTRY_GENDER_TEXT', '*');
    define('ENTRY_FIRST_NAME', 'First Name:');
    define('ENTRY_FIRST_NAME_ERROR', 'Is your first name correct? Our system requires a minimum of ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters. Please try again.');
    define('ENTRY_FIRST_NAME_TEXT', '*');
    define('ENTRY_LAST_NAME', 'Last Name:');
    define('ENTRY_LAST_NAME_ERROR', 'Is your last name correct? Our system requires a minimum of ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters. Please try again.');
    define('ENTRY_LAST_NAME_TEXT', '*');
    define('ENTRY_DATE_OF_BIRTH', 'Date of Birth:');
    define('ENTRY_DATE_OF_BIRTH_ERROR', 'Is your birth date correct? Our system requires the date in this format: MM/DD/YYYY (eg 05/21/1970)');
    define('ENTRY_DATE_OF_BIRTH_TEXT', '* (eg. 05/21/1970)');
    define('ENTRY_EMAIL_ADDRESS', 'Email Address:');
    define('ENTRY_EMAIL_ADDRESS_ERROR', 'Is your email address correct? It should contain at least ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' characters. Please try again.');
    define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', 'Sorry, my system does not understand your email address. Please try again.');
    define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', 'Our system already has a record of that email address - please try logging in with that email address. If you do not use that address any longer you can correct it in the My Account area.');
    define('ENTRY_EMAIL_ADDRESS_TEXT', '*');
    define('ENTRY_NICK', 'Forum Nick Name:');
    define('ENTRY_NICK_TEXT', '*'); // note to display beside nickname input field
    define('ENTRY_NICK_DUPLICATE_ERROR', 'That Nick Name is already being used. Please try another.');
    define('ENTRY_NICK_LENGTH_ERROR', 'Please try again. Your Nick Name must contain at least ' . ENTRY_NICK_MIN_LENGTH . ' characters.');
    define('ENTRY_STREET_ADDRESS', 'Street Address:');
    define('ENTRY_STREET_ADDRESS_ERROR', 'Your Street Address must contain a minimum of ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.');
    define('ENTRY_STREET_ADDRESS_TEXT', '*');
    define('ENTRY_SUBURB', 'Address Line 2:');
    define('ENTRY_SUBURB_ERROR', '');
    define('ENTRY_SUBURB_TEXT', '');
    define('ENTRY_POST_CODE', 'Post/Zip Code:');
    define('ENTRY_POST_CODE_ERROR', 'Your Post/ZIP Code must contain a minimum of ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.');
    define('ENTRY_POST_CODE_TEXT', '*');
    define('ENTRY_CITY', 'City:');
    define('ENTRY_CUSTOMERS_REFERRAL', 'Referral Code:');

    define('ENTRY_CITY_ERROR', 'Your City must contain a minimum of ' . ENTRY_CITY_MIN_LENGTH . ' characters.');
    define('ENTRY_CITY_TEXT', '*');
    define('ENTRY_STATE', 'State/Province:');
    define('ENTRY_STATE_ERROR', 'Your State must contain a minimum of ' . ENTRY_STATE_MIN_LENGTH . ' characters.');
    define('ENTRY_STATE_ERROR_SELECT', 'Please select a state from the States pull down menu.');
    define('ENTRY_STATE_TEXT', '*');
    define('JS_STATE_SELECT', '-- Please Choose --');
    define('ENTRY_COUNTRY', 'Country:');
    define('ENTRY_COUNTRY_ERROR', 'You must select a country from the Countries pull down menu.');
    define('ENTRY_COUNTRY_TEXT', '*');
    define('ENTRY_TELEPHONE_NUMBER', 'Telephone:');
    define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Your Telephone Number must contain a minimum of ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.');
    define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');
    define('ENTRY_FAX_NUMBER', 'Fax Number:');
    define('ENTRY_FAX_NUMBER_ERROR', '');
    define('ENTRY_FAX_NUMBER_TEXT', '');
    define('ENTRY_NEWSLETTER', 'Subscribe to Our Newsletter.');
    define('ENTRY_NEWSLETTER_TEXT', '');
    define('ENTRY_NEWSLETTER_YES', 'Subscribed');
    define('ENTRY_NEWSLETTER_NO', 'Unsubscribed');
    define('ENTRY_NEWSLETTER_ERROR', '');
    define('ENTRY_PASSWORD', 'Password:');
    define('ENTRY_PASSWORD_ERROR', 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
    define('ENTRY_PASSWORD_ERROR_NOT_MATCHING', 'The Password Confirmation must match your Password.');
    define('ENTRY_PASSWORD_TEXT', '* (at least ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters)');
    define('ENTRY_PASSWORD_CONFIRMATION', 'Confirm Password:');
    define('ENTRY_PASSWORD_CONFIRMATION_TEXT', '*');
    define('ENTRY_PASSWORD_CURRENT', 'Current Password:');
    define('ENTRY_PASSWORD_CURRENT_TEXT', '*');
    define('ENTRY_PASSWORD_CURRENT_ERROR', 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
    define('ENTRY_PASSWORD_NEW', 'New Password:');
    define('ENTRY_PASSWORD_NEW_TEXT', '*');
    define('ENTRY_PASSWORD_NEW_ERROR', 'Your new Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
    define('ENTRY_PASSWORD_NEW_ERROR_NOT_MATCHING', 'The Password Confirmation must match your new Password.');
    define('PASSWORD_HIDDEN', '--HIDDEN--');

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

    Default Re: Editing header banner

    What the comment means is that to edit the tag line information, you should edit includes/languages/english/YOUR_TEMPLATE/meta_tags.php (where YOUR_TEMPLATE is the name of your custom template).

  5. #5
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Re: Editing header banner

    No, thats not what i am trying to edit at all. i think i confused you

    I am not trying to change the tagline.

    I am trying to change the banner on the top of the page. on the grey-ish bar. I am trying to add text to it. with my 1300 number.

    I hope you can help!

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

    Default Re: Editing header banner

    Steve's suggestion was that you use the tag line to do that.

  7. #7
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Re: Editing header banner

    Ah yeah. Sorry about that. however as you can see in the code i linked you. from english.php it states that the tagline has been moved to the meta tags. in which case the tagline is "-Gamenet"

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

    Default Re: Editing header banner

    Sorry if my error confused you. They did move that define to meta_tags.php.

    It's hard to say for sure, but it looks like Template Monster may have removed the tagline functionality from that template. You may have to ask them about how you can add the number to the header.

    Another possibility would be to re-create the logo image to include your logo image and the number.

  9. #9
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Re: Editing header banner

    Thanks. Could you show me to a tutorial on changing the logo. I forgot how i did it :) i cant find a tutorial on the zencart FAQ section..

  10. #10
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Re: Editing header banner

    i searched for "logo" and nothing came up.

 

 

Similar Threads

  1. Question about editing the top banner
    By sofasurfer in forum General Questions
    Replies: 20
    Last Post: 10 Apr 2011, 02:22 PM
  2. banner header position 3 show more than 1 banner
    By Greybeard in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Dec 2009, 11:25 PM
  3. Editing Height of Banner
    By moonbeamsoycandles in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Nov 2009, 07:54 PM
  4. Editing banner dimensions
    By abhishek77 in forum General Questions
    Replies: 5
    Last Post: 14 May 2008, 09:28 PM
  5. Editing tagline text below banner
    By Shadow in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 9 Aug 2007, 04:08 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