Removing [nid:n] in nodereference autocomplete

前端 未结 6 1340
难免孤独
难免孤独 2021-01-31 00:21

Using the autocomplete field for a cck nodereference always displays the node id as a cryptic bracketed extension:

Page Title [nid:23]

I unders

6条回答
  •  盖世英雄少女心
    2021-01-31 00:58

    To anyone coming across this (rather old) topic by way of a google search - for Drupal 7 please consider using entityreference module and "Entity Reference" field type if possible.

    You can acheive a lot more in configuration with an "Entity Reference" field. It doesn't have this problem with the nid in square brackets.

提交回复
热议问题