Posted by mitchell on March 20, 2009 at 11:12pm
Jump to:
| Project: | Automatic Nodetitles |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | rules integration, token |
Issue Summary
This would allow for conditions to be set on whether to use one set of tokens or another. Like if X already exists, use Y, otherwise use Z.
This feature may depend on #397218: Decouple Admin UI and support "foreign" UIs.
Comments
#1
There is already a set content title action in rules, so when using rules I don't think you need auto-nodetitle to do that.
#2
Trying to re-open this issue – I got some folks over at Rules Bonus Pack who made a patch for Rules extensions for Automatic Nodetitles.
The patch literally just provides info hook wrappers for the functions that already exists in Automatic Nodetitles, so I thought it might make sense to have them here instead of in Rules Bonus Pack. (Patch is now committed in RB, but if it gets implemented elsewhere I will remove it.)
Issue: #1301944: Actions for Automatic Nodetitles
Patch: http://drupal.org/files/rb_misc__auto_nodetitle-1301944-2.patch
Let me know if this is of interest, and I'll port the patch to Automatic Nodetitles.
(It is true that node titles can be set with Rules as it is, but to me it makes sense to be able to apply the automatic node title with Rules when necessary. Maybe it doesn't make sense to check if it IS necessary, since that could be done with just checking title value.)
#3
Implementing the special action for "Automatic Node Titles" would definitively be useful, as so no configuration has to be duplicated.