CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • How to display checkbox field in views3 (Drupal 7)
Pages: [1]

Author Topic: How to display checkbox field in views3 (Drupal 7)  (Read 1801 times)

junix123

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: 5.1.63-cll
  • PHP version: 5.3.9
How to display checkbox field in views3 (Drupal 7)
June 27, 2012, 07:14:27 pm
I created a custom field "Service Type" - checkbox.

In views, I can call the field but the output displays like - Service1Service2Service3, waht i want to display is Service1, Service2, Service3

Is there a way to fix checkbox fields to display in views as separate items? 

Thanks

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How to display checkbox field in views3 (Drupal 7)
June 28, 2012, 07:44:01 am

This is a bug in views. Would help a lot if someone can take a look at the handler and figure out how to fix it

Also please avoid posting in two places. Does not help you or the folks replying to your posts

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: How to display checkbox field in views3 (Drupal 7)
June 28, 2012, 11:29:50 am
You could either fix the handler, as lobo suggested, or you could customize the View template for that field.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • How to display checkbox field in views3 (Drupal 7)

This forum was archived on 2017-11-26.