{{$RecordsClass = $category::$contentItemClass;}} {{if $category->can('view')}} {{$lastPost = $category->lastPost();}}
  • {{if \IPS\Member::loggedIn()->member_id}}{{endif}} {{if \IPS\Member::loggedIn()->member_id}}{{endif}}

    {$category->_title}

    {{if $category->hasChildren()}} {{endif}} {{if $category->_description}}
    {$category->_description|raw}
    {{endif}}
    {{if $lastPost}}
    {{$count = $RecordsClass::contentCount( $category, FALSE );}}
    {number="$count"}
    {expression="\IPS\cms\Databases::load( $category->database_id )->recordWord( $count )"}
    {{endif}}
  • {{endif}}