Results 1 to 9 of 9

Let\'s See What We Have Here instead of Category Name

This is a discussion on Let\'s See What We Have Here instead of Category Name within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hello we just purchased a template of oscmax (Looks like it an oscommerce template) It workd fine , but it ...

      
  1. #1
    Member
    Join Date
    Mar 2007
    Posts
    48
    Rep Power
    0


    Default Let\'s See What We Have Here instead of Category Name

    Hello
    we just purchased a template of oscmax (Looks like it an oscommerce template)
    It workd fine , but it is showing "Lets see what we have here" instead of the category name , ( like it is in oscommerce)
    we got oscmax 2.0 rc3 version
    Does anyone knows where can I change it , so the categories heading will be the category name.

    Thank you

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Let\'s See What We Have Here instead of Category Name

    First, do you have the Display category names feature enabled in the admin?

    Next, you would edit this in the index_products.tpl.php file and make sure the following code is present where the category description is supposed to be displayed:

    PHP Code:
    <?php
    /* bof catdesc for bts1a, replacing "echo HEADING_TITLE;" by "categories_heading_title" */
                 
    if ( (ALLOW_CATEGORY_DESCRIPTIONS == 'true') && (tep_not_null($category['categories_heading_title'])) ) {
                     echo 
    $category['categories_heading_title'];
                   } else {
                     echo 
    HEADING_TITLE;
                   }
    /* eof catdesc for bts1a */ ?>
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    osCMax Testing Team
    Join Date
    Mar 2008
    Location
    The Netherlands
    Posts
    37
    Rep Power
    0


    Default Re: Let\'s See What We Have Here instead of Category Name

    i must say that this mod that is in OSCmax is pretty useless it does it work for a depth of 2 cat's not more so if you have a top catagorie that name it takes over and sometimes a catagorie below that but not further.

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Let\'s See What We Have Here instead of Category Name

    Quote Originally Posted by Gizmor View Post
    i must say that this mod that is in OSCmax is pretty useless it does it work for a depth of 2 cat's not more so if you have a top catagorie that name it takes over and sometimes a catagorie below that but not further.
    Works fine for me beyond 2 deep categories.

    I just tested on 5 deep and it works fine with no issues. Take a look at the screen shot.
    Attached Images Attached Images
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Member
    Join Date
    Mar 2007
    Posts
    48
    Rep Power
    0


    Default Re: Let\'s See What We Have Here instead of Category Name

    tha file index_products.tpl.php was only in fallback template
    It seems to be fine (like you said it should be "

    <?php
    /* bof catdesc for bts1a, replacing "echo HEADING_TITLE;" by "categories_heading_title" */
    if ( (ALLOW_CATEGORY_DESCRIPTIONS == 'true') && (tep_not_null($category['categories_heading_title'
    ])) ) {
    echo
    $category['categories_heading_title'
    ];
    } else {
    echo
    HEADING_TITLE
    ;
    }
    /* eof catdesc for bts1a */ ?>


    any way I noticed that the problem is in all templates aabox and fallback too.
    any Idea?
    Thanks

    Nimrod


  6. #6
    osCMax Testing Team
    Join Date
    Mar 2008
    Location
    The Netherlands
    Posts
    37
    Rep Power
    0


    Default Re: Let\'s See What We Have Here instead of Category Name

    Quote Originally Posted by yulises View Post
    tha file index_products.tpl.php was only in fallback template
    It seems to be fine (like you said it should be "

    <?php
    /* bof catdesc for bts1a, replacing "echo HEADING_TITLE;" by "categories_heading_title" */
    if ( (ALLOW_CATEGORY_DESCRIPTIONS == 'true') && (tep_not_null($category['categories_heading_title'
    ])) ) {
    echo
    $category['categories_heading_title'
    ];
    } else {
    echo
    HEADING_TITLE
    ;
    }
    /* eof catdesc for bts1a */ ?>


    any way I noticed that the problem is in all templates aabox and fallback too.
    any Idea?
    Thanks

    Nimrod
    i do still have the same problem but when i worked with OSC i had a contri that did work ill search it up and post it here maybe that one does work for us.

    /edit,

    with some searching i got it working like it should but then again i have index_products.tpl.php in my templates folder, so i think you should copy it over to your template folder (just in case) and further i made the mistake that i had made cat's without the mod on so that's why it didn't work. So set the mod to true and check your cat's so select one and edit it then you should get a other page then normal and make sure that "Category Name:" and "Category Heading Title:" are filled in then it should work.
    Last edited by Gizmor; 04-19-2008 at 08:22 AM.

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Let\'s See What We Have Here instead of Category Name

    tha file index_products.tpl.php was only in fallback template
    That is the only place it needs to be. All templates pull the content files from fallback if there is not one in its own content directory. If the code is there, then you simply have not entered in the info in the admin panel, or you have not turned on Category descriptions in the admin panel.

    The problem is not with osCMax. If you don't have Category Heading Title filled in in the admin panel for that category, it will display the default 'Lets see...' text.

    Is the template you purchased specifically for osCMax or osCommerce standard? If it is for osCommerce, it will not work with osCMax without converting it to use the BTS template format.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  8. #8
    Member
    Join Date
    Mar 2007
    Posts
    48
    Rep Power
    0


    Default Re: Let\'s See What We Have Here instead of Category Name

    Thank you ,

    My mistake , I just notice that the categorie heading title in the admin was blank,
    sorry for all the trouble i made...

  9. #9
    Member
    Join Date
    Mar 2008
    Posts
    34
    Rep Power
    0


    Default Re: Let\'s See What We Have Here instead of Category Name

    Hi, I had this problem too...and I figured out the same thing. I always try to remember that by far the largest number of computer issues are USER ERROR (in other words, its my fault, not the PC) Computers can be so humbling.

    J

Similar Threads

  1. Specials & Products_new sort category & sub-category dropdown menu
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 03-02-2008, 10:23 PM
  2. Category name listed twice for each category
    By seanloughry in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 11-02-2007, 09:00 AM
  3. Adding Category Descriptions in Category List for each Cat.
    By el1jones in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 03-15-2006, 01:37 AM
  4. Category name
    By damnedpig in forum osCmax v1.7 Discussion
    Replies: 8
    Last Post: 06-11-2004, 12:32 PM
  5. New category does not create new category folder
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 02-23-2003, 12:52 PM

Bookmarks

Posting Permissions

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