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".
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".