News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Layout Question

Started by TGoodrich, 30.08.2015 04:45:15

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

TGoodrich

Hi,

I am new to jdownloads and have a question concerning layout.

Is it possible to list categories and files like this:
------------------------------------------------------
Parent Category

  Sub Category 1
    File 1
    File 2
    File 3

  Sub Category 2
    File 1
    File 2
    File 3

  Sub Category 3
    File 1
    File 2
    File 3
------------------------------------------------------

I'm Looking to have something similar to the above on a single page. I know the above can have a hierarchy as the above, I'm just not sure how to display it like that on the frontend. 

Thank you,
TGoodrich
  •  

ColinM

Hi
I think what you are asking for is to show the contents of several categories simultaneously.  This is not straight forward.

The Category and Download structure is just as directories and files. The categories are organised in a tree structure. Thus the jDownloads presentation is the same as that for any tree organised directory structure.  So the type of layout you are seeking is 'challenging' to achieve.  There are various points to consider.  Are the categories (directories) at the same level in the tree?  What happens when one clicks on one of the categories that may contain sub categories? How would the categories be selected.

If you want a compact display then look at the Tree module.  By using the No Number 'Modules Anywhere' extension that display could be included in an article.  I generally use the Tree module at the top of any relevant page.  then I can easily look at any point in the structure and select that to be shown.

Colin
Colin M
  •