Closed (works as designed)
Project:
MP3 Player
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2009 at 15:19 UTC
Updated:
21 Feb 2014 at 20:49 UTC
Jump to comment: Most recent
Comments
Comment #1
bonked commentedIn your view, Add the File MP3 player (sounds like you have that working) as you are in fields.
Then add the same field (it will get named field_mp3_file-1 if your cck field is named field_mp3_file (adjust accordingly) for the label type choose "Custom" and in the drop down Format, choose "URL to file".
In the field template for the second field (views-view-field--viewname--field-mp3-file-fid-1.tpl.php for our example) change:
To:
That should get you what you are looking for.
Comment #2
lost305 commentedBonked,
Thank you so much for your informative reply. Before I begin I need to ask because I'm already a little stuck....
Is there any hope in what I'm trying to do if I don't have it as a VIEW but as a CONTENT-TYPE?
I think you gave me instructions for editing a VIEW and that's my fault for saying VIEW.
I used it in the wrong way in regards to Drupal's association with VIEWS.
I said VIEW but I didn't mean that I've made a VIEW using the VIEWS module.
I made a CONTENT-TYPE and named it AUDIO.
I would like to place the player on the teaser and the player + download link in the full node. (almost wrote view again)
Just in case your instructions weren't just for VIEWS I tried creating another field in the CONTENT-TYPE named the same and now the form is asking me for 2 separate uploads. So obviously I'm confused.
I apologize for my miscommunication, but can you clarify it for me a little more?
Thank you again. I really appreciate your time and help.
Comment #3
lost305 commentedBonker,
After a lot of trial and error and tutorials I got the view of a PAGE working with displaying the player and the download link for ALL THE NODES but this isn't quite what I need.
I need the player and download link to display within the NODE page.
Right now it shows the domain.com/PAGE-VIEW, displaying like so...
node (player + download link)
node (player + download link)
node (player + download link)
node (player + download link)
but I need it to show the player + download link ONLY inside the node like in the domain.com/node/649016
I'm so confused. I looked at the themeing option in the VIEWS and it shows like 10 different templates per FIELD. I don't know which one to select. I think I can figure it out but still it's not for the actual NODE PAGE but the VIEW PAGE... I'm not sure if I'm confusing you because I'm surely confusing myself.
Can you please help me out further? I would extremely appreciate it.
Thanks for your time.
Comment #4
markie commentedPlease give the newer dev version a try