Different sort in tree module

Phoca Gallery modules - modules for Phoca Gallery extension
Thierry
Phoca Member
Phoca Member
Posts: 20
Joined: 13 Mar 2009, 18:45

Different sort in tree module

Post by Thierry » 16 Mar 2009, 19:41

Hi Jan

Is it possible to change the sort order of the categories inside the Tree module

My caterogies appears by ID instead off alphabetical order

Thanks for your help

Thierry

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42522
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Different sort in tree module

Post by Jan » 19 Mar 2009, 13:37

Hi, this need to be customized in the module, you need to change the sql query...

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

Thierry
Phoca Member
Phoca Member
Posts: 20
Joined: 13 Mar 2009, 18:45

Re: Different sort in tree module

Post by Thierry » 24 Mar 2009, 16:47

Hi Jan

I have no Sql query on Joomla's backend for this module.

Do you mean "Change a value inside one file of this module" ?

if Yes could you tell me which one ?

Thanks

Thierry

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42522
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Different sort in tree module

Post by Jan » 30 Mar 2009, 14:46

The sql query in module file:

modules\mod_phocagallery_tree\mod_phocagallery_tree.php
If you find Phoca extensions useful, please support the project

Thierry
Phoca Member
Phoca Member
Posts: 20
Joined: 13 Mar 2009, 18:45

Re: Different sort in tree module

Post by Thierry » 30 Mar 2009, 15:14

Hi Jan

Thanks for your response

it's cc.title instead of cc.ordering inside this file

Regards

Thierry

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42522
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Different sort in tree module

Post by Jan » 16 Apr 2009, 13:30

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

Karl1
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 15 Jun 2017, 16:25

Re: Different sort in tree module

Post by Karl1 » 15 Jun 2017, 16:32

Hi Jan
thanks for the information.
I Tried "...cc.title desc" and this worked.

But my question: how is the field "ordering" populated and how can I change it (from Backend) ?
I can live with the solution above but I would prefer not to change a php...
Regards Karl

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42522
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Different sort in tree module

Post by Jan » 17 Jun 2017, 22:38

Hi, for now there is no option for it in module settings so there is nothing to change. You can only add the option there and implement it into the module. :idea:

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

Post Reply