0

As you now, when we use node reference field in a data type, during inserting a content, a list is very simple and it shows only node title.

I want to know is there any way to customize the list. for example I want to add css classes to list or add additional field such as thumbnail image and other field in this widget.

Please guide me. How can I do that ?

1 Answer 1

0

You can create own field formatter in code. Or use field preprocess function.

But I would suggest you to render this references as view. Than you can do with field anything you want

1
  • can you give me a good example or guidance for your suggested solution?
    – Mehrdad201
    Jan 19, 2014 at 6:56

Your Answer

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

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