Hi,
SMF 2.0RC5, TP latest version.
For Frontpage I use Promoted topics and i want to remove number of views!
Ex:
Written by Admin posted in Product May 07, 2011, 04:36:15 PM 5 Views
Please help me to remove number of views, it disadvantage me.
10x
Bump :idiot2:
There is no option for that unless you use the custom template option in frontpage settings. If you choose that option you can remove {article_views} from the code and it should remove the views.
I use: Picture + Article 2, so no chance to remove number of views on frontpage by "code edit" ?
Not an easy thing to change. The layouts and output are all created dynamically. You could do the following edit, but that will remove the views option from all articles and posts on the front page.
Themes/default/TPsubs.template.php file and change this:
function article_views($render = true)
{
global $scripturl, $txt, $settings, $context;
if(in_array('views',$context['TPortal']['article']['visual_options']))
To this:
function article_views($render = true)
{
global $scripturl, $txt, $settings, $context;
return;
if(in_array('views',$context['TPortal']['article']['visual_options']))
10x man...this is what I want, sorry I've forgot to specify for all!
solved!