Jump to content

Recommended Posts

Posted

Does anyone know if it is possible to remove the view counts and the publish dates from Article Listing pages? i.e. the highlighted bits below?

 

If you know how (or if you can provide a solution) please let me know...

 

image.thumb.png.55ca601ace84f8e68fa5edf98205d274.png

Posted

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.

  • Recently Browsing   0 members

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