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

Change Admin Templates for individual import routines

Discussion in 'XenForo Development Discussions' started by Punga, Apr 24, 2014.

  1. Punga

    Punga New Member


    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.


Share This Page