To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Show
Ignore:
Timestamp:
04/30/10 13:00:41 (2 years ago)
Author:
dordille
Message:

Added support for setting max number of images used in post slots.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostropheBlogPlugin/trunk/modules/aBlog/templates/_twoColumnTemplate_slot.php

    r1058 r1104  
    1 <?php echo $aBlogPost->getTextForArea('blog-body', 100) ?> 
     1<div class="a-blog-post-excerpt"> 
     2<?php echo $aBlogPost->getTextForArea('blog-body', $options['excerptLength']) ?> 
     3</div> 
    24 
     5<?php if($options['maxImages'] > 0): ?> 
     6<div class="a-blog-post-media"> 
     7<?php include_component('aSlideshowSlot', 'slideshow', array( 
     8  'items' => $aBlogPost->getMediaForArea('blog-body', 'image', $options['maxImages']), 
     9  'id' => 'test', 
     10  'options' => $options['slideshowOptions'] 
     11  )) ?> 
     12</div> 
     13<?php endif ?> 
     14