Changeset 1104
- Timestamp:
- 04/30/10 13:00:41 (22 months ago)
- Location:
- plugins/apostropheBlogPlugin/trunk/modules
- Files:
-
- 4 modified
-
aBlog/templates/_singleColumnTemplate_slot.php (modified) (1 diff)
-
aBlog/templates/_twoColumnTemplate_slot.php (modified) (1 diff)
-
aBlogSingleSlot/actions/components.class.php (modified) (1 diff)
-
aBlogSlot/actions/components.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostropheBlogPlugin/trunk/modules/aBlog/templates/_singleColumnTemplate_slot.php
r1102 r1104 3 3 </div> 4 4 5 <?php if($options['maxImages'] > 0): ?> 5 6 <div class="a-blog-post-media"> 6 7 <?php include_component('aSlideshowSlot', 'slideshow', array( 7 'items' => $aBlogPost->getMediaForArea('blog-body', 'image', 1),8 'items' => $aBlogPost->getMediaForArea('blog-body', 'image', $options['maxImages']), 8 9 'id' => 'test', 9 10 'options' => $options['slideshowOptions'] 10 11 )) ?> 11 12 </div> 12 13 <?php endif ?> -
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> 2 4 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 -
plugins/apostropheBlogPlugin/trunk/modules/aBlogSingleSlot/actions/components.class.php
r1102 r1104 31 31 32 32 $this->options['excerptLength'] = $this->getOption('excerptLength', 200); 33 $this->options['maxImages'] = $this->getOption('maxImages', 1); 33 34 } 34 35 } -
plugins/apostropheBlogPlugin/trunk/modules/aBlogSlot/actions/components.class.php
r1102 r1104 35 35 36 36 $this->options['excerptLength'] = $this->getOption('excerptLength', 200); 37 $this->options['maxImages'] = $this->getOption('maxImages', 1); 37 38 38 39 $this->aBlogPosts = $q->execute();

