How to make a projection submenuItem of a menuItem In Orchard CMS - orchardcms

I use Orchard CMS 1.10.1. When creating a projection from dashboard I can check show on menuto show it on root of my menu.
I was wondering how can it be placed as subMenuItem and not in the root of my menu?

When adding new menu items in Orchard, it will add them always to the root level, but after you add them go to Navigation page and sort the menu items as you want by dragging them.
FYI, you can drag an item to be child to other one.

Related

Liferay 7.3: How to make menu items in a theme controlled by admin

I have a liferay theme for version 7.3. I am facing one problem in the theme's menu.
Now menu has some static items. How can I change (add / remove) items dynamically by admin account?
The menu is added in /src/templates/portal_normal.ftl as
<#include "${full_templates_path}/menu-bar.ftl" />
this file has static html data.
Now how can I make it dynamic so that admin can change the menu items?
Make the menu as a web content, and drag it to the theme? Not makes sense because menu is the part of the theme.
Or any other way of picking the menu items, looping the items in .ftl and display it?
The times of scripting navigation and menus in the theme are over, and I'd rather recommend to embed a portlet in your theme that does the job. That might be a stock NavigationMenu portlet (see how Liferay's default "classic theme" does this with NavigationMenu or the SearchBar), or a custom one, which generates exactly what you'd like.
Reason: It's a lot simpler to redeploy a new portlet and generate/test appropriate HTML markup generation in a portlet than it is to implement proper error handling in a theme's freemarker script.
The solution can be if you want to add your data in navigation menu in themes, go into the navigation menus inside site builder in menu and create a new menu by clicking + button on top right and name the menu. Then go into the pages inside site builder inside menu. There will be a + sign on public pages. Click that and add a page that you want to list. If you want to create a submenu then on the page that is created, create a subpage by clicking there + sign. The page will be child and will be shown as a sub menu in theme.

Hybris - Navigation linking - how to remove links from top level

I am building the product navigation within the Hybris CMS, but the top level links won't work without being assigned to link to a page.
I only want the top level to reveal sub-nav items when clicked or hovered over.
Is there a way to achieve this?
Go into the Hybris WCMS, go to the 'Navigation' menu in the top,left of the wcms. Than just remove all targets that are assigned to the Navigation Nodes on the top level.
BR

How to add newly created category in hybris powertools category navigation bar?

I am new at hybris6.x development.
I have created a new category with some products in power tools site but now I want to add that category and removing all the remaining categories in the site's category navigation bar.
How to do that? Any help will be appreciated.
Login /cmscockpit and select navigation tab from left top corner. Don't miss synchronization after modification.
The navigation bar is a cms component. It uses navigation nodes to display a navigation. Navigation nodes define a tree structure of navigation nodes. Each navigation node can have multiple link components. Link components can point to either a category, a product, a content page or a static URL. As mkysoft already said, there is a perspective in cmscockpit for defining this structure.

Orchard Breadcrumb Menu Placement

I have a site (1.9.2) that is using the built-in breadcrumb menu widget (display as breadcrumb option).
I have created an alternate for my custom content type (Product) and I need to display the breadcrumb between 2 zones declared in my Product alternate (Content-Product.Detail.cshtml).
As it's a widget, I can only place it in the top-level zones e.g. Content / BeforeContent.
Is there any way to control the positioning of the widget to so that it can be manipulated in my alternate?
Or is there a better way to implement a breadcrumb than using the menu widget?
Any help would be great.
Thanks

develop a menu item for a single item in joomla 2.5

how can I develop menu item for a single item at a joomla 2.5 component?
I develop menu item for category in my component but don't know how can
develop menu item for a single item from my category.
please help me
thank you
If you are referring to a single article from a category you would just use "single article" when creating a menu link. Then a new field will appear and you must select which article you want.
If you are referring to a component you need to make sure the component even allows the creation to the link you want. You do this the same way but instead of "single article" you would select the component then choose what links they offer as a menu link.
This refers to Joomla! 3.0+ for 2.5 or below you would see a full list without the show/hide effects in the menu selection modal.
If you use Joomla you know what I mean..
Hope this helps.

Resources