For a partular view say "abc" I have created a view.

Now I want a particular field in that view as comma separated values.

How can I achieve this. Can I do this with custom coding only for that particular field.

I am learning drupal custom coding. so If this is possible through custom coding Please give me sample code.

Thanks in advance


You could create a template for the field you want to modify.

Click on link Advanced -> Themes -> Information, while editing the view, and select the right template and file name. Then, in the template you can modify the output of the field.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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