osCmax v2.5 User Manual
Results 1 to 9 of 9

Category name

This is a discussion on Category name within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; hi guys ( & girls too ) When i Click a category... I see in the header "Let's see what ...

      
  1. #1
    Member
    Join Date
    Apr 2004
    Location
    Argentina
    Posts
    61
    Rep Power
    0


    Default Category name

    hi guys ( & girls too )
    When i Click a category... I see in the header

    "Let's see what we have here"
    How should I instead show the category's name ? At least for product listing...

    I have BTS, which file should i touch for this?

    thanks alot in advance

  2. #2
    New Member
    Join Date
    May 2004
    Location
    Philadelphia, USA
    Posts
    10
    Rep Power
    0


    Default Category in Heading

    In /catalog/index.php

    find this line (around lines 65-75):

    Code:
    <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
    replace with this:

    Code:
    <td class="pageHeading"><?php echo $breadcrumb->last(); ?></td>

  3. #3
    osCMax Developer

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


    Default

    Category headings are fully editable in MS2-MAX. Just specify the category name and category desrcription when you create the category, and it will automatically appear. This will not work in all templates by default, just the aabox template. If you are using another template besides aabox, you will have to copy the content files from the aabox template to the other template.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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

  4. #4
    Member
    Join Date
    Apr 2004
    Location
    Argentina
    Posts
    61
    Rep Power
    0


    Default

    it sounds nice msasek...
    but, how would u translate to english?
    :P :P
    or translate 2 code... :P
    Henry Becerra
    ICQ: 18048153
    MSN: qbecerra@hotmail.com
    Yahoo: qbecerra
    http://www.beza.com.ar

    San Juan - Argentina

  5. #5
    Member
    Join Date
    Apr 2004
    Location
    Argentina
    Posts
    61
    Rep Power
    0


    Default

    negvibe
    i got this error when i put the code
    Code:
    Fatal error: Call to undefined function: last() in D:\Inetpub\shopnuevo\catalog\templates\alipo\content\index_products.tpl.php on line 5
    msasek:
    i cannot c a field to enter categories descriptions in the admin section...
    what could i put in the index_products.tpl.php to show categ. name (just that, i dont care description)..

    thanks again
    Henry Becerra
    ICQ: 18048153
    MSN: qbecerra@hotmail.com
    Yahoo: qbecerra
    http://www.beza.com.ar

    San Juan - Argentina

  6. #6
    New Member
    Join Date
    May 2004
    Location
    Philadelphia, USA
    Posts
    10
    Rep Power
    0


    Default

    Yeah, I was quick to post - That code I posted is for standard osC 2.2 so it's prob not gonna work in your case. Sorry for the confusion.

  7. #7
    Member
    Join Date
    Apr 2004
    Location
    Argentina
    Posts
    61
    Rep Power
    0


    Default

    no problem
    here we work with MS2 MAX latest stable version
    will wait until Michael drops some tips ...
    anyway, thanks alot negvibe
    Henry Becerra
    ICQ: 18048153
    MSN: qbecerra@hotmail.com
    Yahoo: qbecerra
    http://www.beza.com.ar

    San Juan - Argentina

  8. #8
    osCMax Developer

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


    Default

    Ok, in ms2-max, when you create categories in the admin panel, you will see the following fields:

    Category Name
    Category Heading Title
    Category Description


    Fill them in. If you are using the default aabox template (the blue one), the content of those fields will automatically appear on the category pages instead of 'Lets see what we...'

    If you are using one of the other templates (like OneTable or osC) this will not be the case. To get it to work on those templates, you will need to copy all the files in /templates/aabox/content to the content dir of the template that you are using (overwriting all the files).

    There is no code to edit, it is all handled from the admin control panel.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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

  9. #9
    Member
    Join Date
    Apr 2004
    Location
    Argentina
    Posts
    61
    Rep Power
    0


    Default

    this is what i call Helpful
    thanks alot michael...
    Henry Becerra
    ICQ: 18048153
    MSN: qbecerra@hotmail.com
    Yahoo: qbecerra
    http://www.beza.com.ar

    San Juan - Argentina

Similar Threads

  1. Adding Category Descriptions in Category List for each Cat.
    By el1jones in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 03-15-2006, 12:37 AM
  2. Browse By Category
    By MSatterwhite in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 01-18-2005, 08:36 AM
  3. Browse By Category
    By MSatterwhite in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 01-18-2005, 08:12 AM
  4. Sub-category pics
    By Dumb_Question in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-11-2003, 12:41 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, 11:52 AM

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
  •