default userpic

Drop-down navigation in the new Universal Template Set?

Vote 0 Votes

Working on evaluating MT as a solution for an in-house CMS, and one requirement is a standard CSS driven drop-down menu. I've gotten into adding items to the top nav, and have a handle on that, and can see how that might be used to create a left-nav, but I don't know how to create the drop-down navigation using the folder/page structure.

Anyone have any samples of this?.. (I'm familiar with the CSS and JS involved, but need to know how to reference the folders/pages).

Thanks!

Reported on Movable Type 4.2

4 Replies

| Add a Reply
  • There is a widget called "Page Listing" which generates a listing of the folders and pages for a blog. That would be an excellent starting point for you. It shouldn't be hard for you to make a new widget based on it that generates the output as a drop down menu.

  • I was hoping to doing something based on the code at:

    http://www.movabletype.org/2008/08/creating_drop-down_navigation_with_movable_type.html

    but modify it so it uses the new folder/page structure. Like I said, I understand the CSS and JS, it's the question of the MT markup hooks that befuddle me.

    I'll take a look at that "Page Listing" widget, and see if I can find some clues there. But any other tips would be greatly appreciated. Someone must have done this already...

  • Is that "Page Listing" widget part of MT 3.x, and depricated in MT 4.2 with the Universal Template Set?..

    • No, it's part of the Personal Blog template set. However, I'm surprised that it's not listed under Widgets in the Universal one too because that could be useful there. Just create a test blog based on the personal blog template set, grab the markup for that widget and delete the test blog.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1428 5076

Last Topic: Stupid Question? How to make a static homepage by Jeremy on Feb 3, 2012

694 2908

Last Topic: Blogspot to Movable Type by sdude on Feb 8, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 565

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012