3rd Level DF Menus

Dragonfly issues as they relate to modules discussed here
Reply to topicReply to topic
Go to page  1, 2  Next 

  
27 Jun '10 Sun Jun 27, 2010 16:57    
layingback
Site Admin  
  •  

Post 3rd Level DF Menus

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
  • redesign3levels.png
  • 2nd and 3rd level pulldown "mega menu" in reDesign3.


layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
29 Jun '10 Tue Jun 29, 2010 12:27    
greenday2k
Sponsor  Sponsor
  •  

Post Re: 3rd Level DF Menus

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  
 
 
 
  
2 Jul '10 Fri Jul 02, 2010 03:54    
layingback
Site Admin  
  •  

Post Re: 3rd Level DF Menus

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 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
19 Jul '10 Mon Jul 19, 2010 21:03    
layingback
Site Admin  
  •  

Post Re: 3rd Level DF Menus

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 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
30 Nov '10 Tue Nov 30, 2010 00:13    
layingback
Site Admin  
  •  

Post Re: 3rd Level DF Menus

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
  • redsgn3leveldblewide.png
  • 2-Column 2nd/3rd Menu in reDesign3


layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
1 Dec '10 Wed Dec 01, 2010 06:54    
Madis
Poster  Poster
  •  

Post Re: 3rd Level DF Menus

- 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  
 
 
 
  
1 Dec '10 Wed Dec 01, 2010 15:27    
layingback
Site Admin  
  •  

Post Re: 3rd Level DF Menus

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 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
18 Dec '10 Sat Dec 18, 2010 23:07    
layingback
Site Admin  
  •  

Post Re: 3rd Level DF Menus

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 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
22 Dec '10 Wed Dec 22, 2010 00:58    
layingback
Site Admin  
  •  

Post Re: 3rd Level DF Menus

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
  • redesign3megamenu.png
  • Mega Menus in DF!!!


layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
24 Mar '13 Sun Mar 24, 2013 01:33    
Jerrmin
Poster  Poster
  •  

Post Re: 3rd Level DF Menus

Nice mod. But I'd like to ask whether it is compatible with the dragonfly 9.3.4.1.



Jerrmin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

Windows 2003/2.2.16/5.3.3/9.3.4.0

 
 
 
 
  
24 Mar '13 Sun Mar 24, 2013 04:12    
layingback
Site Admin  
  •  

Post Re: 3rd Level DF Menus

Honestly don't know, but I can't imagine why it wouldn't be. If you wanted to be sure compare the affected modules from 9.2.1 (which I used) with the corresponding versions from 9.3.4.1. There certainly haven't been many changes.

Or just try ict. If you take backup copies of the modules ahead of time, you should be able to reverse it all out if indeed it's necessary. (The extra db file can be left around.)

One thing that I have found, is that the modified code as is will fail if the new db file is not present. So if you copy the modified code to a new site, you need to manually add the extra db file before trying to bring up the new site.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
4 Apr '13 Thu Apr 04, 2013 04:02    
layingback
Site Admin  
  •  

Post Re: 3rd Level DF Menus

- Jerrmin

Nice mod. But I'd like to ask whether it is compatible with the dragonfly 9.3.4.1.

Any feedback? Wondering if it indeed worked with 9.3.4.1?



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
25 Jan '15 Sun Jan 25, 2015 02:17    
rosbif
BetaTester  BetaTester
  •  

Post Re: 3rd Level DF Menus

I've just upgraded to 9.4 and my menus have disappeared - despite me redoing all the edits. Interestingly enough the lbl table in the database seemed to have disappeared so I had to recreate it. The css menu just seems to be not even created looking at the source. what have I missed?

Its on aparc.com.



rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

Linux/2.2.11/4.1.22/5.2.17/9.3.4.1

 
 
 
 
  
25 Jan '15 Sun Jan 25, 2015 18:06    
layingback
Site Admin  
  •  

Post Re: 3rd Level DF Menus

Well I have mega-menus running on many of my sites, including this one, and they are all 9.4.

However I can't remember what I did - if anything - as I too get very frustrated with DF Upgrade assuming that all db changes have to be wiped out on upgrade. So i usually just download once, upgrade my dev system, on XAMPP, and then install from that (by copying). Not straightforward - the install by copying - but at least it's the same each time.

But to your problem specifically: it sounds as if you did all the steps. HOWEVER your immediate problem isn't that the menu is missing, but that the WHOLE footer is AWOL! The menu is in the footer on reDesign ...

So my guess is that you have something in the footer that is either incompatible with 9.4, or more likely broken during the update. Does the footer show when using any other theme?

Can't tell much else from here I'm afraid and there is literally nothing there to look at after the maincontainer div.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
25 Jan '15 Sun Jan 25, 2015 20:02    
rosbif
BetaTester  BetaTester
  •  

Post Re: 3rd Level DF Menus

No, footer doesn't show in any theme. What would cause that?

I can't change anything in admin either because of the security error; I've corrected the line at the foot of config.php so sessions are saving correctly but still get the error, even when refreshing.

Beginning to wish I hadn't done this now!



rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

Linux/2.2.11/4.1.22/5.2.17/9.3.4.1

 
 
 
 
Link  QR 
Share this Printer Friendly Page  facebook   google+   linkedin   twitthis  
Show more ...
Go to page  1, 2  Next


Go to page  2  Next