I`m using automatic nodetitles module to hide and autogenerate the title of one of my content types. My question is:

Is it possible to use conditional rules to define which pattern to be used when certain conditions is met? I need the pattern to be X if a certain field in the node is present, another if not.

enter image description here


1 Answer 1


That module also provides the ability to use PHP to construct the pattern. Look for the check box at the bottom.

enter image description here

Please refer to the module's help file for more info on combining PHP and tokens for the pattern.

  • Thanks! Do you know if its possible to bring in content from tokens in that field? Commented Jan 19, 2016 at 19:58
  • I've not done it, but, the samples in the Help file imply that it is possible.
    – rrirower
    Commented Jan 19, 2016 at 20:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.