Page 1 of 1

Category layout

Posted: 09 Aug 2017, 13:02
by steffk
Hello,

I want to change the layout. But I need help.

I have categories: name1, name2, name3
There are some subcategories name1.1 ,name1.2, name2.1 etc where files in there

On first page I want to show just the main category
name1
name2
name3

On click on "1", I want to have this layout:
name1.1 (not clickable)
- files
- files
name 1.2
- files

and also when I click on name2 etc.

Now I always must click on name 1 then I have
name1.1
name1.2
and must them also click. But in this view I still want to have the files shown.

In default.php in line 82 I added:
echo $this->loadTemplate('files');
but nothing want be shown.

Hope anyone can help asap.
Thank you very much.

Re: Category layout

Posted: 12 Aug 2017, 13:54
by Jan
Hi, see similar posts in this forum. For this you need to customize the code - to load all files and categories at once and display the files e.g. by some javascript function (not recommended as this can overload the database, etc.) or e.g. some ajax, which will load the file on click or on mouse over :idea:

Jan