Question about Sections

Phoca Download - download manager
Sakura Martinez
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 Oct 2011, 08:14

Question about Sections

Post by Sakura Martinez »

Hi, first off, thank you for developing such a useful plugin. It sure does make things easier for us.

Anyways, the reason for this post is because the boss wants to edit how Phocadownload displays the files. She wants it so that the section looks the same as how the categories are displayed. She wants it so that when you click on a section from the category, it would list the files the same way that the category displays the section. Is that possible? If so, how?

Also, she wants to delete the most downloaded files list. Is there a way to do that, too?

Help will be greatly appreciated.
Thank you and god speed.
~S. M.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Question about Sections

Post by Jan »

Hi, you can customize the output in templates of the Phoca Download - e.g. the section output:

components/com_phocadownload/views/sections/tmpl/default.php etc...

Jan
If you find Phoca extensions useful, please support the project
Sakura Martinez
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 Oct 2011, 08:14

Re: Question about Sections

Post by Sakura Martinez »

I'm sorry, I'm new at this. But, how would I do that?
What code would I need?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Question about Sections

Post by Jan »

Hi, it is html (php) code. I didn't do such changes yet so cannot give any specific advice there. You just need to set your own html output. :idea:
If you find Phoca extensions useful, please support the project
Sakura Martinez
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 Oct 2011, 08:14

Re: Question about Sections

Post by Sakura Martinez »

Which file is it? The one I need to edit?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Question about Sections

Post by Jan »

components/com_phocadownload/views/sections/tmpl/default.php
If you find Phoca extensions useful, please support the project
Post Reply