Changeset 1051
- Timestamp:
- 04/26/10 09:58:14 (2 years ago)
- Location:
- plugins/apostropheBlogPlugin/trunk/modules/aBlog
- Files:
-
- 4 modified
-
lib/BaseaBlogActions.class.php (modified) (1 diff)
-
lib/BaseaBlogComponents.class.php (modified) (1 diff)
-
templates/_sidebar.php (modified) (1 diff)
-
templates/showSuccess.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostropheBlogPlugin/trunk/modules/aBlog/lib/BaseaBlogActions.class.php
r963 r1051 63 63 public function executeShow(sfWebRequest $request) 64 64 { 65 $this->buildParams(); 66 $this->dateRange = ''; 65 67 $this->aBlogPost = $this->getRoute()->getObject(); 66 68 } -
plugins/apostropheBlogPlugin/trunk/modules/aBlog/lib/BaseaBlogComponents.class.php
r853 r1051 29 29 ->orderBy('c.name') 30 30 ->execute(); 31 32 if($this->reset == true) 33 { 34 $this->params['cat'] = array(); 35 $this->params['tag'] = array(); 36 } 31 37 } 32 38 -
plugins/apostropheBlogPlugin/trunk/modules/aBlog/templates/_sidebar.php
r540 r1051 56 56 </div> 57 57 58 <?php if(isset($noFeed)): ?> 58 59 <hr /> 59 60 <h5><?php echo link_to('RSS Feed', aUrl::addParams('aBlog/index?feed=rss', $params['tag'], $params['cat'])) ?></h5> 61 <?php endif ?> 60 62 61 63 <script type="text/javascript"> -
plugins/apostropheBlogPlugin/trunk/modules/aBlog/templates/showSuccess.php
r1037 r1051 1 1 <?php slot('body_class') ?>a-blog <?php echo $sf_params->get('module'); ?> <?php echo $sf_params->get('action') ?><?php end_slot() ?> 2 2 3 <?php if (0): ?>4 <?php // TODO: Dan, pass in the right variables to make this work as per Rick's ticket ?>5 3 <?php slot('a-subnav') ?> 6 4 <div class="a-subnav-wrapper blog"> 7 5 <div class="a-subnav-inner"> 8 <?php include_component('aBlog', 'sidebar', array('params' => $params, 'dateRange' => $dateRange, 'categories' => $blogCategories )) ?>6 <?php include_component('aBlog', 'sidebar', array('params' => $params, 'dateRange' => $dateRange, 'categories' => $blogCategories, 'reset' => true)) ?> 9 7 </div> 10 8 </div> 11 9 <?php end_slot() ?> 12 <?php endif ?>13 10 14 11 <?php echo include_partial('aBlog/post', array('a_blog_post' => $aBlogPost)) ?>

