× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Acl utents for table

9 года 4 мес. назад - 9 года 4 мес. назад #784 от ANTONIO
ANTONIO создал тему: Acl utents for table
hello, I want to know how to allocate the table, for each individual user. I tried in every way but nothing, I try to sign with another user and I view the table of others.
Последнее редактирование: 9 года 4 мес. назад пользователем ANTONIO.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

9 года 4 мес. назад #785 от ANTONIO
ANTONIO ответил в теме Acl utents for table

hello, I want to know how to allocate the table, for each individual user. I tried in every way but nothing, I try to sign with another user and I view the table of others.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

9 года 4 мес. назад #820 от Eduardo Mena
Eduardo Mena ответил в теме Acl utents for table
There are several ways to accomplish that. If you provide more information about what you're trying to do, I can try and help you.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

9 года 4 мес. назад #824 от ANTONIO
ANTONIO ответил в теме Acl utents for table
I want to assign a table to a different user by the same component

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

9 года 4 мес. назад #826 от Eduardo Mena
Eduardo Mena ответил в теме Acl utents for table
By default you won't be able to accomplish that. You will have to modify the model for the list and item viiews.
Look for the getListQuery() in the model and edit the where clause. You'll have to add something like this:
$query->where('a.state = 1 AND '.$db->quoteName('created_by').' = '.JFactory::getUser()->get('id'));
Спасибо сказали: Andres Maeso

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

9 года 4 мес. назад #827 от ANTONIO
ANTONIO ответил в теме Acl utents for table
where I find the getListQuery?
I first have to install the component?
which file should be changed?
tks.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.111 секунд
Работает на Kunena форум

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.