Joomla Menu Item Specific Module Not Working - php

I made a module in Joomla and tried to assign it for one specific menu link.
But it doesn't appear in the page i selected (or anywhere). Only shows when I select Module Assignment as "On all pages".
How can i show my module only for specific menu item ?

You are certainly doing everything correctly, so it should work if you are in fact on the right menu item page. I see you have a few menus so my guess is that when you are browsing the front-end you are hitting a page which is different than the one you selected here.
Check out Advanced Module Manager extension, which gives you a lot more flexibility on module assignments.

Related

Drupal 8 :Uncaught PHP Exception UnexpectedValueException: "External URLs do not have an internal route name."

I have a custom themed site that has a menu structure like below
Mega menu
To achieve this I first created a menu called "MENU MAIN" with all the required links and then created another menu called "MEGA MENU" with one single link. Thereafter I used layout builder to create a layout for that particular link in "MEGA MENU" and by using layout builder blocks I added the menu items in different columns over there. Everything works perfectly fine now. But now when I try to add an external link to any of the menu items in "MENU A" like HTTP://example.com/abcd the entire site breaks. I checked the server error logs and found this
Please get me a solution for this.

How to switch off modules on homepage with smartsearch in Joomla 3.4

I am currently building a joomla site (version 3.4) and I have an issue when I search for something on the site.
Currently the search results are shown right at the bottom of the page under all the modules that I have for my homepage.
What I was looking to find out is how I could switch off some modules so that the search results could be displayed a lot higher than they currently are.
Would appreciate some advice on how to do this as not something I have done before.
If you have not a dedicated menu item for search (no matter it's hidden or visible), the search result will be shown at the home page with a query string after index.php. To get rid of the home page content from the search result, you can simply create a menu item for search component. So, the result will be shown at that page further. This way you can also manage which modules must be show up or hide at that page.

Publish a menu item but dont show it

I have a situation where we have a "user menu" on the top of the page.This menu is shown on every page with a module.Now in order to set up breadcrumbs properly I need to have a menu item which is published but not visible to any type of user whether guest or registered..
Is it possible in Joomla to have a menu item published and hidden yet accesible via URL??
You will have to write a different module which had most of the functionality of your custom module. In the new module you can change the code in a way so that you dont show the required menu.
I think you should create a menu, setup user groups, view level. Create a menu item, and try to access via menu alis - link.
Good luck
Yes, Menu's are independent of the modules that display them, it's possible to create a menu and not create a menu module, how, depends on the version of Joomla you are using.
That's why there are so hits when you Google — "Joomla Hidden Menu" There is even an article on Joomla Doc's on "Menus" that discusses hidden menus briefly.
So, the normal approach is to create a new Menu with a name like "Hidden" or "Shortcuts" and have the menu items created in that menu, then don't assign a menu module for it.

hide main content component for some menu items, joomla 1.7

I know how to hide the main component from the homepage, what I need is to do the same thing for all my menu items also. Basically, what I want is to create multiple homepages, so every category I choose has certain modules that display content.
How to show only modules, not the article when you click on a menu item (if it is linked to a single article)?
I know I can use some of the extensions that can embed modules to an article, but don't want to do it like that. I know that there are components that simulate homepages, don't want it like that either.
I hope my question is clear enough, I'm using Joomla 1.7.
I have found a simple solution!
Installed T3 framework, which allows the removal of main content component for the menu items you choose.

Joomla menu system & dropdown menu in template

I am trying to make a simple drop down menu system for my Joomla site. But Joomla menu is completely confusing me. How does a joomla menu work?
For eg: In the image below the whole blue bar is a menu? or each item like 'Projects' is a menu?
Now I can make two pages for Project 1 & Project 2 but where will the 'Projects' link point to? If it does point somewhere then incase of no JavaScript I'd like to point it to a page that shows a list of the menu items.
How do I place my menu at this place in my template?
Why is there a default MainMenu and why do I need to use a menu to show the main content on my site. Shouldn't menus be used for making menus. And I only needed a menu item to show my content not that whole Main Menu. The main confusion is the Main Menu.
I don't wanna use a module coz I couldn't find a good one for 1.7 that uses jQuery (All JavaScript on my site is done with jQuery) and I read somewhere it can be made within the template.
All I want is to somehow place menu items lists inside the respective anchors up top so I can just show/hide them as dropdowns with jQuery.
I hope I haven't made the question confusing pointing to what I need to make. It's just that I'm super confused myself.
Please help.
I appreciate the help.
Thanks Alot.
Joomla menus are generated thru modules. In most cases mod_mainmenu. Theese modules you place in module positions. If your menue should be horizontal on top, then you put your mod_mainmenu module in the position "top". Be aware that every template uses different position names.

Categories