Results 1 to 9 of 9

Changing default Guest to something else...

This is a discussion on Changing default Guest to something else... within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Can any one point me in the right direction as to where to change the default "Guest" to something else..... ...

      
  1. #1
    New Member
    Join Date
    Mar 2003
    Posts
    20
    Rep Power
    0


    Default Changing default Guest to something else...

    Can any one point me in the right direction as to where to change the default "Guest" to something else.....

    I can't find it.....

    Thank you for your help in advance.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    To modify welcome text:
    http://guide.oscdox.com/Modification...nd_Welcome.htm

    Edit these lines:
    Code:
    define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');
    define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>');
    define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');
    While in there, take a look around... There are a ton of other text changes you can make!
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Mar 2003
    Posts
    20
    Rep Power
    0


    Default

    Hi,

    Thanks for that!

    Just a small questioins... is there a Calendar contribution anywhere?

    Thanks heaps for all your help

    Angie

  4. #4
    Lurker
    Join Date
    Apr 2003
    Posts
    3
    Rep Power
    0


    Default

    Quote Originally Posted by msasek
    To modify welcome text:
    http://guide.oscdox.com/Modification...nd_Welcome.htm

    Edit these lines:
    Code:
    define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');
    define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>');
    define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');
    While in there, take a look around... There are a ton of other text changes you can make!
    hi - which file is this found in?

    Thanks,
    Ivan

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Ivan - if you click the link it will tell you.

    But FYI - /catalog/includes/languages/english/default.php
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    Lurker
    Join Date
    Apr 2003
    Posts
    3
    Rep Power
    0


    Default

    My default.php (default.php,v 1.20 2003/02/14) file doesn't have that in.

  7. #7
    Lurker
    Join Date
    Apr 2003
    Posts
    3
    Rep Power
    0


    Default

    This is actually contained in catalog/includes/functions/general.php for anyone else who wants to make changes.

  8. #8
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Here is an updated guide page that covers text changes and code changes for MS1:

    http://www.oscdox.com/modules.php?op...ntroAndWelcome

    Note: general.php contains the function that generates the greeting, but does not define the actual text. That is done in the /catalog/includes/languages/__english.php__ file, as of MS1.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  9. #9
    New Member
    Join Date
    Dec 2003
    Posts
    5
    Rep Power
    0


    Default

    Just to correct all of these posts for newbies like myself:

    This change is REALLY located in (atleast in my shop code) in the english.php file located in catalog/inlcudes/languages. Do a search for 'welcome' and you will find it easily.

    And you can change colors/fonts etc in stylesheet.css in catalog/ dir.

    HTH,
    Phil

Similar Threads

  1. default language not changing?
    By gemdesign in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 10-21-2005, 09:18 AM
  2. Changing default TAX class when adding new products
    By fuzzyphil in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 07-28-2005, 11:42 PM
  3. changing default 3 items per row in osCMax 1.7
    By stevensdesign in forum osCMax v1.7 General Mods Discussion
    Replies: 3
    Last Post: 02-16-2005, 07:44 AM
  4. Changing order number default
    By Plastic in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 10-21-2004, 09:14 PM
  5. Changing the default amount of thumbnails per page
    By fireburst in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 07-26-2004, 04:42 PM

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
  •