Active
Project:
Audio
Version:
5.x-1.3
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2007 at 21:25 UTC
Updated:
13 Jan 2008 at 21:17 UTC
In the full node view of an Audio node, I would like to hide the text that displays Length and Format underneath the flash player.
Comments
Comment #1
sgriffin commentedUse ckk/contemplate
You can format everything just the way you want.
Or use views.
This is exactly what these modules are for.
Comment #2
drewish commentedi guess it would be nice to make those optional as well... though sgriffin is correct you could do this via theming.
Comment #3
capellicI am stuck. I want to create a custom View or use CCK/Contemplate to override the "$node->body" default and only display a subset of the following fields like Aaron. I am specifically interested in isolating the Flash Player.
CONTEMPLATE
First I tried to use Contemplate. I found that I could easily access all the fields that are otherwise in the $node->body field (as documented below). I am wondering why the Flash player doesn't have its own field? From what I can tell, it only appears in the $node->body?
- Flash Player: ???
- Artist: $node->audio_tags['album']
- Title: $node->audio_tags['title']
- Album: $node->audio_tags['album']
- Track: $node->audio_tags['track']
- Year: $node->audio_tags['year']
- Length: $node->audio_fileinfo['playtime']
- Format: $node->audio_fileinfo['fileformat']
VIEWS
In the Fields section of the "audio" view override, I see this: "Fields are only meaningful with List view and Table View; they allow you to choose which fields are presented and in what order." So it doesn't look like Views is an option.
Comment #4
sgriffin commentedThe flash player is something static and doesn't need to be stored for every node. Just create your code in contemplate for any flash player you want and go. You may need a little basic training on drupal first, so step back for a couple days and check out the handbook section on drupal basics.