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

How do I extend an Admin CP section?

Discussion in 'XenForo Development Discussions' started by MGSteve, Feb 20, 2012.

  1. MGSteve

    MGSteve Well-Known Member

    I'm working on a mod to allow the addition of 'Sponsored By' boxes under the node captions on the forum page - that bits done, but what I'd like to do is extend the Node Tree 'Edit Forum' page and add an extra tab for 'Sponsor'. Then within the tab have a dropdown of the available sponsors. - Or even just add the drop down onto the 'Basic Information' tab.

    What I can't work out is how to extend that section of the ACP - anyone got any suggestions as to where I can look?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    There are template hooks you can use. Look in the admin templates. For example:

    Admin CP -> Development -> Admin Templates -> forum_edit
     
    MGSteve likes this.
  3. MGSteve

    MGSteve Well-Known Member

    Cheers Jake - dunno why I didn't just look at the templates first! d'oh.
     

Share This Page