Attaching Audio File to nodes other then "Audio"

egrissom - December 4, 2008 - 22:34
Project:Audio
Version:6.x-1.0-unstable3
Component:audio_attach
Category:support request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

Hello- apologies if this was already dealt with or is a known issue- I have search around for awhile and have not seen any confirmation.

Anyway, is the ability to attach audio files to nodes not working in 6.x? I am new to this module and have just installed Drupal 6 along with all the required modules. The Audio module is working brilliantly when I want to create an "audio" content type, however when I try to assign audio to my "story" content type it is not available- I'm following a similar process to how i would hook in something like "image attach". I was expecting to see the ability to enable audio attachments but I am not. If anyone knows if I am missing a step or if it simply is not supported yet in 6 please let me know.

thanks

#1

khan2ims - December 7, 2008 - 15:39

Hi,

I am also trying to do the same thing. But since it was not possible to attach audio file (we can give a link to already available audio file present on site), I chnage the audio content type itself, and added other fields.

Now, my problem is, that audio upload is a "required thing" and in my content type uploading audio needs to be an optional fields and not cimpulsory one.

I know hacking around the audio module would work, but thats not a good practice, and I am already looking forward to Drupal 7 !! I dont want these peciuliar issues when upgrading the website.

Any help plz!!

#2

drewish - December 8, 2008 - 02:01
Status:active» duplicate

the module hasn't been fully updated: #311284: Update audio_attach to D6

#3

drewish - December 8, 2008 - 02:25

ah, it's all via CCK's node reference now. i'd updated part of the readme to explain it but it's not complete. basically add a nodereference field to node type that should reference audio nodes and then use the attach audio widget.

#4

khan2ims - December 8, 2008 - 18:54

Hi,

I am trying NodeReference, but in Widget Type its showing me only two options - checkboxes and text field. There is no audio attach widget. I have already enabled audio attach module. If I am selecting checkbox, then in Create node, its showing list of audio nodes already created.

So where am I going wrong?

Is it possible to make upload audio field in default audio content type as optional - instead of required one? This would help me in adding more fields to audio node itself and make audio upload optional.

Thanks for all your help.

#5

drewish - December 8, 2008 - 21:49

ah, turns out that the audio_attach.info file was still marked as incompatible with D6. i've fixed that in the latest -dev release but you can edit the file to change:

;WAITING ON UPDATE: core = 6.x

to
core = 6.x

then visit admin/build/modules and enable it.

#6

khan2ims - December 10, 2008 - 13:47

Hi,

This is what I have in my audio.info file

version = "6.x-1.0-unstable3"
core = "6.x"
project = "audio"

There is no ;WAITING ON UPDATE: core = 6.x

#7

khan2ims - December 10, 2008 - 13:53

Also, is it possible to make audio upload field optional.

#8

mariagwyn - December 31, 2008 - 22:27

I have all the updated version of the modules, and am just not seeing the Audio widget type. I saw it somewhere, once, but can't remember where to find it. Any help on this? - Thanks, maria

#9

antilog - February 27, 2009 - 07:20

Trying to add audio_attach to blog type, can't find it, been searching everywhere. Any Ideas?

#10

EvanL - March 19, 2009 - 00:15

I've been having the same problems too. I'm about to just edit the "Audio" content type to make it do what I want it to. Although every post would have to have a song attached...

#11

drupalhooked - March 30, 2009 - 12:25

Hi there,

I am also struggling with the same problem. Is there a way to do this in Drupal 5?

#12

drupalhooked - March 30, 2009 - 12:25

Hi there,

I am also struggling with the same problem. Is there a way to do this in Drupal 5?

#13

khan2ims - August 29, 2009 - 01:45

Hi,

In my last project, I tried hard to make Audio upload fiekd optional. But was not successful. Eventually I had to create two content types - one with audio and another one without audio.

Now I am working on another project, that has lots of fields(including audio upload) where audio upload needs to be optional field (again!!). And this time I don't have the option of creating two seperate content types.

When go to my administrating content type page, it says

Audio files Audio uploads for posts

But I don't see that field when I go to create content page.

Help plz !!

Imran Khan
Project Manager
New Earth Marketing

 
 

Drupal is a registered trademark of Dries Buytaert.