Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Create a single page FAQ
Migrated to TextBook (thanks marios).
Last edited by jm (2007-04-06 04:40:58)
Offline
Re: Create a single page FAQ
You could also use your faq_ans form in combination with this toggle/hide script to make just one list of question, where you click on the question to make the answer appear or disappear.
When your FAQ-List gets long it can be a useful way of still keeping things clear. It’s JS but it’s unobtrusive. The only addition to your script, in addition to linking the js file in the head is to give your dl-tag an id as hook for the script.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Create a single page FAQ
Yeah, but you’d have to upload a script, which is such a pain :P. That is a nice script though.
Offline
#4 2006-07-31 17:08:43
- Esteban_Panzera
- New Member
- Registered: 2006-07-31
- Posts: 4
Offline
#5 2006-11-06 20:37:14
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: Create a single page FAQ
jm:
Great tutorial/instructions.
I just used it for one of my projects and it worked perfect.
Thanks again.
progre55
Offline
#6 2006-12-25 15:41:27
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Create a single page FAQ
Thanks Jon Michael, I finally changed some (rather complicated) FAQ pages to your example. What a relief! I also changed the search results form to have the links go to the right anchor:
<p><a href="<txp:site_url />faq/#faq_<txp:article_id />"><strong><txp:title /></strong></a>
<txp:search_result_excerpt /></p>
Last edited by els (2006-12-25 15:42:17)
Offline
Re: Create a single page FAQ
I was playing around with a glossary javascript .. could be used in a FAQ scenario …
nuff-respec ::: dannyb
Offline
#8 2007-12-21 07:54:13
- Prax
- Member
- From: Huntsville, AL
- Registered: 2006-09-27
- Posts: 24
Re: Create a single page FAQ
I’m lost. I created the page and the forms…
how do I use with a FAQ? I know it’s just plain obvious but I’m not getting it at all.
Offline
Re: Create a single page FAQ
Did you create a section, or is a pre-existing section using the faq page? The template uses an article’s title as the question and the body as the answer, so it could be used with any section.
Offline
Pages: 1