Results 1 to 10 of 63

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Display Categories In Separate Boxes

    Hi,
    regarding the
    Display Categories In Separate Boxes v1.0
    add-on from here
    http://www.zen-cart.com/index.php?ma...oducts_id=1231

    it appears to be incomplete as in

    \includes\templates\TEMPLATE\sideboxes\tpl_separate_category_sidebox.php

    there is no code to display the retrieved category information.

    regards
    Steve

  2. #2
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Display Categories In Separate Boxes

    Did you install the mod following the instructions??? Technically you don't need the files in the template folder to operate any mod. They are there to style the mods and make them load inside your template. The module folder loads the sidebox.

  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Re: Display Categories In Separate Boxes

    Hi,
    thanks for the quick reply.

    I copied the three files to their respective locations as per the instructions but when displayed in the shop, the new sidebox is empty, irrespective of the category c.parent_id number.

    Looking at other sideboxes, the actual content is loaded into the $content variable by the file here
    \includes\templates\TEMPLATE\sideboxes\tpl_ANY_sidebox.php
    and then I assume passed onto the main page code.

    But in the case of this mod
    \includes\templates\TEMPLATE\sideboxes\tpl_separate_category_sidebox.php

    nothing is loaded into $content apart from the start and end div tags, and so that is what is displayed.

    Maybe I am missing the point of this mod.
    I assumed it was a way to separate the master (or sub) categories into separate boxes, maintaining the sublayer links.

    regards
    Steve

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Display Categories In Separate Boxes

    This mod is built to display a single category of your choosing in a separate sidebox. I haven't checked to see if it will display that category's subs.

    It will not remove the category from the regular categories sidebox.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Display Categories In Separate Boxes

    On inspection, it looks like it will display the subcategories of a chosen category in the sidebox.
    It also displays them in <li> tags, without a containing set of <ul> tags anywhere.

  6. #6
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Display Categories In Separate Boxes

    The mod will only display sub-categories of a master category in the box. They will be displayed in a <li> which can be styled easily to give a more elegant look to your tree.

    You can hide the category using the Zen Cart admin, or manually code it into the categories sidebox.

 

 

Similar Threads

  1. v151 2 Separate Boxes on Different Category Type
    By PanZC2020 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Aug 2016, 09:40 PM
  2. Separate quantity boxes for different attributes
    By ::AnanA:: in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 7 Oct 2008, 02:21 PM
  3. Separate Top Categories from Sub-Categories in Layout?
    By msmith29063 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 22 Feb 2008, 06:56 PM

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