Donations

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
User Info
Wilkommen Unbekannt
Mitglieder:
Neuestes: Witewolf
Heute neu: 0
Gestern neu: 0
Gesamt: 151
Anwesende Nutzer:
Mitglieder: 0
Besucher: 42
Roboter: 3
Gesamt: 45
Wer ist wo?:
Besucher:Support Forums
Support Forums
Pro News Articles
Support Forums
Support Forums
Nedladdningar
Support Forums
Support Forums
Support Forums
Support Forums
Pro News Articles
Support Forums
Downloads
Support Forums
Pro News Articles
Téléchargement
Téléchargement
Support Forums
Pro News Articles
Pro News Articles
Support Forums
Pro News Articles
Support Forums
Support Forums
Pro News Articles
Support Forums
Pro News Articles
Pro News Articles
Pro News Articles
Support Forums
Téléchargement
Pro News Articles
Downloads
Mitt konto
Support Forums
Pro News Articles
Support Forums
Pro News Articles
Pro News Articles
Pro News Articles
Downloads
Support Forums
Roboter:Google > Pro News Articles
Baidu > Pro News Articles
YANDEX > Support Forums
Wer ist online:
Keine Mitglieder online!
3rd Level DF Menus
3rd Level DF Menus
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:
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

- Beiträge: 1229
- Dabei seit: Mar 18, 2006
Re: 3rd Level DF Menus
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!

greenday2k- Poster

- Beiträge: 21
- Dabei seit: May 18, 2009
- Wohnort: Bogotá
Re: 3rd Level DF Menus
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

- Beiträge: 1229
- Dabei seit: Mar 18, 2006
Re: 3rd Level DF Menus
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 ![]()
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

- Beiträge: 1229
- Dabei seit: Mar 18, 2006
Re: 3rd Level DF Menus
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! ![]()
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!
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

- Beiträge: 1229
- Dabei seit: Mar 18, 2006
Re: 3rd Level DF Menus
Verfasst am: Tue Nov 30, 2010 11:54 pm
- layingbackOK, 8 months later...
You were looking at your Join Date ![]()
Madis please enter your server specs in your user profile!

Madis- Poster

- Beiträge: 12
- Dabei seit: Apr 14, 2008
Re: 3rd Level DF Menus
Verfasst am: Wed Dec 01, 2010 8:27 am
Close. ![]()
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 ...
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

- Beiträge: 1229
- Dabei seit: Mar 18, 2006
Re: 3rd Level DF Menus
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

- Beiträge: 1229
- Dabei seit: Mar 18, 2006
Re: 3rd Level DF Menus
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.
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

- Beiträge: 1229
- Dabei seit: Mar 18, 2006
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











