i have just discover rules and i am impress.
i want to use it but i am not sure if i am making the right schema to organize what i will do.
i have read documentation (very good videos on nodeone) and search similar cases.
my english is not very good, so searching is a bit more difficult and i can missundertand things...
i would like, if you can give a moment please, that you tell to me if what i am trying is in the right way.
i know a little of php and have used drupal few times.
i have a magazine with sections and articles.
i want that when the magazine is published, the articles to be published too.
in php, i would do a query for the articles of that magazine and change the state on the workflow but i have never done a drupal module, that for what i read, it would be the better option.
so i am thinking on do a rule for when the magazine gets published, then make a view that shows magazines that are from that article that are finished, and call them again in rules throught views bulk operations to change their state.
am i undetanding well?
or i just use php in the first rule to select the articles to be updated in workflow?
thanks for any tips.
Comments
another possiblity?
make a computed field that adds to the magazine the nids from the magazine's articles so i can get them in rules without making the query?
or assing a node reference automatically?
ah! and i cant use scheduled rule by date on the articles since they dont publish the magazine the same day, as it would be the fist monday of the month.
just in case other person has this doubt
it worked perfect with workflow, rules and views bulk operations :)
thanks for sharing this tools with us!