Forums / Templates, Stylesheets, Page Layout / Log in on define_main_page.php

Log in on define_main_page.php

Locked

Started by nomadrw on 8 Oct 2007, 5:03 PM · Views: 2,114

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
8 Oct 2007, 5:03 PM
#1
nomadrw avatar

nomadrw

Zen Follower

Join Date:
Sep 2007
Location:
Somewhere in Southern Cal
Posts:
331
Plugin Contributions:
0

Log in on define_main_page.php

Hello Everyone:
How do I omit or delete the Would you like to ...log in
on the main page.

Thanks
nomad

11 Oct 2007, 8:00 AM
#2
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Log in on define_main_page.php

All editable text will be found in your languages folder:
This one is on the index page and therefore will be found in languages > english > index.php
Lines 14 to 19 remove the red text example below.

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>?');


Play with it long enough and you will break it.
11 Oct 2007, 8:16 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Log in on define_main_page.php

Or you could just turn it off in Admin->Configuration->Layout Settings->"Customer Greeting - Show on Index Page"

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Oct 2007, 4:19 PM
#4
nomadrw avatar

nomadrw

Zen Follower

Join Date:
Sep 2007
Location:
Somewhere in Southern Cal
Posts:
331
Plugin Contributions:
0

Re: Log in on define_main_page.php

I found it.
I was looking for the Customer Greeting - show on Index page.
so to turn if off this is what you do.
admin> Configuration
look for Customer Greeting - show on Index page

thanks for looking
nomad

11 Oct 2007, 4:29 PM
#5
nomadrw avatar

nomadrw

Zen Follower

Join Date:
Sep 2007
Location:
Somewhere in Southern Cal
Posts:
331
Plugin Contributions:
0

Re: Log in on define_main_page.php

Sorry for those that responded. I refound my thread by going info my posting and just wrote a message without looking to see if anyone posted something.

thanks for the help
nomad