Changeset 2618 in products
- Timestamp:
- Jul 6, 2010 6:49:43 AM (14 years ago)
- Location:
- Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu/DropDownMenuTool.py
r372 r2618 1 from Globalsimport InitializeClass1 from App.class_init import InitializeClass 2 2 from OFS.SimpleItem import SimpleItem 3 3 from AccessControl import ClassSecurityInfo -
Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu/HISTORY.txt
r1140 r2618 1 0.3.0 2 3 * eggified product, made compatible 4 with plone4 (no backward compatibility). Thanks to Thomas Desvenain. 5 1 6 0.2.1 2 7 -
Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu/README.txt
r893 r2618 13 13 Requires 14 14 15 Plone 3.0+15 Plone 4 16 16 17 17 Install 18 18 19 19 1. Install with Quick Installer. 20 21 2. For Plone below 2.1 to use drop_down.css add '<dtml-var drop_down.css>'22 line to your portal ploneCustom.css.23 20 24 21 Usage … … 45 42 <li id="portaltab-events" class="plain"><a href="http://example.com/events" accesskey="t">Events</a> 46 43 <ul> 47 <li><a href="http://example.com/events/previous">Past Events</a>< li>48 <li><a href="http://example.com/calendar">Calendar</a>< li>44 <li><a href="http://example.com/events/previous">Past Events</a></li> 45 <li><a href="http://example.com/calendar">Calendar</a></li> 49 46 </ul> 50 47 </li> … … 66 63 67 64 You can click button on 'drop down menu' configlet form to reset menu. 68 This can be usefull in case broken html of menu code. Generated code is based 69 on status of 'Automatically generate tabs' in your 'Navigation settings' 70 (in Plone 2.1+). However you will lose your previous code of menu with all submenus 65 However you will lose your previous code of menu with all submenus 71 66 after click on 'regenerate menu'. 72 73 If you want to 'regenerate menu' you should pay attention to status of74 'Automatically generate tabs' in your 'Navigation settings' (in Plone 2.1+).75 76 67 77 68 Authors -
Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu/profiles/default/metadata.xml
r372 r2618 1 1 <?xml version="1.0"?> 2 2 <metadata> 3 <version>0. 2</version>3 <version>0.3</version> 4 4 </metadata> -
Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu/utils.py
r2581 r2618 37 37 name=u'plone_context_state') 38 38 actions = context_state.actions() 39 if type(actions) == dict: 40 # Plone 4 41 actions = actions['portal_tabs'] 39 if type(actions) == dict: 40 # Plone 4 41 actions = actions['portal_tabs'] 42 42 43 portal_tabs_view = getMultiAdapter((site, site.REQUEST), 43 44 name='portal_tabs_view')
Note: See TracChangeset
for help on using the changeset viewer.