Post by Xzelicon » Sun May 11, 2008 5:40 pm

Hi,
i have installed opencart now but i want to change the standard text
(Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

Congratulations! You have successfully installed OpenCart.

Please begin to configure your installation in the administration.

Good Luck!) to something else, how can i do that?

Grtz,
X

Newbie

Posts

Joined
Sun May 11, 2008 5:39 pm

Post by pdbs » Sun May 11, 2008 9:07 pm

Find the text in the template home.tpl I believe  and change it there.

New member

Posts

Joined
Thu May 08, 2008 2:56 am

Post by bruce » Sun May 11, 2008 9:51 pm

nope... don't guess

the file is catalog\controller\language\english\controller\home.php

Welcome Xzelicon, our advice to all new posters.... "Don't forget to search the forums before posting."  :)

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Xzelicon » Sun May 11, 2008 10:39 pm

Thnx, i changed it to:
Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?Welcome to the biggest pricelist of Belgium and the Netherlands!Please look around an feel free to put some products in youre basket for a total price.Don't forget that we don't sell anything!';
$_['text_logged']  = 'Welcome back %s!Welcome to the biggest pricelist of Belgium and the Netherlands!Please look around an feel free to put some products in you're basket for a total price.Don't forget that we don't sell anything!';
$_['text_latest']  = 'Latest Products';
?>

But then i get the following error: Parse error: syntax error, unexpected T_STRING in /home/*domain*/domains/*domain*/public_html/catalog/language/english/controller/home.php on line 9

And i don't see what is wrong?

Newbie

Posts

Joined
Sun May 11, 2008 5:39 pm

Post by bruce » Mon May 12, 2008 1:32 pm

Xzelicon wrote:
Don't forget that we don't sell anything!';
The single quote in don't is killing you. Note that the same character marks the end of the string. Have a look here http://www.ascii.cl/htmlcodes.htm for future reference.

Replace don't with don't and you are in business.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm
Who is online

Users browsing this forum: No registered users and 1 guest