sorting files into a category on front end

Phoca Download - download manager
Bernard53
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 08 Mar 2026, 19:01

sorting files into a category on front end

Post by Bernard53 »

Hello

I'm having trouble sorting files into a category on front end.

The page associated with this category contains the following text:
File 1 Information
File 2 Information
File 3 Information

Normally, the links to all the files in this category should appear sequentially, with some text associated with each file.

I would like to see the links in the same order in this second part of the page:
Link to file 1
Link to file 2
Link to file 3

But it's not working at the moment.

So I started by resaving all the files in this category in the correct chronological order. In Phoca download display, I selected "File ordering date descending."

I cleared the cache.
I restarted the local server (MAMP PRO), but nothing has worked; the links are still out of order in the footer of the front end for this category.

Thank you if you can help me.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10077
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: sorting files into a category on front end

Post by Benno »

Hi,
First of all:
Which version of Joomla are you using?
Which version of Phoca Download Component are you using?
The page associated with this category contains the following text:
File 1 Information
File 2 Information
File 3 Information

Normally, the links to all the files in this category should appear sequentially, with some text associated with each file.

I would like to see the links in the same order in this second part of the page:
Link to file 1
Link to file 2
Link to file 3
Are you talking about links to files within an article using the Phoca Download Plugin? If so, which version of Phoca Download Plugin are you using?
If not, please take screenshots of the problem and post them here, because I don't understand it and therefore can't reproduce it... :idea:


Kind regards,
Benno
Bernard53
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 08 Mar 2026, 19:01

Re: sorting files into a category on front end

Post by Bernard53 »

Hi,

I am using joomla 6.0.0
PhocaDownload 6.0.0 too

I don’t use Phoca Download Plugin.

As I need to show you 3 screen captures, I did a folder containing them
and uploaded there
https://transfert.free.fr/ROmf8mU
Files will be avalaible for one month only

I am focusing on a category named Livrets Rosaire. Alias livrets-rosaire
This category contains 16 files

see capture '1 files in my order'
Here is a capture of phocadownload folder end of list, containing all files sorted by date.
What I did yesterday is to re ordered all concerned files by
Copy them in an external folder
Delete them in phocadownload folder
Record them one by one in phocadownload folder in the right order I want.

( By the way I forgot to change one file in this category so there is only 15 files in the right order here above.)

Now see capture 2 Top of page
In site front end this is a capture of Top of the page display for this category, where I introduce the different files user can download sorry it’s in French
This text has been created in Phocadownload backend /Categories/Livrets Rosaire/General Options/ text area

now see at '3 following first links'
Following this, in front end are displayed files contained in this category showing 6 first files presented

This is not the presentation order I want for downlodable files, I want the ascending recording date.
I specified that in Phocadownload/ Parameters/File ordering : Date descending

So something is wrong , for me it must be first file “marche a suivreV1”
I certainly did a mistake but where ?

Thanks a lot for your help
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49282
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: sorting files into a category on front end

Post by Jan »

Hi, sorry, maybe I wrongly understand this. When you set the default ordering for the frontend:

Image

it is ordered by this ordering until the user in frontend changes it.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10077
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: sorting files into a category on front end

Post by Benno »

Hi,
I'm not really sure if I understood you correctly either. I added 10 test files to a Phoca Download category at short intervals, and they are also displayed in that order in the frontend:

Backend:
Image

Frontend:
Image

I'm not sure if this has any influence, but I can see from your screenshots that you are using file names with spaces in some cases. This should be avoided:
Image
See: https://www.phoca.cz/documentation/77-p ... ing-images

Kind regards,
Benno
Bernard53
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 08 Mar 2026, 19:01

Re: sorting files into a category on front end

Post by Bernard53 »

Hi Benno

I think you find where the problem came from : spaces create it.

I will check carefully and I will update this post with results.

Thank's a lot
Post Reply