We have a large Drupal 7 installation for a city government. When I go in and add a new user or change permissions for a user for a city department, I have to take an additional step and go to the "Group" setting on the department site and change Pending to Active in order to give the person permissions. Anyone know how to remove this extra step. I'm the site admin, but these users I'm setting up are just regular editors. thx.
Anyone knows how to translate custom text(messages or responses) written in .inc or .module files as per user selected language i.e English or bangla or Hindi etc. And the translated text is already given just have to use them in t(""); as per language. i.e as per language t() will get as text.
I am having an issue with jQuery where functions can only fire an event once. I assume it has something to do with Drupal Behaviors, though I have been through the documentation numerous times. Every time you click the button, it should write "clicked" to the console. Really straight forward. ...it only works once.
1. Downloaded and installed https://www.drupal.org/project/redis module
2. Downloaded the PHPredis library (version 0.8.7) and uploaded to sites/all/libraries/predis/.
3. added the UNIX socket to my settings file /tmp/redis.sock
(Further authentication, hostnames and port numbers are not necessary according to my hosting)
4. change the configuration of the redis module and added 'phpRedis php extension' as a client
I would like to create a form with 2 fields width_inch and with_cm where after the user insert the value automatically will be computed the other field.
I created template.php inside the theme directory (/ sites / all / themes / my_theme / template.php ):