![]() Typically the things you cannot, or have not yet, expressed as a Views filter. Optionally, you may also want to add whatever extra Rules Condition(s), also up to your own imagination.So at that point it's a piece of cake to adapt the value of that list widget for the node you're processing in that loop. At that point you'll have all data from each column of your Views results available as so called Rules Parameters. For each iteration step in your Rules loop, perform a Rules Action to " do your thing" (= to set a list widget from active to ended).Remove that "add condition" (in the custom rule you started) and, instead, use the Views Rules module to iterate over each of these Views results in a Rules action, using the Rules technique known as a "Rules Loop". ![]() Important: use a Views display type of "Rules". You'll need these View fields later on as values to be processed by your rule, "to set a list widget from active to ended*" (as in your question). Whereas that view has fields (columns) for whatever is needed in subsequent steps, e.g the node ID, the date field, and possibly other fields as well. Create a view (using Views) so that you have 1 Views result (row) with all the nodes you want to be processed (related to your custom content type and if possible filter somehow using your date field).Therefor some more details about how to move forward using these modules: The previous quote may seem a bit cryptic (it may make you think like "so what, how can this help me?"). Provides Views directly as Rules actions and loops to seamlessly use view result data. Some details about this module (from its project page): Yes you should be able to get this to work using the Rules module to implement what you're looking for, but I recommend you to also combine that with the Views Rules module. Sorry for my english, I hope you understand everything :) I state: I do not know if it works but at least it should direct you towards the right path Add an action in the loop (click on the link to the right of loop row) and select the component created in the point 2 and pass the variable provided by loop.Now add a loop in parameter list use the variable provided by 'Fetch entity by property'.Data selector: the variable created at the point 8.Now add another action 'Fetch entity by property'. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |