Questions tagged [menu-item]

In Joomla! Menu Items are used as part of a menu, to create pages, that load a pre-defined type of content determined by the Menu Item Type. Those pages will be accessible by a static URL (menu-item alias), that we can specify while creating the menu item. Menu Items also hold layout and presentation information about the page (e.g. show/hide page titles, images, template options for a page, and more).

Filter by
Sorted by
Tagged with
11
votes
4answers
3k views

Change Login to Logout

I have a website using Joomla 3.5 and I currently have a 'Login' main menu item. Once a User logs in, there are some sub-menu items that appear under the 'Login' menu item. What I want to do is to ...
11
votes
2answers
4k views

How to deal with Duplicated Content / URLs in Joomla?

I just found out a major SEO issue and while I have solved it for the time being; I am trying to figure out why it may have occurred in the first place and if there was mistake or is it something to ...
11
votes
2answers
3k views

Module as menu item

I need to insert the search module as a menu item (default menu module). I need this output : <ul> <li>menu item</li> <li>menu item</li> <li>SEARCH ...
8
votes
3answers
7k views

How to show tagged items in category blog layout

I want to create a menu item for a tag that shows the articles as in category blog layout. I have tried with these menu item types: "Compact List of Tagged Items", "List of all tags" and "Tagged Items"...
8
votes
6answers
2k views

How can I create a menu item on a different subdomain?

I want to create a menu-structure like this in Joomla 2.5: Root (www.example.com) About (www.example.com/about) Site a (a.example.com) Site b (b.example.com) Is it possible to create menu items ...
7
votes
6answers
5k views

How can I control the module display on pages with no menu item?

I have asigned a module to pages according to their menu items in the module parameters but I would like to hide/show it on specific pages that don't have a menu item linking to them. How do I ...
7
votes
2answers
2k views

Unable to create external link to javascript:void();

While writing a post on menu items without an actual link, I stumbled upon a strange behavior in Joomla 3.3.3: I wanted to point out that an <a> tag linking to "#" might cause the page to ...
7
votes
1answer
9k views

How to change the title tag?

On each page I get the option of meta description and keywords but don't get Title. Where can I change what appears under the <title> tag.
7
votes
2answers
4k views

Get full link from menu item field type

I am developing my own slideshow component and module for Joomla. The component is used to select the slides along with captions and links etc. The module shows the slides. In the component, for each ...
6
votes
4answers
3k views

Add html in menu title field

This is my need, I want to add an html tag to the menu title. I want to add some icons in front of each menu title in the frontend. I want this result: <li class="active"> <a href="index....
6
votes
1answer
13k views

How to get the alias or title of the active menu item?

In my template I want to give an extra class to the body of the document that will take the names of the alias of the menu item, so I can create individual styling among the pages. But how can I get ...
6
votes
3answers
2k views

Programmatically Add Menu Item in Component

I am trying to create a component where the user can add a menu item to an existing Menu after creating the article (or selecting from a list of article). The closest I could come across to an example ...
6
votes
3answers
2k views

List articles by author

I am looking for the simplest way to create a menu item that lists all articles by a specific author. Any help is appreciated. Elad.
6
votes
1answer
323 views

Menu Item loads any article content when ID passed in the URL instead of showing 404 error

I am having a very strange issue where I have a menu item called /foo which loads article Item 1. Now if I do /foo/2, I would expect this to generate a 404 page since I don't have a sub menu item '2' ...
5
votes
3answers
2k views

Multiple categories linked to menu item

Hi everyone i'm new here and also not really used to Joomla. I got Joomla 3 and was wondering if i could link multiple categories to one menu item? Because i want to have on this side some articles, ...
5
votes
1answer
5k views

Menu item without link

I often create a menu item with no link (like a not-clickable menu item with a dropdown menu), but in the "System Links" tab, there are several options that look similar. What's the difference ...
5
votes
3answers
1k views

Default menu item undo

