It looks like in #906608, the formatter for the 6.x version was fixed to display the description. However in the 7.x version I'm not seeing the description.

Can you tell me how to modify the formatter to access and display the audio field description?

Thanks!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nuklive’s picture

I'm not sure if it's the best solution, but I changed lines 16 and 17 in audiofield_formatter.inc:

<?php>
$output='<div id="audio-title">'.$file->description.'</div>';
$output .= audiofield_get_player($audiofile, $op);
<?>
dl_hines’s picture

So very crazy that I would come across this post.

I tried the above fix and it didnt work for me...maybe I did something wrong...

We can't be the only ones running into this....

OpsTao’s picture

Issue summary: View changes

In our implementation the Description field contents can only be viewed in Admin login, despite that permissions for Audio Field are not restricted that way. The audio player itself is available to other users. Why is only the Description field being limited in this way?

Daniel.Moberly’s picture

Status: Active » Needs review
FileSize
1.07 KB

Attaching patch to resolve this.

  • Daniel.Moberly committed a976fd9 on 7.x-1.x
    Issue #2123459 by Daniel.Moberly: How do I see audio field description...
Daniel.Moberly’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.