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
Different sort in tree module
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Different sort in tree module
Hi, this need to be customized in the module, you need to change the sql query...
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 20
- Joined: 13 Mar 2009, 18:45
Re: Different sort in tree module
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
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
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Different sort in tree module
The sql query in module file:
modules\mod_phocagallery_tree\mod_phocagallery_tree.php
modules\mod_phocagallery_tree\mod_phocagallery_tree.php
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 20
- Joined: 13 Mar 2009, 18:45
Re: Different sort in tree module
Hi Jan
Thanks for your response
it's cc.title instead of cc.ordering inside this file
Regards
Thierry
Thanks for your response
it's cc.title instead of cc.ordering inside this file
Regards
Thierry
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Different sort in tree module
Ok
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 15
- Joined: 15 Jun 2017, 16:25
Re: Different sort in tree module
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
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
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Different sort in tree module
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.
Jan
Jan
If you find Phoca extensions useful, please support the project