Loading...
 
Development

Development


adding a preference to a specific forum

posts: 35

I want to add a preference setting and a new feature to the forums. I was reading the hello world doc about adding prefs and I can't find the the correct include file. I found templates/admin/include_forums.tpl but this is the prefs for all forums. I also found templates/tiki-admin_forums.tpl. This is the template for the page where I want the pref to be set, but I'm not sure it is the right place to add the preference and I'm not quite sure how to do it.

Incidentally, the feature I want to add is an alternative to the one that emails each post to a mailing list. So I need some preference settings to turn that on or off and to control some settings. I could do it with my specific requirements, but it would be more useful if it was a generic way to run any arbitrary external command whenever a post was added to the forum.

Am I correct that adding a pref does not need a change to the database schema because prefs are not stored in the database?

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting