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
Related
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.
I have a process that involves extending the "Files" menu that is located on (most) acumatica pages (next to notes and activities in the top right)
I would like to add two columns to the table that appears in the smartpanel.
I have been looking for the source code/data behind this smart panel and I cant seem to find it, is it tied into SM202520 (search in files)? Can it be extended?
Am I better off just adding a PXAction button to the 3 or 4 pages I want my extended "files" menu to be?
Thanks
There's no DataView bound to that dialog, you can verify that by using inspect element shortcut key CTL+ALT+CLICK on a grid column header:
In order to be customized the grid needs to be bound to a DataView which inspect element reveals it is not. The lack of DataView binding is by design and therefore that dialog can't be customized.
A grid that can be customized will show the View Name property:
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.
Through the admin GUI I want to use a page as Parent Navigation Item for a set of other pages. Instead of a Container.
Is there a way to make this possible?
First, you would have to create a plugin that overrides the dropdown template, since Bootstrap doesn't have clickable dropdowns in the navbar by default.
Then you would want the plugin to override the navigation form to show the Link field when navItem.type is "container".
Lastly, your plugin would need its own getBootstrapNav function, preferably in a custom service, that would inject the link into the dropdown item.
I have a Sharepoint library that is currently rendering as the usual folder and document items table list view.
I would like to use present the same information as a grid of folder and document icons with some nice jQuery hover animations to show tooltips on the item the icon represents.
I suppose what I am really trying to find out is how to add a new library view that allows me to specify the markup rendered per item. I could write a new webpart to query the list and use an ASP:Repeater but I don't want to have to specify a webpart property each page to tell the webpart where it should open the list from.
You can use List View Web Part with custom XSLT.