By balaftuna on
Hi
As part of the user profile, I'd like my users to be able to upload between 1 to 3 mp3 files.
Profile2 module helped me with the addressField, but I can't find an mp3Field.
How should I approach this?
Many thanks.
Shay.
Comments
Hi If your profile module is
Hi
If your profile module is not enabled you can go in module >> profile to enable it and save configuration
In order to add 1-3 mp3fields to the user profile you can go to configuration >> Account settings >> Manage fields
Add as many new fields as you want with the media type and save, You can also configure the media files to be mp3 specific.
Please let me know if you need any further help.
Thanks
Madhura
Dear Madhura. Many thanks for
Dear Madhura. Many thanks for your help.
How do I add mp3 type to admin/config/people/accounts/fields ?
All the best.
Shay.
Slecting field type
Hi Shay
Do you mean how to add a media field? You can set the field and widget to multimedia as below
https://skitch.com/madhurav/g68ht/account-settings-testdoc
if you mean you want to set the files to be only mp3 you can go click edit and change the settings as below
https://skitch.com/madhurav/g686h/mp3field2-testdoc.
Thanks
Madhura
Dear Madhura. The option
Dear Madhura. The option "Multimedia asset" which I see on your skitch is not appearing in my system.
What is required to have it there?
Many thanks for your help! Truly appreciated.
File field
You might just need to create a File Field, which is built into Drupal 7. As far as I can tell the File field will allow you to define what file extensions (mp3) you will accept with each different file field. You'll still probably want to figure out how you'll want to render that field, because otherwise it's just a link to the file.
_
Yep... i'd just add a file field configured to accept mp3s and if I needed to add a player, i'd use something like the jplayer module (or just theme a player in).
Many thanks for your replies.
Many thanks for your replies.
I just discovered the SoundCloud module which makes much more sense to me and is very easy to use.
All the best.
Shay.