Drupal – Altering the admin/content form
The bad news is that having inspected the code, the form alter layer is the only place to really do …
The bad news is that having inspected the code, the form alter layer is the only place to really do …
Add the following lines underneath the pam_rootok.so line in your /etc/pam.d/su: auth [success=ignore default=1] pam_succeed_if.so user = martin-test auth sufficient …
If what you want is to allow dev to run arbitrary commands as tomcat, then don’t bother with su, stick …
The first thing to do to implements such task is to be able to recognise which page an user can …
You can add this to your functions.php file in your template to allow the user to edit pages that they …
/** * Redirect admin pages. * * Redirect specific admin page to another specific admin page. * * @return void …
Is there any reason you are specifying the uid rather than letting the system choose one for you? You can …
There’s a reason why add_role() has the $capabilities as 3rd parameter. First some insights on what happens, when you use …
If you were looking to make the fields required in the WordPress admin form for adding new user as i …
user_new_form is the hook that can do the magic here. function custom_user_profile_fields($user){ ?> <h3>Extra profile information</h3> <table class=”form-table”> <tr> <th><label …