How do I add audio as a content type. I would like my admin to be able to add various audio tracks to a specific page type. I want them to be able to browse to the file and upload it. I have the audio module installed. Do I need additional modules to do this? Can't seem to find any specifics on the latest version of CCK for this.

thanks for your help.

Comments

sbroadbent’s picture

With the FileField component of CCK, I have done just this, by using it to create a field to upload an mp3 file. The only problem I have is I'm hitting a server side restriction of 2MB for a file upload (which for mp3's is about 2minutes of music, unless you downgrade the bitrate).

If FileField had the option to also find a file via URL (or location you can upload to via ftp for example), this wouldn't be an issue.

karens’s picture

Status: Active » Fixed

Use filefield.

sbroadbent’s picture

I was able to bypass the issue of the PHP upload limit by using FileField Source that allows you to 'upload' from other locations, as in a place on your server that you upload to separately.

I solved this just before my webhost told me I'd just need to create a php.ini file since it doesn't exist by default which would allow me to change the upload limit past the default settings of 2MB. Using an onlline tutorial for creating php.ini, I was able to do so, now I have multiple options to upload files to content posts :)

Status: Fixed » Closed (fixed)

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