Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Can i use DnnMegaMenu to show page title?Can i use DnnMegaMenu to show page title?
Previous
 
Next
New Post
9/3/2011 5:23 AM
 
DnnMegaMenu  default display name of the page,  Can i use DnnMegaMenu to show page title?  how to work?
 
New Post
12/12/2012 5:29 AM
 
I have the same question
 
New Post
12/12/2012 6:58 AM
 

Hi,

there is another recent thread about this, and it seems that Timo found the solution. See here...

Best wishes
Michael


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
12/17/2012 6:42 AM
 
My thinking is that i have to extend the AddNode funtion in Dotnetnuke.dll with following code

private static void AddNode(TabInfo objTab, DNNNodeCollection objNodes, Hashtable objBreadCrumbs, PortalSettings objPortalSettings, ToolTipSource eToolTips)
        {
            DNNNode objNode = new DNNNode();
            if (objTab.Title == "~")
            {
                objNodes.AddBreak();
            }
            else
            {
                if (objBreadCrumbs.Contains(objTab.TabID))
                {
                    objNode.BreadCrumb = true;
                    if (objTab.TabID == objPortalSettings.ActiveTab.TabID)
                    {
                        objNode.Selected = true;
                    }
                }
                if (objTab.DisableLink)
                {
                    objNode.Enabled = false;
                }
                objNode.ID = objTab.TabID.ToString();
                objNode.Key = objNode.ID;
                if (!String.IsNullOrEmpty( objTab.Title))
                {
                    objNode.Text = objTab.Title;
                }
                else if (!String.IsNullOrEmpty(objTab.Description))
                {
                    objNode.Text = objTab.Description;
                }
                else
                {
                    objNode.Text = objTab.LocalizedTabName;
                }


                
                objNode.NavigateURL = objTab.FullUrl;
                objNode.ClickAction = eClickAction.Navigate;
                objNode.Image = objTab.IconFile;
                objNode.LargeImage = objTab.IconFileLarge;
                switch (eToolTips)
                {
                    case ToolTipSource.TabName:
                        objNode.ToolTip = objTab.LocalizedTabName;
                        break;

                    case ToolTipSource.Title:
                        objNode.ToolTip = objTab.Title;
                        break;

                    case ToolTipSource.Description:
                        objNode.ToolTip = objTab.Description;
                        break;
                }
                objNodes.Add(objNode);
            }
        }
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Can i use DnnMegaMenu to show page title?Can i use DnnMegaMenu to show page title?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out