Template tag for outputting a table within the ACP?

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

XenForo/Template/Compiler/Tag/Admin

That might help.

Of course any HTML will work, though.
 
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:
Back
Top Bottom