Number of suggestions after "Add Question" or "Ask Question"

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
juser
Posts: 13
Joined: Mon Feb 08, 2010 3:27 pm

Number of suggestions after "Add Question" or "Ask Question"

Post by juser »

When a visitor asks a question, they are presented with suggesions for related FAQs at the top of the page. If the number of matches is lengthy, the visitor is confused because the submit form with their question has moved out of sight. They don't know they need to scroll down and submit once more and they wonder what just happened. Is there a way to limit the number of suggested answers? If not, then I'm forced to either a) move the answers div below the form and try to display a message for the user to review the answers below and resubmit, or b) change the text listing the number of results to say something like "If you don't find an answer to your question, please re-submit using the form below." Any better ways to handle this? Thanks!
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Number of suggestions after "Add Question" or "Ask Quest

Post by Thorsten »

Hi,

you're right. I'll think about a better solution in phpMyFAQ 2.8

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
juser
Posts: 13
Joined: Mon Feb 08, 2010 3:27 pm

Re: Number of suggestions after "Add Question" or "Ask Quest

Post by juser »

Great! In the meantime, here's my workaround in case others want a quick fix.

ajaxservice.php
Line 402 in version 2.7.5:

$response .= '<p style="font-weight:bold;color:red">Please review the following similar FAQs, then confirm your submission below:</p><ul>';
Post Reply