1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to create the extra options page in AdminCP

Discussion in 'XenForo Development Discussions' started by MOZ, Feb 12, 2013.

  1. MOZ

    MOZ 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.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    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.
     

Share This Page