Liferay 7.0 Modify Navigation Menu for Certain pages - liferay

I have a Liferay portal set up for site1.com, I'd like to have a navigation menu for site1.com, and a different menu for any pages under site1.com/mypage.
Bare minimum, would be that all pages under site1.com index the whole site, but all pages under site1.com/mypage only index pages under site1.com/mypage
I've experimented with configuring the Navigation Menu, but I can't seem to get the menu I want on site1.com/mypage, without destroying the menu at site1.com.
My thought is that I should replicate the navigation menu item, call it Navigation Menu-MyPage, and include that at the top of all the site1.com/mypage pages. Is that something that can be done?
I'm new to liferay and not sure where on the file system the Navigation Menu resides (maybe just in the DB?) or how I can copy/rename it.
Or are Application Display Templates the way to go?

Navigation Menu is a built-in portlet that is included on every page by the theme. As you largely specify "Certain Pages", the criteria for your pages could be the use of a common theme: You can build a theme that simply embeds a different Navigation Menu, one that you create by yourself, on each page. Then select this theme for the site you want to use the modified version on.

Related

How to implement scroll to a section/fragment on click in Liferay?

I want to implement scrolling to a particular section on click in Liferay, but I have no idea how to add functionalities in Liferay.
I have created a page using multiple fragments and in the top of the page I have headers of the sections and on click of a header the page should be scrolled to that particular section.
Attached page screenshot link below for reference
The easiest way to scroll to some place on the page is to place an anchor there, e.g. with <a name="scrollTarget"/>. In your navigation, you'll just link to this by Scroll to Target and you're set.
Of course, this can be done a lot fancier, with an animated scroll etc, but the basic start is this. There's nothing Liferay-specific hidden here - pick any of the more fancy methods, create fragments with the proper markup, and make sure they're used on your page.

oracle apex 5 - how to reorder pages in menu

I am dveloping an app in Oracle APEX 5. All of my pages have menu entry on the left-side menu, but the order of the pages in menu is different to the page numbers. Is there a way how to reorder pages in the menu?
Assuming your menu on the left is a standard APEX Universal Theme navigation menu, you do it like this:
Go to Shared Components
Click on Navigation Menu (under Navigation heading)
Click on the menu name
You should now see all the menu options for that menu, which have a sequence number. Either edit the individual options or use Grid Edit and change the sequence numbers to give the order you want.

how to configure the menus in section content with Prestashop

I am building a website with Prestashop and I like how the homepage and the rest of the pages look like but the static pages look different and I would like to be able to keep the same layout with the vertical menus/modules in the left column
Check it out http://reconnectedit.com/dev/ and check about us for instance
In backoffice you have a menu Preferences -> Themes.
Click on Advanced settings button and scroll down the list to find cms and click the red x on the Left column column to enable the display of modules on left side in CMS pages.

Joomla menu assignment not working for search page

I have a few modules assigned only for Home page but by some reason they all showing on search page. I don't need any modules showing on search page - how to disable it?
You likely need to make a menu item for the search page. Without a menu item, many pages will revert to the homepage link as the active menu item, which will cause this to happen.
If you haven't already, make a hidden menu for your site and then add the menu item for the search results page to that menu. This way it doesn't affect your main menu.
So first go Menus -> Menu Manager -> Add New Menu. Give it a name basically. (I usually call mine "Hidden".) Then go into that menu and add a menu item like normal for the Search Result type.

How to remove left side panel on component page?

I am using Joomla 1.6.5 with default theme "Beez2 - Default". I have created a top menu item with type as external link which has link 'index.php?option=com_sample'. When i click on this menu item i can see the output of the component 'sample'.
But on the left side there are few menus like User Menu, About Joomla, This Site. I want to remove that whole vertical panel so that i can use more space for my sample component.
I tried to search in administrator panel and on google but cant find anything to remove left panel.
How can i remove that panel? what code should i write in sample component file to make it not display the left panel..
Please guide me.... thanks in advance.!!
You need to set the menu not to appear when your component is the one used. Remove the show in all pages setting in the menu module.

Resources