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) »
  • Views CiviCRM->Contacts image_URL returns nothing (also a bug in handler)
Pages: 1 [2]

Author Topic: Views CiviCRM->Contacts image_URL returns nothing (also a bug in handler)  (Read 3746 times)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Views CiviCRM->Contacts image_URL returns nothing (also a bug in handler)
January 05, 2012, 12:49:11 pm
Simplest thing is to create a custom template and use

Code: [Select]
echo '<pre>';
print_r($row);
echo '</pre>';

To see what is in $row.

That is, only if using the regular View field for an image fails.
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.

Alex Sondy

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.2
  • MySQL version: 5.0.7
  • PHP version: 5.3.5
Re: Views CiviCRM->Contacts image_URL returns nothing (also a bug in handler)
January 05, 2012, 01:28:15 pm
Hershel, I'm sorry - I thought my post count kinda showed that I'm not experienced yet with CiviCrm and Drupal. :-\

Your provided answer doesn't help me - all I can say is, that I'm not able to retrieve the image with a regular views field.

Thx

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Views CiviCRM->Contacts image_URL returns nothing (also a bug in handler)
January 05, 2012, 01:35:02 pm
All of the provided solutions actually involve a bit of PHP coding, so if that's not something you can do, I don't have an easy solution offhand. Perhaps someone does...
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 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Views CiviCRM->Contacts image_URL returns nothing (also a bug in handler)

This forum was archived on 2017-11-26.