Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm trying to create an edit view that will show a thumbnail of an image with the editable title next to it. I've got a list that works fine in table view, however changing it to an editview I lose the images.
Any ideas?
Comments
Comment #1
dman CreditAttribution: dman commentedI've replaced
editview_field_form_render() [296]
with:
... this supports images, and also has a patch for taxonomies. Only freetagging was showing up before IIRC - this now allows both.
Compare with yours and merge carefully.
It's the
you need
Comment #2
Jorge-2 CreditAttribution: Jorge-2 commentedHello dman,
I'm wondering if you have changed editview module (or have any idea about how to do) with the same characteristic to the new version of Drupal (6), Editview (6.x-1.0-beta1) and Taxonomy images. I was looking in the files, but the code has changed and my php skills are very poor.
I'm looking for change Taxonomy terms and show Images, Taxonomy terms and images and, if posible, Labels (Nid for example) and Links with Editview.
Many thansks in advance for any help.
Jorge
Comment #3
paul2 CreditAttribution: paul2 commentedHere is an update that works for 6.x-1.0-beta1 (I just figured it out, not that I have a clue how Views works from a PHP point of view, but I figured this much out!).
Edit theme/editview.theme.inc. In function editview_field_form_render(), replace this line:
with this chunk of code:
Seems to do the trick.