I have accidentally set a single article menu item to be the default page of my site. So that page now acts as the site home page. In the menu manager for the Main Menu, that menu item now has a ...
5
votes
2answers
1k views

Change menu item title according to login status

I am using T3 Framework blank template. In the megamenu I have inserted the login form as a submenu, so it shows up when the user hovers over the menu item. I would like to change the menu item title ...
4
votes
5answers
2k views

Use HTML tag to bold only some words of a menu item

I am trying to use a HTML tag in my menu item in order to get a menu like this: Parent menu My fist submenu is in bold My second submenu is emphasized If I enter for instance the <strong> ...
4
votes
2answers
2k views

Create menu item that opens modal window

I often use RokBox to open content in a modal window, and it works by adding data-rokbox to the <a> tag: <a data-rokbox href="/images/my_image.jpg">This is a RokBox 2 Link</a> But ...
4
votes
1answer
57 views

Can Smart Search index menu items or custom modules?

I am using Joomla v3.8.13 and have enabled Smart Search v3.0.0 which is indexing articles correctly. I've also installed ChronoForms by ChronoEngine to create a Contact Us form and some other forms. ...
4
votes
1answer
751 views

Change the elements displayed on the RSS Feed

I turned on the 'Show Feed Link' located in the 'Integration' tab of a Menu item which then adds the following in the document head: <link href="/link?format=feed&amp;type=rss" rel="...
3
votes
8answers
10k views

Working menu link now leads to 404 error page

I am working on a new website development with Joomla 3.1. The menu links were working fine before. However, suddenly one of the menu link now leads to the 404 error page. It happened once before and ...
3
votes
3answers
1k views

How do I get a menu item to send a parameter to a component?

I'm having problems creating an internal redirect using MenuItems. I've created a menu item called 'sale'. I've found the menu item in the database and the alias is 'sale'. I've set the url to /...
3
votes
2answers
672 views

Ajax call to component from menu item

I use K2. I have a menu item that leads to a page showing introtext and small images of the 4 latest articles from a category. This is set in the category parameters and the menu item leads to the ...
3
votes
2answers
995 views

Why does Category View use Home Page Itemid when displaying the articles?

From the home page of v3.3.6, I have a Category View listing all the sub-categories of a given main Category. When I click on that link from the home page, it lists those Sub-categories as expected, ...
3
votes
1answer
32 views

How is the relationship between template styles and menus stored in Joomla 3.x?

I'm working on a tool that imports content for a new language. As part of that process, I'm creating a copy of a template style specific to the new language. After making a copy of the template style ...
3
votes
4answers
773 views

Dynamic Menu Item Names

I want to create a menu item that will change dynamically its name, based on who is viewing it and his viewing access. To make it more specific, I have created an application in Fabrik. There are ...
3
votes
1answer
91 views

Menu item adding 'Clients/' to url

After the joomla update the menu item seems to be broken. In every url I see websitename.com/Clients/menualias rather than websitename.com/menualias However, I resolved the issue by clicking ...
3
votes
3answers
835 views

Batch processing Menu Item options

I'm working on a website with ~100 menu items (type is "Single Article"). Each menu item has it's own, unique settings under the "Options" tab: This obviously overrides the global settings, but I ...
3
votes
1answer
134 views

Can the Access List of a Front-End menu item be limited to certain User Groups?

Can a component view be configured to show a only a subset of available User Groups when adding it to a menu? My component has a front-end view that must never be allowed to be viewed by anyone ...
3
votes
1answer
101 views

Article appears even outside given path

I've recently come across some strange behaviour of my Joomla 3.6.5 installation. I've noticed that (with SEF on) any article preceded by its ID is displayed if called directly by its URL, and not ...
3
votes
2answers
111 views

Cannot find featured articles on Joomla Backend

I'm new at this, any help is appreciated! I cannot find the main page content on the backend of Joomla. I went into Edit Menu Items learned the menu type is Featured Articles, but when I search ...
3
votes
1answer
643 views

Articles With No Menu Item

