el_makong Posted November 15, 2015 Share Posted November 15, 2015 how do i set default access control to full admin if module activated? is it inside mymodule_activate($vars) ? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted November 16, 2015 Share Posted November 16, 2015 how do i set default access control to full admin if module activated?is it inside mymodule_activate($vars) ? you can try within the module_activate function 0 Quote Link to comment Share on other sites More sharing options...
el_makong Posted November 17, 2015 Author Share Posted November 17, 2015 you can try within the module_activate function well, i know its in the mymodule_activate function. but what code to set the default access control to full admin? 0 Quote Link to comment Share on other sites More sharing options...
el_makong Posted November 20, 2015 Author Share Posted November 20, 2015 i got the solution. i could use database query to update the tbladdonmodules. but its not recommended if you got module fields, as when the module get activated, the fields is not on database(only the module version).but when saved with default values, the database is updated. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.