Mautic Community Forums

Adding custom content to the admin tool

Greetings,



I have ‘//mautic/myContent.php’ -> In the admin tool, I’d like to add a link this page (in nav.nav-sidebar). I also want this page to leverage mautics authentication.



Any hints on how I can achieve this? An example?

I’m having a dig around and have some Ideas, but wanted to ask the experts.

Greetings,

I have ‘//mautic/myContent.php’ -> In the admin tool, I’d like to add a link this page (in nav.nav-sidebar). I also want this page to leverage mautics authentication.

Any hints on how I can achieve this? An example?
I’m having a dig around and have some Ideas, but wanted to ask the experts.

I’ve found: https://developer.mautic.org/?php#introduction which is fantastic.

Is there a repo or link to download all the source files used in this example? Would be nice to get the “helloWorld” plugin running as a starting point.

Otherwise - is there a very basic, bare bones, example out there?

Further, I’ve created a working bare-bones plugin based on the documentation, and pulling apart another plugin.

If anyone is interested in checking out (and improving!) my very basic bare-bones first attempt at a plugin, feel free to check out: https://github.com/marett/mautic-mydemobundle

That’s great! Also check this plugin for inspiration https://github.com/afelicioni/mautic-linux