• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Making a 'mega' type menu with navigator templates
PostPosted: Mon Jan 27, 2020 9:54 am 
Offline
Forum Members
Forum Members

Joined: Mon Nov 26, 2018 3:09 pm
Posts: 57
Has any one done this, or can give me any pointers on how to achieve it. Basically I need to end up with code like this:

\$1:
<li class="mega">
<a href="x.html">Navigation link</a>
<div class="dropdown">
<ul>

<li>
<ul>
<li>A link</li>
<li>A link</li>
</ul>
</li>

<li>
<ul>
<li>A link that shows in a second column</li>
<li>A link that shows in a second column</li>
</ul>
</li>

</ul>
</div>
</li>


So each ul nested within the list item can be styled to show in its own column within the main dropdown panel

I hope you can picture what I'm trying to describe!

The main point is how in a navigator template would I separate out pages to push them into ul column 1, column 2 etc when they are all just child pages at the same level?

Thanks!


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Making a 'mega' type menu with navigator templates
PostPosted: Mon Jan 27, 2020 3:17 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 906
Location: Victoria, BC
Sometimes it's easier to get your page structure to fit the navigation. One option would be for pages you want in the second column, set them to not show in the nav, then make a section header with child internal page links pointing to the original pages.

I've also done it where I've used one of the "extra" fields to be an indicator that this is supposed to be in the second column. You can give it a class and move it with javascript, or check for it in the menu template and loop through an extra time to build the second column.

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Making a 'mega' type menu with navigator templates
PostPosted: Fri Jan 31, 2020 7:17 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3157
Location: The Netherlands
\$1:
The main point is how in a navigator template would I separate out pages


I guess this is exactly what the 'separator' content type is for.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Making a 'mega' type menu with navigator templates
PostPosted: Mon Feb 03, 2020 8:58 am 
Offline
Forum Members
Forum Members

Joined: Mon Nov 26, 2018 3:09 pm
Posts: 57
thanks both, will investigate further...!


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: googlebot


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting