Ignore:
Timestamp:
06/09/08 14:48:45 (11 years ago)
Author:
anonymous
Message:

Portlets are much more efficient and simpler now and work independent of Plone's portlet system. The logic is in Resources/getPortletDetails, portlets itself just either show or not show their parts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ExerciseMaterial.py

    r2401 r2410  
    7575    def manage_afterAdd(self, item, container): 
    7676        Material.manage_afterAdd(self, item, container) 
    77  
    78         if not hasattr(item.aq_base, 'left_slots'): 
    79             self._setProperty('left_slots', ['here/portlet_material_actions/macros/portlet',], 'lines') 
    80         else: 
    81             self._updateProperty('left_slots', ['here/portlet_material_actions/macros/portlet',]) 
    8277 
    8378    def getOnlyText(self): 
Note: See TracChangeset for help on using the changeset viewer.