• Dev
  • Extension developer - first read

If you are or want to become a Flarum extension developer, you might want to read up on the several resources and tutorials related to Extension development:

Getting help

How to debug

  • Enable debug (set to true in config.php).
  • Check that your extension is loaded in the page, for instance my hyn/flarum-analytics package can be found in the source when looking for System.get('hyn/analytics/main') which refers to the namespacing defined in the Gulpfile.js of your forum or admin javascript.
  • If your extension is loaded. See if it actually runs, use console.log('hello there'); to see whether the code is running. The message will be shown under the console in your browser.

Suggestions? Let us know.

    luceos stickied the discussion .
    a year later
    a month later