Adding page to add-on xml file

Randall

Member
I have an add-on that uses a xenforo page. I looked at other add-on xml files and did some searching on xenforo but didn't find what I was looking for. Can I define the page in the add-on.xml file so the page gets created when the add-on is installed?
 
No, is the simple answer.

Nodes themselves can't be associated with add-ons hence they can't be exported in the add-on XML.
 
You can have your installer create the page for you though through DataWriters. However, since it's a page it's probably best to either create or extend an existing controller :p
 
Top Bottom