hi

Please i been finding since months the real meaning of things like "node-field-title:0" , "node-field-title:1"

that sometimes displayed and make confusion instead of just displaying "node-field-title"

Can anyone explain it to me please?

CommentFileSizeAuthor
#2 2842303-multivalue.png31.82 KBMegaChriz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

delacosta456 created an issue. See original summary.

MegaChriz’s picture

Priority: Major » Normal
Status: Active » Fixed
FileSize
31.82 KB

If you see something like "node-field-title:0" or "node-field-title:1", it means that "node-field-title" can have multiple values. "node-field-title:0" then represents the first value and "node-field-title:1" represents the second value. Most fields (if not all) can be configured to contain multiple values (see image). For Rules it doesn't matter though if the field is configured to contain only a single value or multiple, so you would probably see this pattern for every field. For single value fields you will have to use a pattern like "node-field-title:0".


Fields can be configured to contain multiple values.

MegaChriz’s picture

Title: What does it mean ? » What does "node-field-title:0" mean?
Issue summary: View changes
delacosta456’s picture

hi @MegaChriz
Thanks for Clarifing this
But when you say for sigle value i may usenode-field-title:0 does it mean's that if i have to print first item of a just saved multivalued field list i should use it ?

If i have to print all why can't we have something like node-field-title (no 0, 1,2...) ?, Is it the reason of existence of Loop option to fetch a list ?

Also this something give confusion in books (module) option regarding Ancestors ..

in some, i know rules is incredibly wonderful and powerful but before getting correctly all the possibility you have to do a lot of test.. and no out Advanced Tutorials for rules.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.