Drupal 7 force active menu item - php

I got a page where I link to in the menu bar. On this page there is a custom module. On this page there are items from anothor database where the user can click on. When they click on it they go to another page with more information.
When they are on the second page there is no active button in the menu bar. On the second page I also have a custom module.
How can u force a button in the menu bar to have the .active class or in another way so that it haves the active lay-out button.
I use Drupal 7.

I used the context module to solve this.

Related

Why when I create a page it displays in navigation menu on wordpress?

I have multiple pages on my wordpress website, I am creating a custom wordpress theme.
The problem is, when I create a page it automaticly adds to my menu (navigation bar) at the top of the page.
I want to create a page, then make a link to that page, but instead when a page is created, it add's to top of the navigation.
How can I solve this problem?
P.S I did not toggle "Automatically add new top-level pages to this menu"

Joomla url redirect to another domain

I have created 5 menu items with a menu from Joomla admin panel. Out of 5, 4 menu item should be redirected to the same domain and the 5th one should redirect to another domain url.
How to do that in Joomla admin panel? I am totally new to Joomla. The correct guidance is appreciable.
You can use External Link while Menu creation. So you need to follow below steps.
Go to Menu Manager.
Select New Menu.
Now you will see the Menu Item Type field , Click on Select Button.
Here You need to choose Click on System Link.
Now it will open this options, i.e Menu Heading, Menu Item Alias, Separator, URL.
Choose URL option.
Now you need to give external link in the field Link textbox.
Hope it will solve your problem :)

how to delete page and remove menu created in prestashop backoffice

I created a new page in the prestashop back office following the answer provided here
How to create a new page in prestashop admin panel?
I mistakenly created another and had issues, most of the new ones came up blank and the old one now displays blank.
How do i remove the menus from the page as they do not appear
in the preference -> Menu page
because i created them under the catalog tab ?
I really need to delete all the menus, i have already deleted the associated files.
From the Menu page, click details button from the catalog tab with the + icon in the actions column, you can find your menu created under the catalog tab from there

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.

how can i create the menu that will open only the article in joomla?

I have created the articles and menu items that links to that articles. This all works.
But now what I want is, when I click on the menu, it should open up only article (without any template feature, no header , no footer and not even the menu).I am opening the article in a new window. From googling what I found is if I add &tmpl=component to the url it will just load the component, and that will show just the article. But I am not sure how to add this parameter from admin screen to the menu items. The link which is showed in admin screen is not editable!!!. Or should I have to develop a custom menu module to achieve this!!!?
Thanks for help.
Tanmay
Create a new menu item - External Link and then paste the full URL into the box.
http://www.jeepstone.co.uk/2009/03/06/open-content-in-a-modal-pop-up-in-joomla/

Categories