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 Profiles (Moderator: Dave Greenberg) »
  • Custom Fields: Drupal Views Problem
Pages: [1]

Author Topic: Custom Fields: Drupal Views Problem  (Read 494 times)

garethb

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: Various (various dependant on cl
  • CMS version: Drupal 6 & 7
  • MySQL version: (various dependant on client)
  • PHP version: 5.* (various dependant on client)
Custom Fields: Drupal Views Problem
April 09, 2013, 02:56:33 am
Hi,

I have added custom fields to the system which are filed in in CiviCRM. I then have these same fields displayed in Drupal Views as a directory. The only problem is that each entry appears in views with <p> ... </p> around it. If you change the view to html this then drops the answer below the title. Is there anyway to stop these appearing, or a workaround.

Regards


Gareth Burgess

ChrisChinchilla

  • I post occasionally
  • **
  • Posts: 104
  • Karma: 3
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 6 & 7
Re: Custom Fields: Drupal Views Problem
April 09, 2013, 05:03:15 pm
Might be able to help you, but need a little bit of clarity…

What type of custom data fields were you creating? (text, number etc).

What do you mean by 'as a directory'?
Melbourne CiviCRM meetup group - http://www.meetup.com/MelbourneCiviCRM/

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Custom Fields: Drupal Views Problem
April 11, 2013, 11:53:10 am
garethb, sounds like you would need to custom the template file for those custom fields. Click Advanced in your View edit page and then Information next to Theme (or Theming) and then Google around as to how one customizes Views template files for the rest of the details....
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.

ChrisChinchilla

  • I post occasionally
  • **
  • Posts: 104
  • Karma: 3
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 6 & 7
Re: Custom Fields: Drupal Views Problem
April 11, 2013, 06:50:53 pm
That's a very helpful answer for me to Hershel… Thanks :)
Melbourne CiviCRM meetup group - http://www.meetup.com/MelbourneCiviCRM/

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Custom Fields: Drupal Views Problem

This forum was archived on 2017-11-26.