DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Nested Or Hierarchical Level Layouts

 2 Replies
 1 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
Growing Member
Posts: 49
Growing Member

Hi All,

I have installed DNN 9.11.0 on my local. Can we create hierarchical/nested level layouts, i.e. create base layout with basic html/css/java scripts required in all kind of pages, and then using those base layouts in other layouts. To explain it further I have a scenario.

Scenario :

Some pages require special links of left side of pages, some pages require links on right side of pages and some pages require links both on left and right parts of the pages. To handle such scenarios in ASP.Net we used to have hierarchical master pages as explained below :

    1. Base Master page used to have basic html like SEO level meta tags, title tags, google analytics required in all pages etc.
    2. One derived master page for left side links. This master page inherits from base master page explained above in point 1. All pages which require links on left side of the page used to implement this derived master page.
    3. Another derived master page for right side links. This master page also inherits master page explained above in point 1. All pages which require links on right side of the page used to implement this derived master page.
    4. And so on different kinds of master pages for different kind of scenarios, i.e. all of these master pages were created as nested levels/hierarchical.

Can we create such kind of hierarchical/nested level layouts? Also can these layouts user partial views/user controls?

Regards

Tarunjit Singh

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

I think you need to create different layout versions from the same layout from your skin and you're ready to go.

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Master pages are not supported in DNN.  Any skinning/theme tutorial out there would make that obvious.  It's all based on user controls.  

Also, this post is a duplicate of an earlier post by you.  Please try to not re-post the same thing over again. 

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved