Comments

tobiasb’s picture

Status: Active » Needs review
StatusFileSize
new4.6 KB

I reused code from https://drupal.org/project/field_extrawidgets to display the default output of the field in the edit-mode.

tobiasb’s picture

StatusFileSize
new2.58 KB
jphautin’s picture

Hi tobiasb,

First, thank you for the patch and your patience.

But I can not apply the patch as is as most of users are pleased with the current behavior which should have be called 'exif hidden widget'...
But you are right, we must have an hidden metadata widget *and* a readonly metadata widget.
I am already working on it on 8.x branch where it is easier to implement due to clear separation
of concerns.
To make it maintainable, on branch 7.x, I have to extract widget logic in separate classes and use a common interface to manage them.

regards,

jphautin’s picture

Status: Needs review » Active
jphautin’s picture

Category: Bug report » Feature request
socialnicheguru’s picture

Status: Active » Needs review
jphautin’s picture

Assigned: Unassigned » jphautin
Status: Needs review » Active

Implemented in 8.x-1.x version.
back port to 7.x-1.x in progress.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new23.72 KB
new1.18 KB

I was working on something for this on a separate issue but then found this one.

Here's what I came up with, it turns the fields into disabled text fields:
Disabled text fields.

damienmckenna’s picture

I also built a similar feature for EXIF Custom that's a little simpler: #2942048: Add "extra" field to show all available EXIF data

damienmckenna’s picture

StatusFileSize
new2.1 KB
new2.62 KB

This makes the new field display optional and adds an option on the field widget form to control it.

damienmckenna’s picture

StatusFileSize
new975 bytes
new4.33 KB

The last patch didn't remove $element['#value'] so that the fields were blank, this fixes that mistake.

damienmckenna’s picture

StatusFileSize
new2.13 KB
new485 bytes

Doh, wrong patches.

damienmckenna’s picture

Status: Needs review » Closed (outdated)

The D7 version is no longer supported.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.