I really like the idea of rules support for Sites. I have downloaded from git however I cannot see any conditions in rules. Am I missing something? Also, are you planning on adding the ability to create sites through rules? This would be great, as we could then create sites as a reaction to OG creation.

Comments

berdyshev’s picture

Hi, prjcarr, thanks for your feedback.
There is rules condition implemented in sites.rules.inc. I don't know why you don't see it. Maybe you cloned not the last version of the module.

Regarding feature request on sites creation using Rules: I can implement this as soon as I get the time. But the patches are welcome :-)

prjcarr’s picture

Hi BerdArt, no problem its a great module.
I can now see the rules condition, I think it was a cache issue.

I would love to help out getting better rules integration but my coding skills are not up to the task yet. I would be happy to help out with testing whenever you or someone gets the time to implement.

prjcarr’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.69 KB

I gave it a go. Patch attached for adding rules action to create sites

berdyshev’s picture

Project: Sites 2 » Sites
Version: » 7.x-2.x-dev

moving to main project from sandbox

atrocity’s picture

Fix previos patch for lightest usage. Disable requirement of most fields, add chose option for theme field.

berdyshev’s picture

Status: Needs review » Needs work

The module has new field machine_name, so this patch should be updated

atrocity’s picture

StatusFileSize
new3.19 KB

Update previos patch. Add machine_name field.

atrocity’s picture

StatusFileSize
new2.97 KB

Fix formatter.

berdyshev’s picture

Status: Needs work » Fixed

Committed per b5562fc commit.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.