Change Admin Templates for individual import routines

Punga

New member
Hi,

to import data of my old custom made forum I'm currently developing my own import routines for XenForo. Everything works fine if using static variables to configure DB-Connection and Avatar-Path. But instead of having static variables keeping this information I would like to create a template collecting these values - like it's done with all other importers that came with xenForo.

So, I need corresponding values for using "$controller->responseView($viewName, $templateName)"

For "$templateName" I discovered import templates within "admin_templates.xml". But if inserting a new template into the XML file it won't show up for my importer.

For "$viewName" I'm stuck and need to know how to create/reference a corresponding view.

Any help would be appreciated.

Thanks,
Punga
 
Top Bottom