Forums / General Questions / Center column heading

Center column heading

Results 1 to 10 of 10
16 Jun 2011, 23:08
#1
vintage_rod avatar

vintage_rod

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Center column heading

I've searched here for upwards of an hour and also in the Developers Toolkit to no avail. I am using Glacial Age with Zencart 1.3.9h. A header in the center column says "Welcome to vintagerodcomponents.com", and I would like to change it. The only reference I can find to this phrase is in the source code which says "<h1 id="indexCategoriesHeading">Welcome to vintagerodcomponents.com</h1>
It looks like it a php file pulls this name from somewhere, but WHERE? I would like to change it or eliminate it altogether. The URL is
http://www.v i n t a g e r o d c o m p o n e n t s.com/retail
16 Jun 2011, 23:13
#2
kobra avatar

kobra

Black Belt

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

Re: Center column heading

I did not see that text...
You must have figured this out
17 Jun 2011, 00:03
#3
vintage_rod avatar

vintage_rod

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Re: Center column heading

Apparently my update didn't post. I found that the name comes from Store Name in My Store in Admin. I modified THAT slightly to read "Welcome to Vintage Rod Components online store", but would still like to remove it. It's probably as simple as commenting it out, but where?
17 Jun 2011, 02:29
#4
kobra avatar

kobra

Black Belt

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

Re: Center column heading

would still like to remove it.

Well it looks like you have crapped that up a bit already the default text there should read
Welcome Guest! Would you like to log yourself in?

With "log yourself in" being a link to the login screen

If you have not messed it up too bad

Try admin > config > layout settings > Customer Greeting - Show on Index Page > set to false
17 Jun 2011, 05:08
#5
vintage_rod avatar

vintage_rod

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Re: Center column heading

That is already set to false. How have I "crapped it up" ?
17 Jun 2011, 08:27
#6
kobra avatar

kobra

Black Belt

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

Re: Center column heading

That is already set to false. How have I "crapped it up" ?

Well it is not responding to the setting that removes it...
17 Jun 2011, 10:46
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Center column heading

That's not the welcome message, it's the index categories heading. You could add this to your stylesheet:

#indexCategoriesHeading {display:none;}

or remove it in:

includes/templates/glacial_age/templates/tpl_index_categories.php
17 Jun 2011, 15:29
#8
kobra avatar

kobra

Black Belt

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

Re: Center column heading

stevesh Corrected me...Thanks!!
But on that page the default is
Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.

Which resides in the h1 indexCategoriesHeading tag
You do not want to not have a h1 tag on a page

See what is defined to be displayed
https://www.zen-cart.com/tutorials/index.php?article=129
17 Jun 2011, 18:23
#9
vintage_rod avatar

vintage_rod

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Re: Center column heading

kobra:

stevesh Corrected me...Thanks!!
But on that page the default is

Which resides in the h1 indexCategoriesHeading tag
You do not want to not have a h1 tag on a page

See what is defined to be displayed
https://www.zen-cart.com/tutorials/index.php?article=129

I referred to the tutorial and the file it refers to, and here is what I have:
define('HEADING_TITLE', 'Welcome to Vintage Rod Components. The ONLY source for New and Vintage Mickey Thompson valve covers!');
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
/*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', 'Welcome to the Vintage Rod Components online store');
}
Are you thinking of another file?
17 Jun 2011, 21:31
#10
kobra avatar

kobra

Black Belt

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

Re: Center column heading

If you read the tutorial to remove it then use this
My emphasis on the pair of single quotes that must remain
define('HEADING_TITLE', '');
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
/*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', '');