Hello Guys,

I've posted about this before, last week, but i'm not sure if i asked the question in the right way.

What is the best way to add a file (in this case an mp3) uploaded with the standard upload function of a cck content type, to pages in the node-type template? I'm looking to use a flash based media player and the main problem i have is; I don't know what the acctual variable is... I've tried using print_r($node); to determine the variable/array but so far am failing miserably.

has this been asked before? I did search... all i'm looking to do is find the correct variable name/array and path to use.

many thanks in advance,

CalonDdraig

Comments

vm’s picture

have you investigated the mediafield.module which is a CCK add on that allows for audio files to be uploaded and sent to a flash player ?

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

CalonDdraig’s picture

Still having problems.... nodes created with audiofield are just showing as white screens when i view them.. and that's with a node-audio template or without... what's going on here!? what am i doing wrong?

Many thanks in advance!

~Calon

vm’s picture

white screens are apache errors, check your apache/http error logs for the error being thrown.

more often then not its a memory issue

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )