Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Не меняется левая панель в админ-панели


Recommended Posts

Пыиюсь добавить новую строку в левую панель в админке. 

 

Добавил в файл admin/controller/common/column_left.php код 

if ($this->user->hasPermission('access', 'customer/cards')) {
    $customer[] = array(
        'name'    => $this->language->get('text_customer_card'),
        'href'     => $this->url->link('customer/cards', 'user_token=' . $this->session->data['user_token'], true),
        'children' => array()
    );
}

Но ничего не происходит. Помогите, пожалуйси.

Link to comment
Share on other sites


11.03.2022 в 15:05, Tom сказал:

Права выданы для customer/cards ?

Да, зашел в Система->Пользователи->Группа пользователей->Administrator и им отметил, вы про это?

Link to comment
Share on other sites


11.03.2022 в 18:10, kirillR123 сказал:

вы про это?

Да. Ну тогда ещё как прилина, отсутствие в языковом файле "text_customer_card"

Link to comment
Share on other sites

11.03.2022 в 15:15, Tom сказал:

Да. Ну тогда ещё как прилина, отсутствие в языковом файле "text_customer_card"

"text_customer_card" добавил. Отклюлил кэш, чтоб не было случайностей. Не знаю, что еещё может быть. 

Link to comment
Share on other sites


11.03.2022 в 16:09, spectre сказал:

еещё кеш модификаторов

Спасипотому что! Его я забыл полистить. Помогло.

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.