Breadcrumbs on Blog Post (orchard cms) - menu

I have an Orchard site that has 3 blogs. (version 1.6)
Blogs are in navigation
I have put a menu on top (default) one on content aside (start level 2, 1 level to display) and one more on top set as breadcrumb...
On all pages these menus are correct...
If I go to blog main page all is ok.
When I go to a blog post both right and breadcrumb menu loose the "focus" on the blog and show all first level menu item (the breadcrumb) or all the level 2 items (the aside menu)
How I can fix that?
I understand that menu widget loses focus because the whole url is not on navigation.
Is there any workaround to let know to menu that it should just treat the blog post as the blog main page instead of post url itself (a sort of canonical reference url)?
Thanks

Have you tried separating your breadcrumbs into separate navigation menu's and separate navigation widgets into their own layers?
ie.
Layer name: Not Blogs
Match: not url(~/blog1*) and not url(~/blog2*) and not url(~/blog3*)
Widgets to include: Breadcrumbs for pages
Layer name: Not Blog1
Match: url(~/blog1*)
Widgets to include: Breadcrumbs for Blog1
Layer name: Not Blog
Match: url(~/blog2*)
Widgets to include: Breadcrumbs for Blog2
Layer name: Not Blog3
Match: url(~/blog3*)
Widgets to include: Breadcrumbs for Blog3

Related

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 focus on blog portlet in liferay

is there a way to refocus on the blog portlet after clicking next/prev. when i click those buttons it goes to the top of the page.
We are using liferay 7, with freemarker. We are kind of new with liferay
I suppose you mean to scroll to the blog portlet when you say "focus on".
In this case the mechanism it is pretty simple:
IF in the DOM there is an element with a specific id attribute AND the url ends with #the-same-id-attribute then when the page is loaded it will scroll to that element.
The blog portlet has a unique attribute by default, you should append it to your next/prev buttons URLs.
Ref:
Fragment Identifier

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.

How to link top-level "section" navigation items when using Zurb Foundation's top bar navigation component?

I am building a site using the Zurb Foundation UI framework, and I am wondering how to go about top-level navigation links so that they work for both desktop and mobile visitors.
EDIT: Here's an example: http://meowzen.com/zurb-nav/
Section 1 <-- should take the visitor to a "section" page
--Sub-Section 1 <-- should take the visitor to a "sub-section" page
--Sub-Section 2 <-- ditto
--etc
In the example via the link above, you'll notice that all links work as expected on a large screen. However, when the responsive navigation kicks in (either by resizing the window or viewing the page on a mobile device), the "section" pages aren't accessible through the menu anymore.
Has anyone come up against this problem? Do you have any suggestions on how to go about this?
Many thanks in advance!
EDIT: Here are some options I have at the moment:
Option 1: Only show top-level 'sections' for the mobile navigation - here's an example: projection . pixar . com . <- I'm leaning towards this!
Option 2: Make the section names linkable - I believe it's possible because there's a working example here: emerilsrestaurants . com .
Option 3: Insert a dummy menu item for the section pages at the sub-section level .
In the example via the link above, you'll notice that all links work as expected on a large screen. However, when the responsive navigation kicks in (either by resizing the window or viewing the page on a mobile device), the "section" pages aren't accessible through the menu anymore.
I am not sure I am understanding you correctly, but your example is working as expected. For smaller viewports ("mobile" view) the menu is hidden in a dropdown component. Once you drop down the menu, sub-menu items are still navegable on click.

How to add subpages in Orchard CMS

I added a new page in the main menu, e.g. Products. Now I want to add a subpage e.g. Sub Products below a Products page. I tried all possible options in the dashboard but it didn't work for me. Any ideas how to handle this?
Thanks.
here is a quick solution for this
Go to your dash board -->Gallery -->Modules
search for Hierarchical menu and install it
after installing then go to Configuration -->Features and enable it.
Go go to Navigation .give position like 2 for "Products" and 2.1 for "Sub products".
you will see Sub products appear under Products page.
As of Orchard CMS 1.5 this is supported by the core navigation module. Now you can simply drag and drop menu items under one another in the Admin -> Navigation view. You can then control level rendering under the widget settings for the menu by setting the "Start level" and "Levels to display" properties.
See release notes for further details.
The navigation documentation doesn't seem to be up to date though :(
Take a look at: http://orchard.codeplex.com/Thread/View.aspx?ThreadId=242327
The module to support this (along with many other modules) is available in Orchard's module gallery.

Resources