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

Template tag for outputting a table within the ACP?

Discussion in 'XenForo Development Discussions' started by euantor, Sep 30, 2013.

  1. euantor

    euantor Well-Known Member

    I'm messing about with add-on development for XF and have the need to create a table of information within the admin area. I therefore wondered if there is a <xen:x> template tag to generate a table similar to the <xen:form> tag?

    Whilst we're on the subject, is there any kind of reference to all the available template tags?
  2. Chris D

    Chris D XenForo Developer Staff Member

    You would just have to reference what's in the existing admin templates for reference, but you might also get an idea by looking at the files in:


    That might help.

    Of course any HTML will work, though.
    euantor likes this.
  3. euantor

    euantor Well-Known Member

    Ok, cheers Chris. Writing the actual HTML may well be easier, but I will look at that. If nothing else, it's good to know that's where the tags live at ;)

    Ed: Have looked and it seems HTML is the way to go. For future reference for anybody stumbling across this, use the .dataTable class for your table, then .dataRow for each row.
    Last edited: Sep 30, 2013

Share This Page