I was hoping somebody could explain this to me as I cannot seem to get my head around it. I have a website with numerous articles and categories, all displayed at mydomain.com/blog My homepage (...
3
votes
2answers
494 views

How do I set the Home menu item to a URL like /?

I have Joomla behind a reverse proxy. I want the Home menu item to point to /, not the fully qualified domain name that it is running on. How do I do that? I tried changing the Home "Menu Item Type" ...
3
votes
0answers
27 views

Make a menu item, plugin or component work as subdomain [duplicate]

How do I make a menu item appear as a subdomain. E.g. I created a Joomla category on my website with the menu URL as www.example.com/blog but I want the blog to be accessible via blog.example.com. ...
2
votes
3answers
1k views

How Ι can unpublish one menu item (default item) from the menu?

Hi Joomla community Ι need help . I have one item in my main menu (default item menu) and Ι want to unpublished this item. When I hit the Unpublish button it shows me an error: Error Can't ...
2
votes
1answer
176 views

External link menu item with tell or callto

I want to have a menu item in joomla-3x so that when a user taps on it, automatically opens the Phone dial app on smart phones. I found the following structure on stackoverflow.com: <a href="tel:...
2
votes
1answer
4k views

Get menu item by ID in Joomla 3

How do I get a menu item by ID in Joomla 3? While converting a site from Joomla 1.5 to Joomla 3, I encountered this code $mainframe = JFactory::getApplication(); $menu = $mainframe->getMenu('...
2
votes
2answers
713 views

Add a parameter to “external url” menu item

I have a menu in joomla that appears on all pages. Some of the items in the menu should be the same on every page, while others need to be dynamically updated based on the page the user is on. I am ...
2
votes
2answers
540 views

How to remove menu parent from url?

The Joomla menu system includes the menu's parent name in the URL structure for sub-menu items as follows: https://www.mysite.com/parent/page I'd like to remove the parent directory from the url as ...
2
votes
2answers
1k views

Redirect to a menu item from controller

I have a configuration variable which a menu item type where admin can select a menu item. This is used to redirect the front end user if he doesn't have access to the view. In the component ...
2
votes
2answers
222 views

Hide child menu item based on a class name

I have the following Menu structure: Genre - Fiction - Autobiography - Sci Fi - Other [class="hide"] The menu created is then /genre/fiction/, /genre/other/. I am trying to not display the /other ...
2
votes
3answers
103 views

Hiding a Menu item with PHP in Sourcer in Joomla 3.8.1

I have a menu Item, and I added a custom css class so I could modify it like so: In Firefox's F12 developer tool, when I look up testphpmenuclass I find it just fine here: So I create a Custom ...
2
votes
1answer
209 views

Is there an event for saving a menu item?

I'm trying to create a plugin that fires when a menu item is saved, but I'm having trouble finding an event to listen to. Sor far I have function onContentAfterSave() { ...
2
votes
2answers
227 views

Mass update single internal link

First off, I apologize if this question has been asked before, (Though I was unable to find it, if it were). My issue is that right now I have a sub menu item pointing to a article where the visitor ...
2
votes
1answer
102 views

Unpublished internal link still generates a 200 OK and View not found message

I am facing a really weird issue and can't figure out what is going on here. An internal menu item (added by clicking 'Article') was unpublished and I was expecting the 404 to be generated. But when I ...
2
votes
1answer
462 views

Handling two user groups in front end Joomla 2.5

I'm maintaining two user groups in front end. They are customer and retailer. There are two menu items for them to login. That means two login sections. Therefore there are two menu items are assigned ...
2
votes
2answers
1k views

Menu items and item ID

I've set up a site using a RocketTheme template. On the homepage there are several blog items (articles of the blog category). The homepage item ID is 110. I also have a blog menu item (articles-> ...
2
votes
3answers
966 views

Joomla 3.3 specific menu item nofollow

I want to add rel="nofollow" to certain menu items in Joomla menu. I do not want to change Joomla core files. What I want is to put in menu options nofollow for "Link Type" tab "Link Title Attribute" ...