Best way to put widget in CMSUniView MegaMenu

brandon rogers asked on July 13, 2018 15:52

Hello everyone, I need some advice.

We are upgrading our nav (CMSListMenu) to a mega menu. The nav will be able to go 2 levels and the users needs to have the ability to add current widgets to the nav. I have created a CMSUniView control and navigation is working however, I am not sure the best way to implement the ability for users to select a widget to display in the individual item transformation.

Our set up is "aspx + portal" so must of the work is on the aspx side.

Thanks much!

Correct Answer

brandon rogers answered on July 18, 2018 18:06

In case someone searches this in the future and need the solution here is what I did.

  1. Created standard html/css on my aspx page/sass.
  2. Created Web part zone.
  3. Added CMSviewer for each tab.
  4. Configured hierarchical transformation for the cmsviewer.
  5. Hardcoded repeater control on aspx page.
  6. Configured repeater for each tab.
  7. On portal side created folder so that our users can upload page types for each tab.

The end product is that that there is a super nav where each tab is getting the child links from the specified path. Also our end users can now add pagetypes that will display on the supernav tabs.

This would have been very easy if I could have used the portal page, but because this is a aspx + portal I had to go this route.

0 votesVote for this answer Unmark Correct answer

Recent Answers

Chris Bass answered on July 13, 2018 16:33

Offhand, I suppose you could base it off something like that Rows Layout webpart, and instead of having it set each zone as a row, change up the HTML/CSS so each one is a visible parent area and a hidden area that appears on-hover of the parent area. The layout webparts can be used as a widget too, so if you need widgets I imagine it should work for that just as well.

1 votesVote for this answer Mark as a Correct answer

brandon rogers answered on July 13, 2018 21:10

This should work, thanks!

My secondary question. If I set this up in my aspx.master page, will users be able to drop widgets on the portal side?

I am still looking for documentation on how to drop the Rows Layout webpart to my aspx page. (I have this working somewhat on the portal side but I need add it to my aspx page. Thanks!

0 votesVote for this answer Mark as a Correct answer

Chris Bass answered on July 13, 2018 21:17

That one I don't know - probably worth splitting it out as a second question, referencing this one. Good luck!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.