Skip to main content
angms.bh's user avatar
angms.bh's user avatar
angms.bh's user avatar
angms.bh
  • Member for 9 years, 11 months
  • Last seen more than 8 years ago
awarded
answered
Loading…
accepted
revised
Rdirected site folder doesn't work
deleted 15 characters in body
Loading…
awarded
asked
Loading…
accepted
revised
How do you change rules settings on the fly?
deleted 79 characters in body
Loading…
answered
Loading…
comment
How do you change rules settings on the fly?
None of these solutions work because the callback functions for rules are only called on module enable. hook_rules_config_execute() does not allow you to modify the config, it just provides it so that you could know those settings for whatever else you are doing. Thank you for taking the time try to answer the question, but it doesn't work.
comment
How do you change rules settings on the fly?
When you are speaking of the rule's callback function, what exactly do you mean? Do you mean these drupalcontrib.org/api/search/7/hook_rules? None of these callback functions would work from what I can tell. hook_rules_config_execute does not give a reference to the config, so no changes can be made to it that would effect the original rule.
awarded
asked
Loading…
comment
How can I convert a set of Products to another Product Type?
Did you ever find a clean solution to the problem that was a tool for doing this?
comment
Make Commerce Kickstart home page show up at a different URL
Ultimately what I did was create a Basic page with the url alias store. I made sure that the product catalog and the shopping cart showed up on that page by adding store* to the pages that those blocks were to show up on. I then changed the front page to be another content page. I was then able to access the store via <mywebsite>/store. This is very similar to what you suggested so I will accept your answer.
Loading…
comment
Charge user after status of order is changed with eCommerce
I finally made a patch which has the authorization only functionality implemented for Stripe. It has NOT been peer reviewed. It is based of of the 7.x-1.x dev version of the Sept 15th commit. drupal.org/node/2600690
1
2 3 4 5