Placeholder | Returns |
:nextquestion:,:previousquestion: | The question following or previous to the current question |
Example:
The question after this one is
nextanswer, previousanswer
The question before this one is
faqnumber
Since these might be used in links and since the questions might be verbose, you can have Friday truncate the text it returns for these placeholders.
In the [App] section of FRIDAY.FQA, add or edit this line:
NextPreviousQuestionLength=0
If the value is greater than 0, Friday trims the text to the length specified. Otherwise it returns the entire text of the question.
How/When you'd use it
You might use these at the top or bottom your answer template to produce links with the actual question text of next/previous questions rather than simple Next/Previous links.
Naturally, all content & site maintenance by
Friday The Automatic FAQ Maker