• 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?


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?

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.


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: