×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Acl utents for table
ANTONIO
New Member
Posts: 8
pred 9 rokmi 6 mesiacmi - pred 9 rokmi 6 mesiacmi #784
od ANTONIO
Acl utents for table bolo vytvorené 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.
Posledný krát upravené:pred 9 rokmi 6 mesiacmi ANTONIO
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
ANTONIO
New Member
Posts: 8
pred 9 rokmi 6 mesiacmi #785
od ANTONIO
Odpoveď od ANTONIO na tému 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.
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Eduardo Mena
Junior Member
Posts: 31
pred 9 rokmi 6 mesiacmi #820
od Eduardo Mena
Odpoveď od Eduardo Mena na tému 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.
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
ANTONIO
New Member
Posts: 8
pred 9 rokmi 6 mesiacmi #824
od ANTONIO
Odpoveď od ANTONIO na tému Acl utents for table
I want to assign a table to a different user by the same component
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Eduardo Mena
Junior Member
Posts: 31
pred 9 rokmi 6 mesiacmi #826
od Eduardo Mena
Odpoveď od Eduardo Mena na tému 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'));
Nasledujúci užívateľ(ia) povedali ďakujem: Andres Maeso
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
ANTONIO
New Member
Posts: 8
pred 9 rokmi 6 mesiacmi #827
od ANTONIO
Odpoveď od ANTONIO na tému 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.
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Čas vytvorenia stránky: 0.052 sekúnd