Hot answers tagged

4 votes

How can I hide a menu item, without breaking its route?

Simply create Hidden Menu (call it whatever you want) which is not to be used in any menu module. It will hold menu items not visible on front end, and put your menu item in it.
Mikan's user avatar
  • 3,007
4 votes

Add a parameter to "external url" menu item

The External URL menu item also has an XML file (like all backend forms in Joomla). You can find it inside: administrator/components/com_menus/models/forms/item_url.xml So inside this file (or the ...
FFrewin's user avatar
  • 19.6k
4 votes

Joomla turns all menu items to sub-sub-menu items when adding a new one

The issue was down to a problem with a PDO database file MySQL driver, which is why it wasn't replicated on my other 3.5.0 site, which was using MySql. There is a fix here, or it should be patched in ...
RichardB's user avatar
  • 3,072
4 votes

I want to make the menu sticky

Based on the template demo and , I put together a quick solution using jQuery and CSS, but if your template has been customized, this might not work as expected: CSS .fixedMenu { position: fixed;...
johanpw's user avatar
  • 13.3k
3 votes
Accepted

T3 Mega Menu - How to dynamically populate menu column by tag?

With T3 Mega Menu you can include a module as a menu item as follows: go to Extensions -> Templates and edit your T3 template click on the "Megamenu" button select your Main Menu or similar click ...
Neil Robertson's user avatar
3 votes
Accepted

Joomla 3 frontend view xml: How do I add a custom field to the menu item's paramaters?

Try removing the blank spaces in fields name and fieldset name attributes <fields name="RouteSettings"> <fieldset name="RouteSettings"> <field name="route_id" type="sql" ...
Kitase88's user avatar
  • 977
3 votes

Copying Joomla Menu Items and keeping Module assignements

I needed exactly the same thing so I made a plugin that makes Save as copy work that way. You can find it here: https://github.com/alexxandar/copy-module-assignments
Alexxandar's user avatar
3 votes
Accepted

How to detect whether the user is on a specific menu?

You can use the following to display the desired message: $app = JFactory::getApplication(); exist $menu = $app->getMenu(); $title = $menu->getActive()->title; echo 'Welcome to ' . $...
Lodder's user avatar
  • 26.9k
3 votes
Accepted

Change home menu title after login

Best way to do this is to add another menu item, rather than try to change the existing one. Then in menu manager change the access level on the Feature from the default 'Public' to 'Guest'. This ...
Seth Warburton's user avatar
3 votes

How to get the actual title of a Menu Type object?

Just in case it helps anyone, this is how I achieved it: $menu = $app->getMenu(); $active_item = $menu->getActive(); $loader = function ($menu_type) { $db = \JFactory::getDbo(); $...
Cédric Françoys's user avatar
3 votes

How to remove menu parent from url?

A "clean" way of addressing this problem from within the Joomla is to create the child menu item in a hidden menu, and then reference (in the real menu) the child menu item using a menu item of type "...
itoctopus's user avatar
  • 3,216
3 votes
Accepted

Disabling Menu Recovery Mode for user groups

Thanks to @Irata, I found a option in : Menus (Column Linked Module) > Your module Name > Check Menu And set this option to "No" Hope this help someone else Source : https://www.joomlashack.com/...
Lucas Duval's user avatar
3 votes

How to have article page use a template other than the one of its category?

Last time I need to get different style depending of the component without using menu, I've used a trick using the Jinput variable $jinput = JFactory::getApplication()->input; $jinput->get('...
Lucas Duval's user avatar
3 votes

How can I remove front-end Edit button from side menus?

In System -> Global Configuration -> Site -> Frontend Editing you have the choice of: Modules & Menus Modules None
Neil Robertson's user avatar
2 votes

Using Virtual Domains: Two menus with same content and different links

I went through a similar process with separate menus for each website but found this was hard to manage and did not work well for several reasons. Virtual Domains now has a menu filtering option ...
Neil Robertson's user avatar
2 votes

Get the number of menu elements? (Parents)

A more effective method to get all the menu items that are on the top level (level 1) and part of the menu called "mainmenu" (default menu): // Get default menu - JMenu object $menu = JFactory::...
Nick's user avatar
  • 51
2 votes

Main menu displayed twice

Your website is in offline-mode, so it's not possible to know what's going on. However, the Helix3 template has a menu system that is configured in the template settings, and my guess is that you ...
johanpw's user avatar
  • 13.3k
2 votes

How can I use a html link menu?

The easiest way (though not an ideal solution) would probably be to use a Custom HTML module (either the built-in module, or one from the Joomla Extensions Directory). Simply paste your code, and ...
johanpw's user avatar
  • 13.3k
2 votes

Strange behaviour with bootstrap nav in Joomla 3

Solution Found: The unwanted behavior is caused by Joomla's frontend editing capability. When logged in as an administrator it injects code into modules to allow frontend editing. This causes ...
Jacques's user avatar
  • 153
2 votes
Accepted

Which API joomla 3 return menus and submenu for site that created by admin?

You have to get instance of menu: $menu = JMenu::getInstance('site'); // or 'administrator' for back-end this will load all items for you. Now you can: Get all menu items $allMenuItems = $menu-&...
Rene Korss's user avatar
  • 3,208
2 votes
Accepted

Multiple menus in Gantry

I was able to resolve the issue. I needed to duplicate the gantry template. On the second template, I simply chose the P3 Live Menu under Menu. Then under Assignments (in the template), I chose ...
Charles Wilkins IV's user avatar
2 votes
Accepted

Responsive Menu with different background images

Future template updates will likely undo your template index.php file edits. A better way to do this (and probably worth a try if your initial method is not working consistently) is to edit your home ...
Neil Robertson's user avatar
2 votes
Accepted

Multilingual site: Why do I need the language "all"?

Since version 1.7, Joomla requires Home menu item for 'All' languages, as soon as you enable System - Language Filter plugin and have Language Switcher module published. That menu item can be stored ...
Mikan's user avatar
  • 3,007
2 votes
Accepted

Joomla turns all menu items to sub-sub-menu items when adding a new one

I would suggest you to verify Assets Table, because many times that have fixed mysterous problems for me in the past. But unfortunately, there is no free tool for that. The best assests and ...
Mikan's user avatar
  • 3,007
2 votes
Accepted

Show articles from category and all it's subcategories on homepage

I actually found my answer on another forum. Here is a link to the solution: Articles from multiple categories showing on homepage If you set the Category Sort Order=No Order, the articles will be ...
Maureen's user avatar
  • 121
2 votes
Accepted

How to create one page Joomla site?

Any template should work fine with "External URL" menu options linking to appropriate IDs on the page (see example below). You can also create extra IDs in the content where needed by ...
Neil Robertson's user avatar
2 votes
Accepted

Load menu module manually in component layout

JModuleHelper::getModules is a handy helper created to load modules in a convenient way. However, it follows certain business rules for CMS consistency. For example, to render modules assigned and ...
Anibal's user avatar
  • 7,435
2 votes

I want to make the menu sticky

Having done a quick Google search (hint), I believe the Helix 3 templates supports a fixed/sticky header in the Template Options:
Lodder's user avatar
  • 26.9k
2 votes

Joomla Administration menu auto-disable in the internal sections

Yes, this is the reason behind disabling the top menu on edit views. You'll get some people that are performing different tasks in the back-end on different tabs and accidentally navigate to a ...
Lodder's user avatar
  • 26.9k
2 votes

Joomla Administration menu auto-disable in the internal sections

I just tried if it is possible to solve that with a system plugin and it worked :-) You can download the plugin here: https://github.com/fruppel/plg_enableadminmenu/releases Remember to publish the ...
fruppel's user avatar
  • 3,723

Only top scored, non community-wiki answers of a minimum length are eligible