Drupal Association members fund grants that make connections all over the world.
Attached patch provides action for accessing variable_get under System group.
It works, and it's very useful, thanks!
That's reasonable functionality, but it's not something that works well for the main module. Non-developers don't know about available variables or which types they are, so it won't work or make a lot of sense for them. I'd suggest putting it into in extra module or integrating it with the variables modules to provide better UX.
So this won't go into Rules itself, but let's keep the issue here to have a point for further collaboration on that.
Rules Bonus Pack maybe?
Very useful patch, thanks, i've been looking for something like this for a while
Personally i think it should be rolled into the core module (how often do non-devs use Rules anyway..?)
Great, thats exactly what i was looking for :)
I agree with the latter comment: why not include it?
I for example use it to get the email texts that are config setting of my module, and those the end user knows as he has to set them himself (giving the variable name in the description)
I use it to specifically to PREVENT the user to have to enter the complicated rule settings to change the email text that is being sent in certain circumstances.
IMHO it is very useful and helps making the maintnance for the "end-admin" easier.
Very nice patch! And I too agree that it should be included. I think manipulating system variables is an intermediary level site builder concept and so it advanced Rules, so the two go together well.
Followed this issue and +1. I think it would make Rules even more powerful if it can read and set system variables. But starting with get would be OK, too.
I too agree this would be a nice addition to the core functionality
I am still waiting on a reply from Jamesap, as he is the original author. But I've taken his patch and put it in a sandbox here: https://www.drupal.org/sandbox/neograph734/2483567
This prevents us from having to patch Rules every time there is an update.
@ Neograph734 - The Sandbox link is not working. Do you have a location for this module? I'd want to avoind having to patch the Rules module.
@rtdean93 I took it down because I've found another (full) module offering the same functionality, but I just did a quick search and can't find in anymore.
Sandbox has been re-uploaded here: https://www.drupal.org/sandbox/neograph734/2766973
Drupal is a registered trademark of Dries Buytaert.