Results 1 to 7 of 7

Can't get welcome message working.

This is a discussion on Can't get welcome message working. within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; I am using 1.5.5 with bts update and option value contrib. My other carts, including my oscmax 1.2.x shows the ...

      
  1. #1
    New Member
    Join Date
    Jan 2004
    Posts
    26
    Rep Power
    0


    Default Can't get welcome message working.

    I am using 1.5.5 with bts update and option value contrib.

    My other carts, including my oscmax 1.2.x shows the default Welcome guest blah blah sign in or create and account... blah blah.

    Anyway. I want it back and I cant figure out why it isnt being called.

    I looked in the language files (default.php and english.php) and it is all defined but not showing up. I tested the other templates and they do not have it either.

    I did edit the mainpage.php (that defines the default OSCmax welcome) but so far as I could tell it was just html and no php.

    What do I need to do to get that script welcome (that recognizes either guest or currently logged in user) to work?

  2. #2
    New Member
    Join Date
    Jan 2004
    Posts
    26
    Rep Power
    0


    Default

    On closer look. it seems that the index.php isnt displaying the 'text_main' either. I know it is calling it because if I foul it up with an "(" in the wrong place it displays an error in the corresponding line.

  3. #3
    New Member
    Join Date
    Jan 2004
    Posts
    26
    Rep Power
    0


    Default

    Found it!

    It was in the index_default.tpl.php and it was kinda sneaky too because it was

    <td class="main"><? //php echo tep_customer_greeting(); ?></td>
    so the // didnt show up in context highlighting because it was a php in an html.

    I am sure you guys just love a thread that is immediately solved without any work...

    I think I should get to be a moderator since I was so helpful on this thread.

  4. #4
    osCMax Developer

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


    Default

    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

  5. #5
    New Member
    Join Date
    Dec 2002
    Posts
    20
    Rep Power
    0


    Default In response to log in text showing up

    I found the file in question, however can u elaborate on how to do the change. Remember your audience in the moderator all the way to beginners (like me) Thanks, please be specific on how to fix the problem.
    Knullhund

  6. #6
    osCMax Developer

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


    Default

    Just delete the two // from the above line of code so it looks like:

    Code:
    <td class="main"><? php echo tep_customer_greeting(); ?></td>
    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

  7. #7
    New Member
    Join Date
    Dec 2002
    Posts
    20
    Rep Power
    0


    Default I can get the welcome message working

    Thanks Msasek. Just two details. The path to the file is: httpdocs / templates / osC / content / index_default.tpl.php "osC" represents the template I'm using. The default one is "aabox" The line to change should look exactly like this: <td class="main"><?php echo tep_customer_greeting(); ?></td>
    </tr>
    Make sure there is no space on "...><?php echo..."
    If it does it will give an error.
    Hope this helps.
    Knull

    PS Change the permission to this folder before doing it(make it writable)
    This is for beginners like me.

Similar Threads

  1. Working site is not working now!
    By swatkins in forum osCmax v2 Installation issues
    Replies: 20
    Last Post: 12-25-2006, 05:51 PM
  2. Error message
    By Paperman in forum osCommerce 2.2 Discussion
    Replies: 1
    Last Post: 11-04-2006, 08:21 PM
  3. Warning message help.
    By Picman in forum osCommerce 2.2 Installation Help
    Replies: 6
    Last Post: 06-05-2003, 05:30 PM
  4. install -php message
    By ozstar in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 11-18-2002, 02:06 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
  •