How to create the extra options page in AdminCP


Well-known member
I would like to create an options page for one of my addons.

This options page has to be like the one used by notice creation, smilie creation, or the one used in Notifications addon.

I do not need the criteria and extra stuff, just how to create the layout with the "Create New" button, Search, Clear button, etc. The options itself would a set of field which would then be written to the DB.
Easiest way is to check out XenForo_ControllerAdmin_Notice and check out actionIndex.

That is the controller for the Notice list.

That function returns the notice_list template along with various parameters. If you look in Admin Templates, the notice_list template should be a pretty good outline for what you want to do.
Top Bottom