Is there anyway to use the built-in DNN Menu module to display a menu based at a different root node other than the current tab node?
Given the following structure:
Page1
-child1_1
-child1_2
Page3
Page2(hidden)
-child2_1
-child2_2
In this scenario I will be having 2 menus on this skin. One will be normal navigation based off of the current node and the other will be a set of 'static' links to pages located outside the current node.
When on Page1 the normal navigation will show Page1, Page3 and the children of Page1 nested under Page1. The 'static' links will use 'Page2' as their root and will show child2_1 and child2_2.
In case anyone needs the answer to this, it is possible to do this using the dnn:NAV control:
<dnn:NAV runat="server" ID="dnnNAV" ProviderName="DNNMenuNavigationProvider" IndicateChildren="false" PopulateNodesFromClient="true" ControlOrientation="Horizontal" StartTabId="66" Level="Child" />
The StartTabId is the "root node" of the menu.
Level="Child" tells DNN to get the child tabs of the StartTabId. Use Level="Same" if you want to get tabs on the same level as the StartTabId.
I cannot understand your question at all. I don't know what you mean by "root node" or "tab node". I'm going to re-ask it based on what I think you mean and answer that question.
If you want to use the DNN menu to link to static pages, that's easy enough. To do this, Add a new Page (using Control Panel / Add). Complete the "Basic Settings" for the page, then under "Advanced Settings" the last option allows you to specify a URL, Page, or File for this page. You probably want "URL". Enter the URL and click "Update".
The menu item will now redirect to the link specified.
Related
I am building a navigation menu in drupal 7 and in a few of the menu links it is not possible to edit the "path" in the page "Edit menu links" (under Structure -> Menu -> Navigation). Instead there is a fixed path to for ex. "Add new basic page".
These links also have the option "reset" in stead of "delete"... under Structure -> Menus.
I realize that I must have brought this problem on myself, but I am stuck and cannot figure out how to change the path for these menu links.
So I would like to change the "path". Can someone point me in the right direction?
Just turn off the menu item and create a new one which will fit your need.
This particular menu item was probably created using views. Go into the view and modify the menu item for the related view under Page settings
I've a ext js tab panel defined with some tabs.
On the same page I've a menu of hyper links for asking user which tab to open.
I want open the selected tab when the user clicks the link.
Basically when u click on the tab header to open the tab, I want exact same thing to happen on clicking some button/hyperlink.
Seems like a pretty normal thing, but I can't find the solution anywhere!!
Please help.
thanks
ues setActiveTab( newItem ) method of tabpanel.You can pass an ID, index or the component itself as newItem.
I want to build a site with two menus. The first menu will be in the top pane and the second menu will be in the left pane.
What I am looking for is how to show the child items in the left pane.
For example, for a page with name "testPage" where it has as child menu items "testPageChild1" and "testPageChild2", I want in the left pane to display those child items.
How could I do this?
If there is another way to implement something like this, please let me know.
Thanks
You can do this with your menu, or you can do it with a module as notandy points out. The "console" module is also an option, it will provide links to children of whatever page lyou point to.
As for doing it within the skin, using the Menu, you need to adjust the "Level" attribute of the Navigation control.
<%# Register TagPrefix="dnn" TagName="NAV" Src="~/Admin/Skins/Nav.ascx" %>
<dnn:NAV id="TopLevel" runat="server" Level="Root" />
<dnn:NAV id="Child" runat="server" Level="Child" />
and then style accordingly
What you need is a child links module. You simply add it to the left pane and then configure it to show subpages of the current page.
I usually use Ventrian's http://www.ventrian.com/Products/Modules/ChildLinks.aspx.
But there are a number of others available, including a free one http://dnnmodules.cn/Modules/Childpagelistfree.aspx.
according to http://www.dnnsoftware.com/wiki/ddrmenu-user-guide
i've tried to set my module to NodeSelector="RootChildren" and i worked.
I want to show a popup of list of cases without parentid and allow to select usign checkbox and the selected cases are added up in a related list. This popup would be availabe on clicking of link button
First question would be can i call a vf page as popup from a standard page? The rest i guess i can hande it in the VF page
Thanks
Prady
Yes, you create a link button for the object in whose page layout the link will reside. As a source for the link button choose "Visual force page" and choose a page. Keep in mind that the vf page MUST use standardController for the same object (with or without extensions) or it will not show up in the list. Choose to show the page in a new window and later place the link button on the page layout.
I've created custom object and custom tab (label text="order").
Now my header looks like below just like everyone can do.
[home]__[customer]__[order]
And when I click on "order" tab, I am redirected to home page of "order"
The "order" homepage has:
view (which goes to search feature)
recent record
My question is how do I change the layout of this homepage? I've look though entire site and documentations but seems like it is not possible. The only option I have is to create brand new visualforce page and set that page as default homepage for the "order" tab.
No, you can't change the contents of a default tab homepage beyond the limited controls under Setup. You would have to create a new Visualforce page and replace the page all together; however, with an enhancedList, you can get the basics down without too much coding, like this:
<apex:page>
<apex:enhancedList type="Account" height="500" />
</apex:page>
This would just show the standard Account list views on the tab (which could have Recent Items), but you could spruce things up with other components or make the list view customized with a set controller.