![]() |
FAQ phrases everywhere!
I wanted to have various help texts in a lot of places in my site but didn't want to put them raw in the template or create new phrases for them. Help texts are mostly suited for the FAQ, aren't they?
So, what I did is add them in the FAQ and made this little product that enables all faq phrases in certain scripts you define via a setting in the admincp. Then you can use the arrays $faqtexts[varname] for the text and $faqtitles[varname] for the title. I haven't tested it a lot, so its beta. I only tested it with very simple FAQ items. Its also unsupported, as I don't have the time or energy to support hacks at the moment. I just thought someone might find it useful, so I decided to share it. :) It adds one query to each page you want it on. You can find the THIS_SCRIPT names of files in the first lines. Most of the times its the same as the filename without the ".php". |
great hack
|
Screenshots? Demo?
|
Quote:
If you don't understand what it does after reading the first post, you probably don't need it anyway. :) Veronica thanks! It seems that it was a good idea to release it after all, since 6 people needed it :) |
anyone have any ideas about how to get this to show up in a post?
|
All times are GMT. The time now is 05:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|