Change the FAQ order

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
leandrorius
Posts: 12
Joined: Tue Jul 17, 2012 3:24 pm

Change the FAQ order

Post by leandrorius »

Hi!

I have a (maybe dumb) question about the FAQs disposal. I know that is possible to change the Category order, but it's possible to change the FAQs order inside a category?
For example, I have the category "Technical issues", and inside that I have three FAQs:

* How to solve problem A
* How to solve problem B
* General information about A

But I want to display the questions in a different order, like:

* General information about A
* How to solve problem A
* How to solve problem B

It's just aesthetics, but it would be quite better inside my page.

Thanks!
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Change the FAQ order

Post by Thorsten »

Hi,

you can change the sort order in the admin configuration panel, but there's no manual sorting.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hheremans
Posts: 1
Joined: Mon Aug 11, 2014 2:56 pm

Re: Change the FAQ order

Post by hheremans »

For what it's worth, and for future reference: I hacked together a solution for this (along with loads of other extra's that would be useful for phpMyFaq), allowing you to manually change the order of the items in a similar way to categories. The solution should also be robust for other sort orders (ID, creation date etc), although it doesn't work well when a FAQ is in multiple categories (this is due to the chosen data model, nothing I can do).

I'll post this as soon if there is demand & as I get it thoroughly tested.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Change the FAQ order

Post by Thorsten »

Hi,

would be awesome, I could add it to 2.9 if you like.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply