Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
nigeld27 Posted September 17, 2020 Posted September 17, 2020 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...
Dominyka Posted September 17, 2020 Posted September 17, 2020 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. Jaymez 1
Recommended Posts