Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2009
    Location
    Oxford UK
    Posts
    192
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Apr 2009
    Location
    Oxford UK
    Posts
    192
    Plugin Contributions
    0

    Default Re: indexCategoriesHeading

    and btw i have read this thread http://www.zen-cart.com/forum/showthread.php?t=158990

    and that does not help

  3. #3
    Join Date
    Apr 2009
    Location
    Oxford UK
    Posts
    192
    Plugin Contributions
    0

    Default 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>');

  4. #4
    Join Date
    Jun 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: indexCategoriesHeading

    Quote Originally Posted by gmrm View Post
    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 ?

 

 

Similar Threads

  1. indexCategoriesHeading on main page - Where?
    By jami1955 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Jul 2010, 02:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg