Removing [nid:n] in nodereference autocomplete

前端 未结 6 1347
难免孤独
难免孤独 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:55

    I've found an alternative solution is to change your widget type to select list and then use the chosen module to convert your list to an autocomplete field.

    This handles nodes with the same title, and actually I think the UI is better than the one provided by the autocomplete widget.

提交回复
热议问题