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

Categories: Top Level boxes

This is a discussion on Categories: Top Level boxes within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I would like to have, in the body, something like this: Code: --TopLevelCategory1--------- | | | subcategory1 | | subcategory2 ...

      
  1. #1
    New Member
    Join Date
    Jan 2011
    Posts
    19
    Rep Power
    0


    Default Categories: Top Level boxes

    I would like to have, in the body, something like this:
    Code:
    
     --TopLevelCategory1---------
    |                            |
    |   subcategory1             |
    |   subcategory2             |
    |   subcategory3             |
    |                            |
     ----------------------------
    Code:
    
     --TopLevelCategory2---------
    |                            |
    |   subcategory1             |
    |   subcategory2             |
    |   subcategory3             |
    |                            |
     ----------------------------
    ...and so on for each top level category. Is there a contribution out there, or, can someone tell me what keywords to use for search on google so I can learn how to do this? Right now I'm just stumbling about.

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Categories: Top Level boxes

    Yes - I have seen one at somewhere that does exactly this ... TRY HERE ... on page 24
    Regard,
    Last edited by pgmarshall; 02-06-2011 at 01:17 AM.
    pgmarshall
    _______________________________

  3. #3
    New Member
    Join Date
    Jan 2011
    Posts
    19
    Rep Power
    0


    Default Re: Categories: Top Level boxes

    I reused the categories.php code (located in ...includes\boxes). Among other things, adding the following line:
    $cPath_array[$i++] = $parent_id;

Similar Threads

  1. More categories boxes with CSS menu, possible?
    By ptt81 in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 03-20-2010, 06:21 PM
  2. Categories and SubCategories as Boxes
    By w424637 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-11-2004, 08:13 AM
  3. Help, I've Lost my Pretty Categories Boxes
    By davec69 in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 10-29-2004, 12:42 AM
  4. Cannot add new categories in top level
    By Lord in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-10-2004, 12:44 PM
  5. Trying to put a image in php (/boxes/categories.php)
    By JBright in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 06-06-2003, 10:48 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
  •