Closed (fixed)
Project:
Domain Rules
Version:
7.x-1.2
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
23 Feb 2012 at 14:53 UTC
Updated:
17 Jul 2012 at 08:46 UTC
I've just installed Domain access and Domain rules.
I've set up a new rule with "After creating new domain" event, and 3 actions :
create a new node
show a message
and page redirect to [domain:url]
But when I create a new domain, none of it happends. Only a normal new domain creation.
Did I miss something ?
Thanks ;)
Comments
Comment #1
seren10pity commentedOk,
I'm noob in patches etc, and in developpment too ^^
BUT :
I solved the broblem :D
In Domain Access 7.x-3.3,
hook_domainupdate($op, $domain = '', $form_values = array()){}doesn't exist,But there is :
So, in domain_rules.module, line 239, I replaced
by
And now, my rule is fireing !
Sorry, I tweaked it in dirty mode, and I didn't checked the other functions yet. But... I'm not developer, and I'm already proud having succeded to understand this minimum, and make it work by myself :p
I'd be very greatful if you can submit a new dev version of the module, with this properly done ;)
Thanks !
Comment #2
shushu commentedseren10pity, 10x !
Great work !
Sorry for the delay of handling this. Guess the move from D6 to D7 wasn't as good as I thought.
Comment #3
shushu commented