Hello! I am trying to render a megamenu inside a custom module using the following code:
$t3app = T3::getApp($this);
$t3app->megamenu('mainmenu');
but all I'm getting as output is this:
<jdoc:include type="megamenu" name="mainmenu"></jdoc:include>
how can I make it work?