Changeset 2593

Show
Ignore:
Timestamp:
06/18/08 01:24:37 (17 months ago)
Author:
bsmith
Message:

bugzid:80214 - Conditioning entry category display to avoid publishing errors if category archive mapping is disabled

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-40/default_templates/entry.mtml

    r2553 r2593  
    5757                                </div> 
    5858                                <div class="asset-footer"> 
    59 <MTIfNonEmpty tag="EntryCategory"> 
     59<mt:IfArchiveTypeEnabled archive_type="Category"> 
     60    <mt:If tag="MTEntryCategories"> 
    6061                                    <div class="entry-categories"> 
    6162                                        <h4 class="entry-categories-header"><__trans phrase="Categories"><span class="delimiter">:</span></h4> 
     
    6465                                        </ul> 
    6566                                    </div> 
    66 </MTIfNonEmpty> 
     67    </mt:If> 
     68</mt:IfArchiveTypeEnabled> 
    6769<MTEntryIfTagged> 
    6870                                    <div class="entry-tags">