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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| Found it! It was in the index_default.tpl.php and it was kinda sneaky too because it was Quote:
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
| ||||
| ||||
|
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| 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
| ||||
| ||||
| 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
|
|
#7
| |||
| |||
| 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. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Working site is not working now! | swatkins | osCMax v2 Installation issues | 20 | 12-25-2006 05:51 PM |
| Error message | Paperman | osCommerce 2.2 Discussion | 1 | 11-04-2006 08:21 PM |
| Warning message help. | Picman | osCommerce 2.2 Installation Help | 6 | 06-05-2003 04:30 PM |
| install -php message | ozstar | osCommerce 2.2 Installation Help | 3 | 11-18-2002 02:06 PM |