I set up a forum and I would like to have the same menu as the site on the forum. So for that, I have a route that returns the menu.
I see two solutions: make an ajax call and append the result in the dom or create a plugin to customize the header.
The first solution is easy to set up but I would like to know how to create a plugin with an ajax call.
I managed to create the widget but I did’nt succed to make an ajax call .
Is that possible ?