If there's not a plugin to do it, you can use the directphp plugin to put PHP in the editor for the module directly http://extensions.joomla.org/extens...ripts-integration/custom-code-in-content/4470 <?php $menu =&Jsite::getMenu(); $menuname = $menu->getActive()->title; echo $menuname; ?>
hmm okay, i will try that, I was going to clone the custom html module and create a turboit custom html module. but your solution sounds like less work so i'll give it a go. thanks
No problem, either set Joomla to no editor or if you using an editor like JCE make sure that the parameters allow PHP as well
for anyone else reading this in the future you need to enable prepare content in the custom html module
is there docs on the menuitem and the properties / functions it exposes ? i could find the menu itself on the joomla site but not the menu item? obviously i might be looking for the wrong name