Skip to content
Support Joomla!

Narrow screen resolution Wide screen resolution Auto adjust screen size Increase font size Decrease font size Default font size default color brick color green color
You are here:Home arrow Forums
Community Forum  


<< Start < Prev 1 2 Next > End >>
Re:Possible to show Category Description if it's e - 2008/01/16 18:56 hi theo! Here's the code, hope it helps:

Code:

// Generic blog empty display // the following line commented out by JLo 7/20/2007 //    echo _EMPTY_BLOG; // the following added by JLo 7/20/2007, so that we can have description even if the blog is empty       $col_with = 100 / $columns;         // width of each column       $width = 'width="'. intval( $col_with ) .'%"';       echo '<table class="blog' . $params->get( 'pageclass_sfx' ) . '" cellpadding="0" cellspacing="0">';       // Secrion/Category Description & Image       if ( $menu && $menu->componentid && ( $descrip || $descrip_image ) ) {          $link = $mosConfig_live_site .'/images/stories/'. $description->image;          echo '<tr>';          echo '<td valign="top">';          if ( $descrip_image && $description->image ) {             echo '<img src="'. $link .'" align="'. $description->image_position .'" hspace="6" alt="" />';          }          if ( $descrip && $description->description ) {             echo $description->description;          }          echo '<br/><br/>';          echo '</td>';          echo '</tr>';          echo '</table>';       } // end JLo additions

  | | The administrator has disabled public write access.
<< Start < Prev 1 2 Next > End >>

Member Login

We have 3 guests online