Jump to content

Removing View Counts and Publish Date?


nigeld27

Recommended Posts

You need to locate the template your database is using and remove the code that adds the date:

{datetime="$row->_publishDate"}

 

and then there is also the part that adds the stats:

{{foreach $row->stats(TRUE) as $k => $v}}
     <li {{if \in_array( $k, $row->hotStats )}}class="ipsDataItem_stats_hot" data-text='{lang="hot_item"}' data-ipsTooltip title='{lang="hot_item_desc"}'{{endif}}>
       <span class='ipsDataItem_stats_number'>{number="$v"}</span>
       <span class='ipsDataItem_stats_type'>{lang="content_records_stat_{$k}" pluralize="$v"}</span>
    </li>
{{endforeach}}

 

I suggest creating a custom database template and editing that.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...