this is fairly minor, but i thought i would share. when i was viewing a category page i noticed that there was quite a bit of excessive whitespace caused by some elements being out of place. i fixed them... here are the changes:category_item.php ~ line 158<?php if( $this->item->params->get('catItemHits')|| $this->item->params->get('catItemCategory')|| $this->item->params->get('catItemTags')|| $this->item->params->get('catItemAttachments') ): ?>should be<?php if( $this->item->params->get('catItemHits')|| $this->item->params->get('catItemCategory')|| ($this->item->params->get('catItemTags') && count($this->item->tags))|| ($this->item->params->get('catItemAttachments') && count($this->item->attachments)) ): ?>also there were a few spots where <div class="clr"></div> needed to be pulled into the if statement...that way if features are disabled, the code doesn't produce <div class="clr"></div><div class="clr"></div> over and over.
16 years 7 months ago #81640