You can hack the menu module, its what I usually do ...
*JOOMLA*/administrator/modules/mod_menu/helper.php
REPLACE @lines 112-126
Code:
/*
* Content SubMenu
*/
$menu->addChild(new JMenuNode(JText::_('Content')), true);
$menu->addChild(new JMenuNode(JText::_('Article Manager'), 'index.php?option=com_content', 'class:article'));
if ($manageTrash) {
$menu->addChild(new JMenuNode(JText::_('Article Trash'), 'index.php?option=com_trash&task=viewContent', 'class:trash'));
}
$menu->addSeparator();
$menu->addChild(new JMenuNode(JText::_('Section Manager'), 'index.php?option=com_sections&scope=content', 'class:section'));
$menu->addChild(new JMenuNode(JText::_('Category Manager'), 'index.php?option=com_categories§ion=com_content', 'class:category'));
$menu->addSeparator();
$menu->addChild(new JMenuNode(JText::_('Frontpage Manager'), 'index.php?option=com_frontpage', 'class:frontpage'));
$menu->getParent();
... with ...
Code:
/*
* Content SubMenu
$menu->addChild(new JMenuNode(JText::_('Content')), true);
$menu->addChild(new JMenuNode(JText::_('Article Manager'), 'index.php?option=com_content', 'class:article'));
if ($manageTrash) {
$menu->addChild(new JMenuNode(JText::_('Article Trash'), 'index.php?option=com_trash&task=viewContent', 'class:trash'));
}
$menu->addSeparator();
$menu->addChild(new JMenuNode(JText::_('Section Manager'), 'index.php?option=com_sections&scope=content', 'class:section'));
$menu->addChild(new JMenuNode(JText::_('Category Manager'), 'index.php?option=com_categories§ion=com_content', 'class:category'));
$menu->addSeparator();
$menu->addChild(new JMenuNode(JText::_('Frontpage Manager'), 'index.php?option=com_frontpage', 'class:frontpage'));
$menu->getParent();
*/
/*
* FlexiContent SubMenu
*/
// Load custom CSS
$document =& JFactory::getDocument();
$document->addStyleSheet(JURI::base().'modules/mod_menu/css/mod_menu.css');
$menu->addChild(new JMenuNode(JText::_('Content')), true);
$menu->addChild(new JMenuNode(JText::_('Content Manager'), 'index.php?option=com_flexicontent', 'class:flexicontent'));
$menu->addChild(new JMenuNode(JText::_('Items Manager'), 'index.php?option=com_flexicontent&view=items', 'class:article'));
$menu->addSeparator();
$menu->addChild(new JMenuNode(JText::_('Section Manager'), 'index.php?option=com_sections&scope=content', 'class:section'));
$menu->addChild(new JMenuNode(JText::_('Category Manager'), 'index.php?option=com_flexicontent&view=categories', 'class:category'));
$menu->addSeparator();
if ($manageTrash) {
$menu->addChild(new JMenuNode(JText::_('Content Trash'), 'index.php?option=com_trash&task=viewContent', 'class:trash'));
}
$menu->getParent();
... you'll need to also comment out my custom style sheet from the code you just pasted if you don't want to use little FlexiContent icons in the menu ...
Code:
// Load custom CSS
// $document =& JFactory::getDocument();
// $document->addStyleSheet(JURI::base().'modules/mod_menu/css/mod_menu.css');
... if you do want to include that part also its pretty easy just create 2 folders in the ...
*JOOMLA*/administrator/modules/mod_menu/
... directory, one named 'css' and the other named 'images' for the little icons. In the css folder create mod_menu.css file and add ...
Code:
@CHARSET "UTF-8";
/** menu icons **/
.icon-16-flexicontent { background-image: url(../images/flexicontent.png); }
... to the file now that you have *JOOMLA*/administrator/modules/mod_menu/css/mod_menu.css we just need to add the little icon http://flexicontent.org/forum/index.php?mode=view&id=724&sid=b4c9dafd598c415230340d69b66859d5&rb_v=file to the images folder you just created.
If you aren't already using CQI it can replace the core mod_quickicons module and completely remove all links to com_content that aren't necessary.