Changeset 2618 in products


Ignore:
Timestamp:
Jul 6, 2010 6:49:43 AM (14 years ago)
Author:
fenix
Message:
  • made some fixes;
  • increment version;
  • added history;
Location:
Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu/DropDownMenuTool.py

    r372 r2618  
    1 from Globals import InitializeClass 
     1from App.class_init import InitializeClass 
    22from OFS.SimpleItem import SimpleItem 
    33from AccessControl import ClassSecurityInfo 
  • Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu/HISTORY.txt

    r1140 r2618  
     10.3.0 
     2 
     3  * eggified product, made compatible 
     4    with plone4 (no backward compatibility). Thanks to Thomas Desvenain. 
     5 
    160.2.1 
    27 
  • Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu/README.txt

    r893 r2618  
    1313Requires 
    1414 
    15   Plone 3.0+ 
     15  Plone 4 
    1616 
    1717Install 
    1818 
    1919  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. 
    2320 
    2421Usage 
     
    4542   <li id="portaltab-events" class="plain"><a href="http://example.com/events" accesskey="t">Events</a> 
    4643       <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> 
    4946       </ul> 
    5047   </li> 
     
    6663 
    6764You 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  
     65However you will lose your previous code of menu with all submenus  
    7166after click on 'regenerate menu'.  
    72  
    73 If you want to 'regenerate menu' you should pay attention to status of  
    74 'Automatically generate tabs' in your 'Navigation settings' (in Plone 2.1+). 
    75  
    7667 
    7768Authors 
  • Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu/profiles/default/metadata.xml

    r372 r2618  
    11<?xml version="1.0"?> 
    22<metadata> 
    3   <version>0.2</version> 
     3  <version>0.3</version> 
    44</metadata> 
  • Products.qPloneDropDownMenu/trunk/Products/qPloneDropDownMenu/utils.py

    r2581 r2618  
    3737                                    name=u'plone_context_state') 
    3838    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 
    4243    portal_tabs_view = getMultiAdapter((site, site.REQUEST), 
    4344                                       name='portal_tabs_view') 
Note: See TracChangeset for help on using the changeset viewer.