_TOGGLE

Donations

Donate with PayPal!
Help support Pro_News and become a member of our Sponsors Group
The tip jar is at PayPal, but does not require a PayPal account
Unbekannt $ 10.00
macavity $ 115.00
RedGerry £ 50.00
Unbekannt $ 10.00
minor $ 20.00

Recommended ISP

3rd Level DF Menus

Dragonfly issues as they relate to modules discussed here
Neue Antwort erstellenNeue Antwort erstellen Druckbare Version

3rd Level DF Menus

Posten Verfasst am: Sun Jun 27, 2010 9:57 am

I'm currently playing with adding a 3rd level menu in DF.

But I only like Mega Menus - see foodnetwork.com for an example. That big pull-down with 2 levels of menus in each pull-down. Saves all that careful mouse work moving down and then across.

Here's an image from my dev site:


  • redesign3levels.png
  • Beschreibung: 2nd and 3rd level pulldown "mega menu" in reDesign3.
  • Dateigrösse: 3.53 KB
  • Aufrufe: 4638 mal
  • redesign3levels.png


layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Beiträge: 1229
Dabei seit: Mar 18, 2006

Re: 3rd Level DF Menus

Posten Verfasst am: Tue Jun 29, 2010 5:27 am

mmm you can get the double colum links using floating elements (float: left; display:inline-block) with a fixed width: example: 90px;

Those mega drops menus are pretty and usable (weel that says that guru of usability...). I'm concerned by the administration areachanges and the DB changes (if any) or are you trying to make it as another CSS menu (different admin section) and different DB table?



greenday2k please enter your server specs in your user profile! Crying or Very sad

greenday2k
Poster
Poster
 
Beiträge: 21
Dabei seit: May 18, 2009
Wohnort: Bogotá

Re: 3rd Level DF Menus

Posten Verfasst am: Thu Jul 01, 2010 8:54 pm

I only did this for user side. Current menus are fine for Admin, but not good enough IMHO for user side - even if they were supported.

There are very little changes, and almost no truly new code. Will post as soon as I get a chance. But basically a new Add a Label button alongside existing Add a Catgeory and Add a Link entries in Admin > CPGMMMenu, and a new db file. Code for this, and db structure, is almost same as before.

Plus a very small change to the menu display code and the CSS.

A very low cost for quite a big increase in functionality.

I do need to add the 2-column layouts - thanks for the hints. I think I'll just add odd/even calc to the HTML for use in the CSS.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Beiträge: 1229
Dabei seit: Mar 18, 2006

Re: 3rd Level DF Menus

Posten Verfasst am: Mon Jul 19, 2010 2:03 pm

I've uploaded my hack for default theme and reDesign3 (very basic in both cases) to Downloads.

I was waiting until I get time to make 2-column display work, but until then, I've uploaded what I have, as I do want to make it available to DF

As always with making changes to DF Core - YMMV - caveat emptor - no responsibility - yada yada! Ie. You've been warned Exclamation



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Beiträge: 1229
Dabei seit: Mar 18, 2006

Re: 3rd Level DF Menus

Posten Verfasst am: Mon Nov 29, 2010 5:13 pm

OK, 8 months later...

Turns out that the changes weren't that many, but there where many attempts to go in the wrong directions first! Laughing

Revised version of MegaMenus now supports 2-column "double-wide" menus in reDesign3. (It also supports links in labels, although I wouldn't recommend them from a user interface standpoint.)

No changes for Default theme, so don't bother re-downloading if you don't use the incomparable reDeisgn3. And only changes a couple of files for reDesign3.

Download from here.

As always, enjoy, and if you make good use of this, please drop by the top-left block! TIA!


  • redsgn3leveldblewide.png
  • Beschreibung: 2-Column 2nd/3rd Menu in reDesign3
  • Dateigrösse: 5.13 KB
  • Aufrufe: 3756 mal
  • redsgn3leveldblewide.png


layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Beiträge: 1229
Dabei seit: Mar 18, 2006

Re: 3rd Level DF Menus

Posten Verfasst am: Tue Nov 30, 2010 11:54 pm

- layingback

OK, 8 months later...


You were looking at your Join Date Wink



Madis please enter your server specs in your user profile! Crying or Very sad

Madis
Poster
Poster
 
Beiträge: 12
Dabei seit: Apr 14, 2008

Re: 3rd Level DF Menus

Posten Verfasst am: Wed Dec 01, 2010 8:27 am

Close. Wink

I was actually looking at the starting file date on v1. But either way a lot longer delay than I'd intended. The deal needing a megamenu fell through ... Sad

And I've been building my Event Donations system. Pretty cool, and as the Pro_News side of it is handled entirely within the template, this opens up Pro_News for a whole bunch of stuff at the template level.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Beiträge: 1229
Dabei seit: Mar 18, 2006

Re: 3rd Level DF Menus

Posten Verfasst am: Sat Dec 18, 2010 4:07 pm

Minor update to fix the alternating background color in Admin menu, and to fix the confirmation text on Delete of a label.text. In Downloads.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Beiträge: 1229
Dabei seit: Mar 18, 2006

Re: 3rd Level DF Menus

Posten Verfasst am: Tue Dec 21, 2010 5:58 pm

If anyone's following...I've updated to latest reDesign3 from CVS, the one with rounded corners on the menus, and a drop shadow.

Looks great, but showed up a shortcoming in my hack, so hack duly updated.

[ If you have more than 1 top-level menu highlighted then you need this fix. ]

I've also addressed a couple of issues related to links on these new 2nd level Label entries. I don't condone using them (from a UI perspective) but if you want them they are now there.


  • redesign3megamenu.png
  • Beschreibung: Mega Menus in DF!!!
  • Dateigrösse: 14.22 KB
  • Aufrufe: 3601 mal
  • redesign3megamenu.png


layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Beiträge: 1229
Dabei seit: Mar 18, 2006
Link  QR  Share this Druckbare Version  facebook   myspace   twitthis  
Show more ...
Beiträge der letzten Zeit anzeigen:   
Neue Antwort erstellenNeue Antwort erstellen Seite 1 von 1

Dragonfly

Gehe zu:  



Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst keine Dateien anhängen.
Du kannst Dateien herunterladen.

Alle Zeitangaben sind in GMT






layingback Non-Human Terms of Use