Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2014-08-03 22:06:18

michael
Member
Registered: 2012-11-27
Posts: 88

Multilevel navigation

I'm setting up with multi-level navigation so it seem like I need to make some changes to phplugin just as with CE3.

Is there any class i need to add to make it a new level, like in CE3 i did

<ul class="sub-menu clearfix">

Offline

#2 2014-08-03 22:10:52

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Multilevel navigation

No class. Just go by the example that's already in the phplugins.php file.


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2014-08-03 22:29:07

fwillette
Member
From: Brussels - Belgium
Registered: 2014-05-08
Posts: 135

Re: Multilevel navigation

Hi Matt

Examples are present in CE3 DOC, not sure they are also present in CE4 Doc (personnaly I didn't thind them in CE4 Doc)

Cordially

frédy

Offline

#4 2014-08-03 23:15:59

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Multilevel navigation

the examples are in the phplugins file itself


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2014-08-03 23:22:13

michael
Member
Registered: 2012-11-27
Posts: 88

Re: Multilevel navigation

ok got it smile

It could however be good with some more documentation around this rather than try & error wink
Struggling with specifying navigation fonts and how to have submenu (level 3) overlap the upper level so it looks nicer....

Offline

#6 2014-08-03 23:43:25

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Multilevel navigation

there is this in the CE3 Documentation: http://ce3wiki.theturninggate.net/doku. … navigation

And there have been numerous discussion in the forum about expanding the multi-level navigation beyond the one drop down
Here's one: http://community.theturninggate.net/post/4948/#p4948

Basically, the autoindexing will only work at the deepest level of navigation. Above that you'll need to hard code the menus

Struggling with specifying navigation fonts and how to have submenu (level 3) overlap the upper level so it looks nicer....

fonts are taken from the typography section of Site Info. Navigation fonts are using the Base Font. If you want to change this you'll need to use custom css. Probably need custom css as well if you want to "overlap the upper level".

Last edited by rod barbee (2014-08-03 23:44:15)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#7 2014-08-04 00:00:29

michael
Member
Registered: 2012-11-27
Posts: 88

Re: Multilevel navigation

Yep, got the coding in place smile
As there has been a lot of changes to CSS it could be good to have some doc to rely upon rather than digest the CSS ifiles and trying to figure out which section to use...

Offline

#8 2014-08-04 00:10:10

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Multilevel navigation

I just use the inspector in Firefox to see what classes are being applied.
But yeah, a list of classes would be handy to have. I know Matt is neck deep in updating plug-ins and working on documentation. If I can find the time I might try mining the css to see if I can come up with a list of some usefull classes that Matt's included.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB