How to add multiple pages to single page navigation bar in dotCMS - content-management-system

I created two individual pages - a "home" and a "product" page. I want to add these to a page navigation bar. So, this page should contain a navigation bar and two menu elements named "HOME" and "PRODUCT".
How can I achieve this using dotCMS?

In the page properties, check the box "show on menu" for both your pages. Then you can use the navigation tool ($navtool) to build your navigation. See this page in the documentation:
http://dotcms.com/docs/latest/NavigationTool

Related

How to set menu-bar and header both in one application?

I have set header in collection view
and when I try to add menu bar to content page it set above the header how do I set menu bar below header ?
You can achieve this by usings the Shell.TitleView control. You can even access it from any content page.
<Shell.TitleView>
<controls:ContentTitleBar PageTitleText="Home" />
</Shell.TitleView>
According to the Microsoft doc, menu bar is a container that presents a set of menus in a horizontal row, at the top of a desktop app, and it not provide a method to change its position. but you can use the shell navigation as a menu bar.

Ionic 2 Changing between tab pages

I am trying to change between two tab pages that have different tabs. Basically what I want is to have a two tab page at the bottom when the app is first opened, but when the user logs in, then change to a four page tab system. I am able to switch between pages, but the tabs stay. setRoot() doesn't work with changing the tabs at the bottom to the new tabs page and neither does pop() or push(). Is there a way to switch between the tabs pages to where they change from a two tab system to a four tab system after a button is clicked?

A Navigation Stack for Search result for Ionic Framework

Does anyone have any idea for the following scenario?
I do have a tab sample and some tab views will integrate with the search bar view/function at the navigation bar.
Views from search results are actually live in some tabs.
How can I share the view of the search results on a certain tab where I have searched for items.
(note that view of a search result is actually live in one of the available tabs)
Here is an example:
I do have three tabs on my platform as follows:
each of the tabs will have the search bar.
Home | Map | More
I do have a profile view at the "More" tab.
If the user searches for a profile at the "Home" tab, how can I show the existing profile view at the home tab instead?
Besides that, I would like to make sure the navigation stack for any search results are always staying at the place where the user trigger search function. In this case, any search result navigation stack will
be tracked and displayed at the "Home" tab instead.
You help will be much more appreciated.

how to combine two project on iPhone?

I want to ask about the objective C on iPhone. I am writing a application, it contains 2 pages. The first page requires the user enter some information. The second page displays the tab page (3 tab).
And I create the first page and the second page in different project. I use the 'Window-based Application' to create the first one and use the 'Tab Bar Application' to create the second one.
However, I don't know how to combine it. Or should I build the second page in the first page project? If so, what should I do and link the tab bar? As I don't know how to create a tab bar content in the first project.
Thank you very much.
The link below might help get you started, but you'll have some difficulty with the Tab Bar Controller part. I usually create all those pieces programmatically...
http://pushplay.net/blog_detail.php?id=27
Does the "info page" collect some information and then not appear again under normal usage (e.g. a login screen)? If so, I would recommend making the "tab page" your main view, and present the "info page" modally (with presentModalViewController:animated:). It shouldn't be too hard to copy the view controller files and xib, if necessary, into the project with the "tab page".

Manually setting a breadcrumb in Zend Framework

I have all the menu items in a Zend Navigation Container.
I'm displaying the breadcrumb via Zend's breadcrumb helper.
When I visit one of the menu items, it's displaying the breadcrumb correctly. However, if I have a page which doesn't occur in the Navigation Container, it doesn't show a breadcrumb, which makes sense. But I do want to show a breadcrumb on some of those pages.
I have a controller named "cart" and an action named "checkout". When I visit the page /cart/checkout, I do want to show a breadcrumb. But what's the best way of doing this?
Can I manually add breadcrumblinks in de controller or do I have to add the page to the Navigation Container?
There are three possibilities:
add the required paged statically to your navigation container (through code or a configuration file)
add the required pages dynamically to your navigation container; either in the action method itself, in the controller-init()-method or via a front-controller-plugin
create a separate navigation container with just the pages required by the breadcrumb and pass this container to the breadcrumb-helper (bypassing the automatic container-recovery using the registry).