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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Menu Information in DatabaseMenu Information in Database
Previous
 
Next
New Post
5/6/2008 10:11 AM
 

Where is the Menu information for DotNetNuke stored in the Database?

 

 
New Post
5/6/2008 11:04 AM
 

Hi Martin,

The menu is constructed from the Tabs table.  DNN constructs a hierarchy based off of the TabID and ParentId, partitioned by the PortalID.  Tabs with IsVisible=False are not included in the hierarchy.

Hope this gets you started!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
5/6/2008 11:17 AM
 

Thank you Brandon.

With that info, I took a look and it would appear that the TabPath corresponds roughly to the menu location as well.  I'm going to assume it's not as reliable as using the TabID and ParentId recursively in each PortalID.

(I'm guessing the TabOrder in the TabPath table corresponds to where each Tab appears within the menu level that it resides?)

Thanks for the info.

 

 
New Post
5/6/2008 1:25 PM
 

Hi Martin,

Your TabOrder inference seems reasonable.  I actually haven't looked at how DNN loads the menu hierarchy, so it's entirely possible that the TabPath is used as a cache for these relationships, and can be relied upon.  Someone else would have to chime in with insight in this direction.

You might also take a look at the SP that DNN uses to load this data; I am not sure offhand if DNN loads up all the data from the Tabs table (dbo.GetTabs or something similar) and constructs the hierarchy internally, or if it performs this task in the data layer (e.g.; dbo.GetTabHierarchy).  More likely is the former -- dig around and see what you can find!

Brandon


Brandon Haynes
BrandonHaynes.org
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Menu Information in DatabaseMenu Information in Database


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