Jump to content

Which is the name of this plugin or how do I disable it ?


Recommended Posts

you can change it with modification of tpl file

your-admin-directory/themes/default/template/helpers/kpi/row.tpl

 

there is a code:
 

<div class="panel kpi-container">
	<div class="kpi-refresh"><button class="close refresh" type="button" onclick="refresh_kpis();"><i class="process-icon-refresh" style="font-size:1em"></i></button></div>
	<div class="row">
		{assign var='col' value=(int)(12 / $kpis|count)}
		{foreach from=$kpis item=i name=kpi}
			{if $smarty.foreach.kpi.iteration > $col+1}
				</div>
				<div class="row">
			{/if}
			<div class="col-sm-6 col-lg-{$col}">{$i}</div>
		{/foreach}
	</div>
</div>

change it to:
 

{if Tools::getValue('controller') != 'AdminProducts'}
<div class="panel kpi-container">
	<div class="kpi-refresh"><button class="close refresh" type="button" onclick="refresh_kpis();"><i class="process-icon-refresh" style="font-size:1em"></i></button></div>
	<div class="row">
		{assign var='col' value=(int)(12 / $kpis|count)}
		{foreach from=$kpis item=i name=kpi}
			{if $smarty.foreach.kpi.iteration > $col+1}
				</div>
				<div class="row">
			{/if}
			<div class="col-sm-6 col-lg-{$col}">{$i}</div>
		{/foreach}
	</div>
</div>
[/if}
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...