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/portlet_related_stories.pt

    r477 r495  
    55    <div metal:define-macro="portlet" 
    66        tal:define="related context/find_related_stories" 
    7         tal:condition="python:not(isAnon) and context.meta_type in ['Activity', 'Tool', 'Piece', 'Material'] and related"> 
     7        tal:condition="python:not(isAnon) and context.meta_type in modules['Products.LeMill.config'].ALL_CONTENT_TYPES and related"> 
    88        <dl class="portlet" id="portlet-"> 
    99             
Note: See TracChangeset for help on using the changeset viewer.