Hi,
I've been searching for a way to easily reorder articles. Swapping the order of categories is fairly straightforward- has anyone come up with a way to change the ordering of articles within categories? My client is insisting on it!
thanks so much,
Richard Grove
Reordering of articles
Moderator: Thorsten
-
riacheslav
- Posts: 13
- Joined: Tue Jan 22, 2008 9:10 pm
- Location: san francisco, ca, usa
Hi,
currently you only can change the sorting, not the ordering.
bye
Thorsten
currently you only can change the sorting, not the ordering.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
riacheslav
- Posts: 13
- Joined: Tue Jan 22, 2008 9:10 pm
- Location: san francisco, ca, usa
creating
Hi,
Yikes! I will probably have to attempt to write an extension to phpMyFAQ that allows me to reorder articles... I'm a moderately experienced PHP developer, and I've already made some significant modifications to phpMyFAQ, though they are largely cosmetic.
Could you give me any quick thoughts on how I might accomplish this? I would simply like to write an extension to the software, one that hopefully others could use as well. Is it possible that a method for changing/swapping the article ids would accomplish this simply?
Another thought is that since phpMyFAQ allows one to sort based on the date of the article, and since for this particular FAQ we are not displaying the date, I could allow admins to alter the date, using it as a sort index.
phpMyFAQ is great and does everything I could ask of it, but the lack of this one feature is really hanging me. It seems eminently doable, but then, the software is complicated too.
any help is much appreciated,
Richard
Yikes! I will probably have to attempt to write an extension to phpMyFAQ that allows me to reorder articles... I'm a moderately experienced PHP developer, and I've already made some significant modifications to phpMyFAQ, though they are largely cosmetic.
Could you give me any quick thoughts on how I might accomplish this? I would simply like to write an extension to the software, one that hopefully others could use as well. Is it possible that a method for changing/swapping the article ids would accomplish this simply?
Another thought is that since phpMyFAQ allows one to sort based on the date of the article, and since for this particular FAQ we are not displaying the date, I could allow admins to alter the date, using it as a sort index.
phpMyFAQ is great and does everything I could ask of it, but the lack of this one feature is really hanging me. It seems eminently doable, but then, the software is complicated too.
any help is much appreciated,
Richard
Hi,
I think you'll need another column with the name "ordering" or something like this in the table faqdata. Then you should easily add a ordering for records. I would add your code into phpMyFAQ 2.5 if you want this.
bye
Thorsten
I think you'll need another column with the name "ordering" or something like this in the table faqdata. Then you should easily add a ordering for records. I would add your code into phpMyFAQ 2.5 if you want this.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist