Zen Cart Logo

Heading_title

Views: 1,990

Results 1 to 17 of 17
20 Nov 2010, 3:10 PM
#1
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Heading_title

Hi,
Wondering how to get rid of or modify the following on my site halfway down the page (http://hissigns.com/zencart/index.php?main_page=index):

HEADING_TITLE

TEXT_GREETING_GUEST
What does this do?

20 Nov 2010, 3:50 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Heading_title

Those are defined in includes/languages/english/index.php (or, if you've edited it, includes/languages/english/theme238/index.php), so that file is either missing, mis-edited or corrupted.

The kobra is quick ...

22 Nov 2010, 4:08 AM
#4
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: Heading_title

stevesh:

Those are defined in includes/languages/english/index.php (or, if you've edited it, includes/languages/english/theme238/index.php), so that file is either missing, mis-edited or corrupted.

The kobra is quick ...

I don't know what to do still. I do know where to alter the TEXT_GREETING_GUEST section but how do I hide this title altogether?

22 Nov 2010, 4:53 AM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Heading_title

That constant is defined in index.php. You've evidently incorrectly edited the file.

The original file (includes/languages/english/index.php) contains the following:

// Showcase vs Store
if (STORE_STATUS == '0') {
  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.');
}

Copy/paste those lines into includes/languages/english/YOUR_TEMPLATE/index.php (where YOUR_TEMPLATE is the name of your custom template). If you don't want any greeting, change them to:

// Showcase vs Store
if (STORE_STATUS == '0') {
  define('TEXT_GREETING_GUEST', '');
} else {
  define('TEXT_GREETING_GUEST', '');
}

I made the single quotes different colors to make it clear.

22 Nov 2010, 8:09 AM
#6
kobra avatar

kobra

Black Belt

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

Re: Heading_title

As you have a template monster template it may or may not respond to standard settings as they take license with the way they code them

For the "TEXT_GREETING_GUEST", there is still a mis edit
but there is an admin switch for it in
admin > config > layout settings

1 Dec 2010, 3:33 AM
#7
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: Heading_title

afo:

That constant is defined in index.php. You've evidently incorrectly edited the file.

The original file (includes/languages/english/index.php) contains the following:

// Showcase vs Store
if (STORE_STATUS == '0') {
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.');
}

> 
> Copy/paste those lines into includes/languages/english/YOUR_TEMPLATE/index.php (where YOUR_TEMPLATE is the name of your custom template).  If you don't want any greeting, change them to:
> 
> ```
// Showcase vs Store
if (STORE_STATUS == '0') {
  define('TEXT_GREETING_GUEST', '');
} else {
  define('TEXT_GREETING_GUEST', '');
}

I made the single quotes different colors to make it clear.

I checked my code and it appears to be exactly the same as yours. Any other ideas?

1 Dec 2010, 3:56 AM
#8
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: Heading_title

kobra:

As you have a template monster template it may or may not respond to standard settings as they take license with the way they code them

For the "TEXT_GREETING_GUEST", there is still a mis edit
but there is an admin switch for it in
admin > config > layout settings

Which "Title"/"Value"/"Action" do I need to change? I don't see one that can eliminate this.

1 Dec 2010, 8:14 AM
#9
kobra avatar

kobra

Black Belt

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

Re: Heading_title

Which "Title"/"Value"/"Action" do I need to change?
admin > config > layout settings > Customer Greeting - Show on Index Page

2 Dec 2010, 3:48 AM
#10
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: Heading_title

kobra:

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

But it ***is ***already set to zero=off. :(

2 Dec 2010, 11:22 AM
#11
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Heading_title

You could add this to the stylesheet.

#indexCategoriesHeading {display:none;}

11 Dec 2010, 1:12 AM
#12
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: Heading_title

Hi any solution to my problem? (see above)

11 Dec 2010, 1:25 AM
#13
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Heading_title

If admin settings or language defines do not affect your display, Template Monster has probably hard-coded something in a file. We can't know what they have done because they have so many non-standard practices.

11 Dec 2010, 7:21 PM
#14
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: Heading_title

Well if that's the case is there a better template site out there (with ecommerce capabilities also)?

12 Dec 2010, 5:05 AM
#15
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Heading_title

A template site is totally irrelevant to e-commerce capabilities. What matters is the software that the template makes pretty or otherwise attractive to the target audience. If you look for Zen Cart template sites, just be aware that many of them are TM resellers.

13 Dec 2010, 3:12 AM
#16
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: Heading_title

Okay, but by saying "non-standard practices", did you imply that there are other template building companies that build templates better? Just curious.

13 Dec 2010, 3:32 AM
#17
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Heading_title

There are free templates available for Zen Cart which do things the right way. You can see them at http://(sorry, site offline)/