Joomla menu assignment not working for search page - search

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.

Related

Liferay 7.0 Modify Navigation Menu for Certain pages

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.

Navigation in Xamarin.Form from masterdetail page

I am new to Xamarin and want to develop an Xamarin.Form Portable App.For that, I have created the project template as Xamarin.Form Portable.
After login, I have successfully created a Master Detail Page to display the Menu List like Home, AboutUs, ContactUs links in the left corner which is initially hide and when i click on the Menu Icon (Menu Icon is like three dashes(-) in parallel) all Menu List is populated to the right side in window. Now when i click on any Menu Item,I don't want to repeat the menu list or its icon in the inner pages. Instead of that, I want Navigation back arrow button instead of the Menu Icon. When I tried to navigate it like below it gives me error like "PushAsync is not supported globally on iOS/Android, please use a NavigationPage"
await Navigation.PushAsync(new AboutUs());
If instead of this, I navigate it to the master detail page and set the About Us page as Detail property of the Master Detail Page then Menu Icon and Menu list will be reapeated which i don't want. Please help me how can i show the navigate the page with Back Arrow button in inner pages.
Overall, I want functionality like in Gmail where when we open any Detail of Email Menu button is not there but the back arrow button is there.
Thanks in advance!
Try this approach(Because DetailPage must be NavigationPage in Xamarin.Forms):
await Navigation.PushAsync(new NavigationPage(new AboutUs()));

How to add custimized context menu item on right click in browser window?

Here I want to add my custom menu option i.e. ColorZilla, Aptana Studio on web browser right click
You can only do this with a browser plugin. Each browser will have its own syntax for plugins and specifically adding context menu items.
Aleks G. is right you cannot do that directly within the browser.
I don't know if it can help you or if it is what you are looking for but, within the browser you can handle the right click interaction in order to display your own custom menu ( not a particular menu item but the full menu ) ... meaning the default browser menu won't get displayed at all.
In case you are interested, you can have a small sample here

How can I access the same homepage from different menus?

I have a menu item "Home" in my main menu AND in my top menu. When I click on the "Home" in the top menu, I would like it to direct me to the "Home" referenced in the main menu.
How do I do this?
I found the answer!
Have one of the menu items as the default menu item. For the other menu item choose the menu type to be Alias (Menu Link) and choose the menu item that is the default menu item.
(Thank you user imanickam on forum.joomla.org, url: http://forum.joomla.org/viewtopic.php?f=428&t=456584&p=1912878#p1912878)
Not sure if there is something special in Joomla to configure this, but href="/home.html" will always to the same place. Relative links do not work this way however, so from
/folder1/ a link to "home.html" would not go to the same place as:
/folder2/ which contains a page with a link to "home.html"
adding the preceeding slash makes it relative to the site rather than to the current folder.
Hope this helps, if not let me know what I could do to point you in a better direction.

SharePoint 2007 navigation and removing its delay

In SharePoint 2007, there's a top nav that the user can hover over, which reveals a dropdown menu of subitems. When they remove their mouse from the dropdown, it disappears, but only after a short delay. This can cause problems, as if people are trying to click a link on the page somewhere, but the nav menu hasn't hidden itself yet, they'll accidentally click it instead. This is compounded with the fact that the menu appearing in the first place is delayed as well, so right before they mouse over the link on the page they actually want to click, the menu will suddenly appear and intercept their click when they weren't meaning to.
I've poked at core.js at some suspect areas, but can't seem to nail it down. Any thoughts?
This is the normal behaviour of SharePoint. This control is the asp:Menu control of ASP.Net 2.0 and the only thing you can do is customized the MasterPage or the DefaultPage of your Site.
If you change the core.js file of "layouts" folder you'll lose Microsoft support, so take care about change any of the file from this folder.
I recommend that you modify the existent control or create a new one and put it in this position of the MasterPage.
This bit of CSS will fix it. I just had the same thing in sharepoint 2010 and this was all that was required to make the list disappear as soon as you roll off:
li.hover-off>ul
{
display:none;
}
The way it works is when you hover over an item in the nav it adds a css class called "hover" and as soon as your mouse leaves the area it changes the class to "hover-off" for 1 second before removing it completely. This CSS will hide the unordered list directly below the list item that has the class "hover-off" thus hiding the flyout as soon as your mouse leaves the parent.

Resources