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.
Category layout
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category layout
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 
Jan

Jan
If you find Phoca extensions useful, please support the project