Zen Cart Logo
Forums / General Questions / (/includes/languages/english/index.php)

(/includes/languages/english/index.php)

Locked

Views: 2,956

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
12 May 2008, 2:52 AM
#1
keithdamon avatar

keithdamon

New Zenner

Join Date:
Apr 2008
Posts:
13
Plugin Contributions:
0

(/includes/languages/english/index.php)

Can someone please tell me how to remove this from customers logging in.. I would like it to be blank and not ask them to see any newest additions with a link.. I see this line in (/includes/languages/english/index.php) but when I remove the part in red (define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');) freezes up the site.. thanks if someone can help me on this..

KeithDamon

12 May 2008, 3:08 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: (/includes/languages/english/index.php)

Did you ask this elsewhere?

admin > config > layout settings > Customer Greeting - Show on Index Page > set to off

12 May 2008, 5:29 AM
#3
keithdamon avatar

keithdamon

New Zenner

Join Date:
Apr 2008
Posts:
13
Plugin Contributions:
0

Re: (/includes/languages/english/index.php)

thank you very much.. and yes I did.. didt think it was in the rite place to ask.. thanks agian

KeithDamon

13 May 2008, 7:40 PM
#4
keithdamon avatar

keithdamon

New Zenner

Join Date:
Apr 2008
Posts:
13
Plugin Contributions:
0

Re: (/includes/languages/english/index.php)

Korba can I ask you? can I modify this line so when customers log in it only says Hello (and there name) and not give them the newest additions link..

('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');)

Thanks for you time

13 May 2008, 8:10 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: (/includes/languages/english/index.php)

('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>!</a>?');)

I think this is in 2 places and similar in the same file
and maybe add Welcome Back!

13 May 2008, 9:17 PM
#6
keithdamon avatar

keithdamon

New Zenner

Join Date:
Apr 2008
Posts:
13
Plugin Contributions:
0

Re: (/includes/languages/english/index.php)

thanks kobra your a geat help

Keithdamon

14 May 2008, 1:55 AM
#7
keithdamon avatar

keithdamon

New Zenner

Join Date:
Apr 2008
Posts:
13
Plugin Contributions:
0

Re: (/includes/languages/english/index.php)

Hi kobra.. hopefully one last question.. got the site almost up and ready.. what you told me work very well about the greeting.. thanks agian.. but now I just setup my e-mail account and think I setup all the config rite.. when I goto
tools/send e-mail and I'm getting on the top.. (Fatal error: Call to a member function on a non-object in /home/keithdam/public_html/admin/mail.php on line 380) be great if you could point me in the rite place.. thanks

Keithdamon

14 May 2008, 4:26 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: (/includes/languages/english/index.php)

Connect to your server with FTP and navigate to public_html/admin/mail.php and see what the byte size for this file is and if "zero" bytes - reload from a Zen Cart distribution

14 May 2008, 5:46 AM
#9
keithdamon avatar

keithdamon

New Zenner

Join Date:
Apr 2008
Posts:
13
Plugin Contributions:
0

Re: (/includes/languages/english/index.php)

I checked it and its 17k.. let me tell you.. my hosting service is hostmonster and they offer to Install zen cart free by just selecting it on the control pannel.. so I dont have it local on my machine but I am using the e-mail server on my hosting site for keithdamon.com and I have been able to send e-mail to it and see it through outlook express..

copied lines 377 to 385 for you if it helps
377 <!-- body_text_eof //-->
378 </table></td>
380 </tr>
381 </table></td>
382</tr></table>
383<!-- body_eof //-->
384
385<!-- footer //-->

thanks for helping

14 May 2008, 5:55 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: (/includes/languages/english/index.php)

If you are using Zen Cart 1.3.8a it should be 18966 in bytes

14 May 2008, 6:26 AM
#11
keithdamon avatar

keithdamon

New Zenner

Join Date:
Apr 2008
Posts:
13
Plugin Contributions:
0

Re: (/includes/languages/english/index.php)

yes Im running 1.3.8a
I take it I have to get a fresh download and get the mail.php file and rename the old file and upload the new one to the server? and if I do that will the new one have all the install config data that should be in it while I was configing the site?

Keithdamon

14 May 2008, 6:30 AM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: (/includes/languages/english/index.php)

Just the mail.php file and the details are not in the file but stored in the DB

14 May 2008, 6:58 AM
#13
keithdamon avatar

keithdamon

New Zenner

Join Date:
Apr 2008
Posts:
13
Plugin Contributions:
0

Re: (/includes/languages/english/index.php)

that worked.. its getting close.. I get the preview and send prompt now but getting (Email Error: SMTP Error: The following recipients failed:) that I think is a config/e-mail options problem I can work on tomorrow.. Kobra I just want to thank you so much for your help you have given me..

Keithdamon

14 May 2008, 10:31 PM
#14
keithdamon avatar

keithdamon

New Zenner

Join Date:
Apr 2008
Posts:
13
Plugin Contributions:
0

Re: (/includes/languages/english/index.php)

Hey kobra.. got the e-mail working good.. testing everything on the site and have found a little problem.. dont know if it can be fixed.. I sell pictures and the customer selects a size and paper type.. If dont check any box for size and paper it will still let them check out with a total of $0. is there a way to give them a warning they have to make a selection to complete the order? It not a biggy.. I dont think people are that stupid to think Im giving away my stuff but if its an easy fix that be great.. if you got time and if its an easy fix could you maybe point me to the place to fix that..

thanks

Keithdamon

15 May 2008, 1:26 AM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: (/includes/languages/english/index.php)

Do not use check boxes - change to radio buttond or drop down...

Add another attribute value "Please Choose" or other text you prefer.

Add it as sort order "0" - default - and display only

The cart is now smart enough to warn that a selection has to be made