Aperçu de la faune sous-marine des haut fonds martiniquais
Tranches de vie sous-marines vers Saint Pierre, Martinique
Votez
(5 votes)
//print $node->field_album_audio[0]['nid'];
//print $node->field_album_audio[0]['view'];
if ($node->field_album_audio[0]['nid']) {
$na=node_load($node->field_album_audio[0]['nid']);
$nafile = $na->audio['file']->filepath;
//print theme('mp3player', 'Default', $audio_file_url, $audio_title, $audio_artist, $description);
print theme('mp3player', 'Default','/'.$nafile);
}
if ($node->field_album_audio[0]['nid']) {
$view_name = 'audio_for_content'; //name of view
$display_id = 'default';
$view_args = array($node->field_album_audio[0]['nid']);
$view = views_get_view($view_name);
if (!empty($view)) {
$output = $view->execute_display($display_id, $view_args);
print $output;
}
//print views_build_view('audio_for_content', 'default', $node->field_album_audio[0]['nid']);
}
?>
Commentaires
Martinique
Pas faux!!!
Grand bleu