Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49206

Add three Taxonomy terms to node title and text processing

$
0
0

Hi

Hope this is a good place to post.

I've set up a rule which automatically puts three taxonomy terms that are set in the node using three term ref fields - into the node title.

However - I have the following two problems :

1) I need to process the text so that text is added before / after Some of the the tax terms - ie:

[parent of tax term from vocabulary 1], [tax term from vocabulary 1] in [tax term from vocabulary 2] with a [tax term from vocabulary 3]

2) Some of the vocabs are not assigned - so I need a conditional If / then so that rules only adds the term if it has content along with relevant preceding text (at the moment, the tag [term....] is printed if it's empty. )

The three vocabularies are assigned to each node using a term reference field.

As you'll see from above, one of the vocabs is hierachical (but only two levels)

I'm on drupal 7 and the latest release of rules / entity.

Any help much appreciated.

Thanks

Andrew


Viewing all articles
Browse latest Browse all 49206

Trending Articles