Forums / General Questions / indexCategoriesHeading

indexCategoriesHeading

Views: 1,146

Results 1 to 4 of 4
14 Apr 2011, 1:32 PM
#1
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

indexCategoriesHeading

Hi all can anyone tell me where to edit this :-

I changed my front page to show categories and now it says "products" as the header . I have used firebug and found it is being drawn from here :-

Line #18 : <h1 id="indexCategoriesHeading"><?php echo HEADING_TITLE; ?></h1>

Now before i just edited index.php and changed the "you have succesfully"

// 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 Gloopy');

I used the developers tool kit and it came up as /templates/tpl_index_categories.php

now when i open that i see where its being called from

<?php if (SHOW_CUSTOMER_GREETING == 1) { ?> <h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2> <?php } ?>

but where is the "Products" bit to edit.

p.s i used the developers toolkit to search for "products" and there are thousands lol so can someone please help

14 Apr 2011, 1:45 PM
#3
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

Re: indexCategoriesHeading

This is weird , why is it not here ??

define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');

11 Jun 2012, 10:08 PM
#4
yikki77 avatar

yikki77

New Zenner

Join Date:
Jun 2012
Posts:
2
Plugin Contributions:
0

Re: indexCategoriesHeading

gmrm:

This is weird , why is it not here ??

define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');

I have the same problem currently, it's seems that the "products" text with the id "indexCategoriesHeading" is only on my home page english page version (and it the HEADING_TITLE doesn't work only on this one (this language)...).
And also like you even if I go to includes\languages\english\index.php and I change the HEADING_TITLE, but it doesn't change anything.
It seems that the define HEADING_TITLE is recover by something else as the text is not display.

Did anybody have an idea of what can it be ?