×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Acl utents for table
ANTONIO
New Member
Posts: 8
9 Anni 6 Mesi fa - 9 Anni 6 Mesi fa #784
da ANTONIO
Acl utents for table è stato creato da ANTONIO
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.
Ultima Modifica 9 Anni 6 Mesi fa da ANTONIO.
Si prega Accedi o Crea un account a partecipare alla conversazione.
ANTONIO
New Member
Posts: 8
9 Anni 6 Mesi fa #785
da ANTONIO
Risposta da ANTONIO al topic 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.
Si prega Accedi o Crea un account a partecipare alla conversazione.
Eduardo Mena
Junior Member
Posts: 31
9 Anni 5 Mesi fa #820
da Eduardo Mena
Risposta da Eduardo Mena al topic 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.
Si prega Accedi o Crea un account a partecipare alla conversazione.
ANTONIO
New Member
Posts: 8
9 Anni 5 Mesi fa #824
da ANTONIO
Risposta da ANTONIO al topic Acl utents for table
I want to assign a table to a different user by the same component
Si prega Accedi o Crea un account a partecipare alla conversazione.
Eduardo Mena
Junior Member
Posts: 31
9 Anni 5 Mesi fa #826
da Eduardo Mena
Risposta da Eduardo Mena al topic 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:
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'));
Ringraziano per il messaggio: Andres Maeso
Si prega Accedi o Crea un account a partecipare alla conversazione.
ANTONIO
New Member
Posts: 8
9 Anni 5 Mesi fa #827
da ANTONIO
Risposta da ANTONIO al topic Acl utents for table
where I find the getListQuery?
I first have to install the component?
which file should be changed?
tks.
I first have to install the component?
which file should be changed?
tks.
Si prega Accedi o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.059 secondi