Questions order

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
UncleSteve2
Posts: 21
Joined: Fri May 13, 2011 5:36 pm

Questions order

Post by UncleSteve2 »

Re - http://www.faq.mystore.com/index.php?action=show&cat=1

All the questions are listed in reverse alphabetical order. Is there a way to have them displayed in a random order, and to change order every time the page is refreshed?

I'm not sure which file has the code for the layout of the questions, can someone advise please?

Thanks in advance :)
UncleSteve2
Posts: 21
Joined: Fri May 13, 2011 5:36 pm

Re: Questions order

Post by UncleSteve2 »

I've discovered this file displays the question and answer - http://www.faq.mystore.com/template/default/artikel.tpl but I don't seem to be able to locate the file that shows just the question (though I may be looking in the wrong place).

Can anyone advise please?
UncleSteve2
Posts: 21
Joined: Fri May 13, 2011 5:36 pm

Re: Questions order

Post by UncleSteve2 »

I've discovered the question order can be set in admin, but only ascending or descending. I feel a random order option will be better for SEO to keep the search engines visiting.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Questions order

Post by Thorsten »

Hi,

why should this be better for SEO?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
UncleSteve2
Posts: 21
Joined: Fri May 13, 2011 5:36 pm

Re: Questions order

Post by UncleSteve2 »

I understand having a varied/changing content is beneficial for rankings
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Questions order

Post by Thorsten »

Hi,

you could use sticky FAQs for that.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
UncleSteve2
Posts: 21
Joined: Fri May 13, 2011 5:36 pm

Re: Questions order

Post by UncleSteve2 »

I can see the potential in your suggestion to keep hot topics at the top of the list, however its a manual system. I'd really like to run with an automatic random system.

Are you open to a special project?
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Questions order

Post by Thorsten »

Hi,

I could add this to 2.8 next year.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Questions order

Post by Thorsten »

Hi,

as a christmas present I added this feature today: https://github.com/thorsten/phpMyFAQ/co ... 6a6bb7e10c

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