|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
I know this should be simple, but I can't figure it out. I did a search in here and didn't find an answer.
I tried adding a pair of new entries, a F_SIGNATURE and B_SIGNATURE to have the FAQ question and answer about why we don't allow signatures for new posters until they hit 50 posts. How do I get those to actually show up on the FAQ page?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
You'll need to edit the faq template adding it there, following the pattern that is there currently (add an additional_onloads, and then adding your edntry towards the bottom of the file)
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
<snicker> the conversation I had in my head when redoing the FAQ for 7.3 was something similar to:
"they should be able to add faq entries easier" "but how to put it in?" "well, hmm, php could build the javascript entries" "yeh, but you don't really grasp how to do that right now in the ubb then process to smarty" "true, I guess I could recommend that to Rick and do the other stuff" "yeh, well, that's what we'll do"
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
Would it not be easier if Rick had incorporated it into something like the language files? Then it could be edited directly from the control panel. Adding as many extra key fields as needed. And you also would be able to edit them. Of course it is easy to critique after the FAQ(Fact).
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Well, it is a language file; it's just how everything is outputted via the template file that makes it so you have to do some things manually
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
I understand. But like you said,currently you still need to edit manually to add or delete what is displayed other than the canned FAQ's.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
OK that worked wonderfully - thanks so much!
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
3 members (Ruben, Nightcrawler, 1 invisible),
830
guests, and
271
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|