ecommdev Posted June 19, 2014 Share Posted June 19, 2014 (edited) Hello, This is NOT about changing the wording text within the employee profile but removing several functions. In the 1.6.0.7 backoffice in the administration / employees, profile screen. I can't find instructions for either editing disabling that functions. 1: Remove avatar function 2: Remove Prestashop Addon sign in function 3: Remove Prestashop connect (yes / no) function Can someone please provide instructions where to find the file for editing & instructions for editing? I imagine many people would find this post helpful and if its already been posted before, please provide link to the post. Thank you for your time. Edited June 20, 2014 by ecommdev (see edit history) Link to comment Share on other sites More sharing options...
ecommdev Posted June 20, 2014 Author Share Posted June 20, 2014 reply needed. Link to comment Share on other sites More sharing options...
rtvt Posted July 16, 2014 Share Posted July 16, 2014 Yo need to open cotrollers/admin/AdminEmployeesController.php 1 to remove avatar find this rows array( 'type' => 'html', 'name' => 'employee_avatar', 'html_content' => '<div id="employee-thumbnail"><a href="http://www.prestashop.com/forums/index.php?app=core&module=usercp" target="_blank" style="background-image:url('.$obj->getImage().')"></a></div> <div class="alert alert-info">'.sprintf($this->l('Your avatar in PrestaShop 1.6.x is your profile picture on %1$s. To change your avatar, log in to PrestaShop.com with your email %2$s and follow the on-screen instructions.'), '<a href="http://www.prestashop.com/forums/index.php?app=core&module=usercp" class="alert-link" target="_blank">PrestaShop.com</a>', $obj->email).'</div>', ), and comment it (or delete) // array(// 'type' => 'html',// 'name' => 'employee_avatar',// 'html_content' => '<div id="employee-thumbnail"><a href="http://www.prestashop.com/forums/index.php?app=core&module=usercp" target="_blank" style="background-image:url('.$obj->getImage().')"></a></div>// <div class="alert alert-info">'.sprintf($this->l('Your avatar in PrestaShop 1.6.x is your profile picture on %1$s. To change your avatar, log in to PrestaShop.com with your email %2$s and follow the on-screen instructions.'), '<a href="http://www.prestashop.com/forums/index.php?app=core&module=usercp" class="alert-link" target="_blank">PrestaShop.com</a>', $obj->email).'</div>',// ), 2, 3 To remove Prestashop addons - fild this rows: $this->fields_form['input'][] = array( 'type' => 'prestashop_addons', 'label' => 'PrestaShop Addons', 'name' => 'prestashop_addons', ); and comment it (or delete) // $this->fields_form['input'][] = array(// 'type' => 'prestashop_addons',// 'label' => 'PrestaShop Addons',// 'name' => 'prestashop_addons',// ); Then find array( 'type' => 'switch', 'label' => $this->l('Connect to PrestaShop'), 'name' => 'optin', 'required' => false, 'is_bool' => true, 'values' => array( array( 'id' => 'optin_on', 'value' => 1, 'label' => $this->l('Yes') ), array( 'id' => 'optin_off', 'value' => 0, 'label' => $this->l('No') ) ), 'hint' => $this->l('PrestaShop can provide you with guidance on a regular basis by sending you tips on how to optimize the management of your store which will help you grow your business. If you do not wish to receive these tips, please uncheck this box.') ), and comment it (or delete) // array(// 'type' => 'switch',// 'label' => $this->l('Connect to PrestaShop'),// 'name' => 'optin',// 'required' => false,// 'is_bool' => true,// 'values' => array(// array(// 'id' => 'optin_on',// 'value' => 1,// 'label' => $this->l('Yes')// ),// array(// 'id' => 'optin_off',// 'value' => 0,// 'label' => $this->l('No')// )// ), // 'hint' => $this->l('PrestaShop can provide you with guidance on a regular basis by sending you tips on how to optimize the management of your store which will help you grow your business. If you do not wish to receive these tips, please uncheck this box.')// ), that's all 3 Link to comment Share on other sites More sharing options...
henrylk Posted October 29, 2014 Share Posted October 29, 2014 HI, I have followed the steps but these functions still there... I have delete them.. What happen? Link to comment Share on other sites More sharing options...
subwayside Posted November 2, 2014 Share Posted November 2, 2014 Thanks! Its working very helpful tip Link to comment Share on other sites More sharing options...
henrylk Posted November 2, 2014 Share Posted November 2, 2014 Reply needed.. why I followed all your steps, these functions still in my back office, or under preference? ? Link to comment Share on other sites More sharing options...
henrylk Posted November 3, 2014 Share Posted November 3, 2014 Can you tell me where to find these files in server? www.MYDOMAIN.COM/index.php?controller=authentication&back=my-account#account-creation and www.MYDOMAIN.COM/dealer/index.php?controller=AdminEmployees&token=ddfa946a927812287b70edfd018a4018&id_employee=1&updateemployee Link to comment Share on other sites More sharing options...
vekia Posted November 3, 2014 Share Posted November 3, 2014 first is customer log in form? second is an admin log in form? Link to comment Share on other sites More sharing options...
henrylk Posted November 3, 2014 Share Posted November 3, 2014 Yes,, both logins.. Thanks Link to comment Share on other sites More sharing options...
henrylk Posted November 12, 2014 Share Posted November 12, 2014 help needed please.... Under cotrollers/admin/AdminEmployeesController.php I found the files you showed to removed, after removed. i went back to the page, these functions are still there.. Must be wrong page.. I bought and installed a different theme, will it made any difference on where the files are? Please show me how to find this page? Thanks Link to comment Share on other sites More sharing options...
tomer628 Posted December 9, 2014 Share Posted December 9, 2014 WHY it not eork for me ? i try to comment them and still same problem.. so i deleted them and also they Prestashop Addons Avatar stil exist ... what i need to do? wait for help..... Link to comment Share on other sites More sharing options...
Recommended Posts