desactivate button consult

wissem

Member
Hi
I do for my clients; renting an account on mailwizz, renting a mailing sending server and renting of bases emails, for that I want deactivate the button consult under section lists because my emails bases are not secured
list.png
 

twisted1919

Administrator
Staff member
You can do this wither by using a theme, or by changing the view file directly.
The fastest way is to open the file apps/customer/views/lists/overview.php and simply hide the button from there.
 

twisted1919

Administrator
Staff member
There's no script, just find :
Code:
<div class="pull-right">
                            <a href="<?php echo Yii::app()->createUrl("list_subscribers/index", array("list_uid" => $list->list_uid));?>" class="btn bg-red btn-flat btn-xs"><span class="glyphicon glyphicon-eye-open"></span> <?php echo Yii::t('app', 'View');?></a>&nbsp;
                        </div>
and either remove it or comment it out like:
Code:
<!--
<div class="pull-right">
                            <a href="<?php echo Yii::app()->createUrl("list_subscribers/index", array("list_uid" => $list->list_uid));?>" class="btn bg-red btn-flat btn-xs"><span class="glyphicon glyphicon-eye-open"></span> <?php echo Yii::t('app', 'View');?></a>&nbsp;
                        </div>
 
-->
 
Top