Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Event: After saving new content
Condition: Node has type [choose node type x]
Action: Add new content
Put a dummy title in
Content to be used: Album
Action: Execute PHP code:
Comments
Comment #1
jeremy_a commentedYou can do this with the Rules module.
Comment #2
Screen-ager commentedPlease explain as it to make
Comment #3
jeremy_a commentedEnable PHP filter in modules. In Rules, choose:
Event: After saving new content
Condition: Node has type [choose node type x]
Action: Add new content
Put a dummy title in
Content to be used: Album
Action: Execute PHP code:
Now every time you add new content of node type x, there will be an album photos node with the same title.
Comment #4
Screen-ager commentedVery BIG thanks!!! :)
Comment #5
nathaniel commented