Ignore:
Timestamp:
07/20/06 11:14:36 (13 years ago)
Author:
vahur
Message:

made a list of content types. Also made config.py accessible from python scripts and page templates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/lemill_content_view.pt

    r481 r495  
    66 
    77<div metal:fill-slot="main" style="width:100%" tal:define="piece_results python:here.getSearchObject(portal_type='Piece'); 
    8          material_results python:here.getSearchObject(portal_type=['Material', 'PresentationMaterial', 'MultimediaMaterial']); 
     8         material_results python:here.getSearchObject(portal_type=modules['Products.LeMill.config'].MATERIAL_TYPES); 
    99         search_results python:piece_results+material_results"> 
    1010 
Note: See TracChangeset for help on using the changeset viewer.