Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.1
Component:
General
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2008 at 14:43 UTC
Updated:
7 Dec 2010 at 20:10 UTC
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
Comment #1
sbroadbent commentedWith 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.
Comment #2
karens commentedUse filefield.
Comment #3
sbroadbent commentedI 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 :)