[1] | 1 | Quintagroup Plone Drop Down Menu |
---|
| 2 | |
---|
| 3 | The product allows Plone websites to update multilevel portal |
---|
| 4 | dropdown menu and edit it within Plone. |
---|
| 5 | |
---|
| 6 | "Product Homepage":http://quintagroup.com/services/plone-development/products/ | |
---|
| 7 | "Download":http://sourceforge.net/projects/quintagroup |
---|
| 8 | |
---|
| 9 | (c) "Quintagroup":http://quintagroup.com/ , 2005. |
---|
| 10 | |
---|
| 11 | support@quintagroup.com * quintessence of modern business |
---|
| 12 | |
---|
| 13 | Requires |
---|
| 14 | |
---|
| 15 | Plone 2.0+ |
---|
| 16 | CMF 1.4.7+ |
---|
| 17 | Zope 2.7+ |
---|
| 18 | |
---|
| 19 | Install |
---|
| 20 | |
---|
| 21 | 1. Install with Quick Installer. |
---|
| 22 | |
---|
| 23 | 2. For Plone below 2.1 to use drop_down.css add '<dtml-var drop_down.css>' |
---|
| 24 | line to your portal ploneCustom.css. |
---|
| 25 | |
---|
| 26 | Usage |
---|
| 27 | |
---|
| 28 | You have a list of items of your top level menu, which you can edit in |
---|
| 29 | 'drop down menu' configlet form. Now, to add submenu to the certain |
---|
| 30 | menu item, you need to add unordered list inside of top level menu |
---|
| 31 | item ('<li>...</li>') after its title ('<a></a>'):: |
---|
| 32 | |
---|
| 33 | <ul><li>...</li>...<li>...</li></ul> |
---|
| 34 | |
---|
| 35 | To make your changes live click 'save' button. |
---|
| 36 | |
---|
| 37 | Sample menu with 2 submenus:: |
---|
| 38 | |
---|
| 39 | <li id="portaltab-index_html" class="plain"><a href="http://example.com/" accesskey="t">Home</a></li> |
---|
| 40 | <li id="portaltab-Members" class="plain"><a href="http://example.com/Members" accesskey="t">Members</a> |
---|
| 41 | <ul> |
---|
| 42 | <li><a href="http://example.com/Members/jdoe">John Doe</a><li> |
---|
| 43 | <li><a href="http://example.com/Members/mmajor">Mary Major</a><li> |
---|
| 44 | </ul> |
---|
| 45 | </li> |
---|
| 46 | <li id="portaltab-news" class="plain"><a href="http://example.com/news" accesskey="t">News</a></li> |
---|
| 47 | <li id="portaltab-events" class="plain"><a href="http://example.com/events" accesskey="t">Events</a> |
---|
| 48 | <ul> |
---|
| 49 | <li><a href="http://example.com/events/previous">Past Events</a><li> |
---|
| 50 | <li><a href="http://example.com/calendar">Calendar</a><li> |
---|
| 51 | </ul> |
---|
| 52 | </li> |
---|
| 53 | |
---|
| 54 | In this example we added submenus to our 'Members', and 'Events' tabs. |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | You can click button on 'drop down menu' configlet form to reset menu. |
---|
| 58 | This can be usefull in case broken html of menu code. Generated code is based |
---|
| 59 | on status of 'Automatically generate tabs' in your 'Navigation settings' |
---|
| 60 | (in Plone 2.1+). However you will lose your previous code of menu with all submenus |
---|
| 61 | after click on 'regenerate menu'. |
---|
| 62 | |
---|
| 63 | If you want to 'regenerate menu' you should pay attention to status of |
---|
| 64 | 'Automatically generate tabs' in your 'Navigation settings' (in Plone 2.1+). |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | Authors |
---|
| 68 | |
---|
| 69 | * Myroslav Opyr |
---|
| 70 | |
---|
| 71 | * Vitaliy Podoba |
---|