Forums / Templates, Stylesheets, Page Layout / personal greeting on all pages

personal greeting on all pages

Locked

Started by graphic_content on 15 Jun 2010, 6:35 AM · Views: 796

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 Jun 2010, 6:35 AM
#1
graphic_content avatar

graphic_content

New Zenner

Join Date:
Nov 2008
Location:
Gex, France
Posts:
71
Plugin Contributions:
0

personal greeting on all pages

Hi there,
I have a site I am working on at the moment

www.kidselectriccars.co.uk

The site is up and functioning I am just adding the last few bits and pieces.

Basically you will see that I have placed the welcome message in the header bar rather than in the content because I would like it to be displayed on all pages.

It displays fine on all pages that use the index template however on the product pages it changes to TEXT_GREETING_GUEST

Can anyone please tell me what to change in the code so that it displays as normal on all pages?

Thanks
Matt

Matt Martin
Graphic Content (UK)
www.graphiccontent.co.uk

15 Jun 2010, 8:23 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: personal greeting on all pages

Find where TEXT_GREETING_GUEST is set in your index.php language file, and move it to your version of the languages/english.php file.

What is happening is that the text is currently only being loaded for index page which is the only place that needs it, whereas the english.php file (or the main language file for any other language) is loaded for all catalog pages.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

15 Jun 2010, 8:32 AM
#3
graphic_content avatar

graphic_content

New Zenner

Join Date:
Nov 2008
Location:
Gex, France
Posts:
71
Plugin Contributions:
0

Re: personal greeting on all pages

Thanks so much that did the trick,

had to move the TEXT_GREETING_PERSONAL as well for when customers are logged in.

Thanks again
Matt

Matt Martin
Graphic Content (UK)
www.graphiccontent.co.uk