Put a list with Columns

Phoca Download - download manager
Gigab
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 19 Nov 2008, 10:45

Put a list with Columns

Post by Gigab »

Hi
Excuse my English, but I'm French :twisted:

I installed PhocaDownload, and congratulation for this component !!

I have a very long list on one section (about 150 titles), and I wanted to know if it was possible to make this list into two or three columns (or plus ) on my page..

Without that, my page will be very height (long) :!:

Thaks very much for your answer !
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49134
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Put a list with Columns

Post by Jan »

Hi, there is no such option but I will paste it into the feature request list - to set maximum number of listed items in section...

Now you can change it in php code - setting limit (e.g. LIMIT 10) to sql queries in
components\com_phocadownload\models\sections.php

method:
_getCategoryListQuery

addding e.g. LIMIT 10 into the end of the sql query (after cc.ordering)

Jan
If you find Phoca extensions useful, please support the project
Gigab
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 19 Nov 2008, 10:45

Re: Put a list with Columns

Post by Gigab »

Thank you wery much for your answer..

It didn't work :(

I have just one column in the module mod_phocadownload_sectionmenu and in the component too.

As I could have more than one column in the mod_phocadownload_sectionmenu it'd be good.
:idea:

Thanks again !!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49134
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Put a list with Columns

Post by Jan »

Module - added into the feature request (more columns - the same as e.g. in VM categories)

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