Hi there,
I run a radio station and I'm trying to implement a listener display script onto my index.template.php so it shows the show name etc.
I've actually managed to get it working by copying and pasting the php code into a tabled area at the top of my forum in the index.template.php but I'm getting a shed load of errors:
Use of undefined constant SONGTITLE - assumed 'SONGTITLE'
Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE'
etc etc
I understand there's a way I can upload this php file on it's own into the theme folder and 'call it' into index.template.php and have it display in said tabled area by using includes but I haven't been very successful so far.
Can anyone explain what it is I need to do? I'm very close :)
I ended up using an iFrame.
Those errors usually mean you are using something like $var[text] instead of $var['text'].