Page 1 of 1

Where do I add code to an added portal page ?

PostPosted: Mon Feb 02, 2009 2:55 am
Author: XHIBIT
I have an addon portal page ( not the default though) this will be the landing page for an internet radio station. Trouble is, I have some code I need to add in it to display a special script which enables the user (when the link is clicked) to listen to the live stream in a media player.

Example

http://media.streamads.com/playersdk/v2 ... D=-1&pid=0

Anyway, I need to place this .js code but dont know where it would go.
<script></script>

When this link is clicked:
<a>Listen now!</a>

It should open as a popup.

Oh by the way HAPPY BIRTHDAY HELTER !



I just have no clue where I would add it since its a new block .
Any help would be appreciated

Re: Where do I add code to an added portal page ?

PostPosted: Mon Feb 02, 2009 10:41 am
Author: Helter
youll have to add the script to the overall_header of any active templates before the close head tag
</head>

and thx, but its not my bday...lol I must have changed the date for some reason

Re: Where do I add code to an added portal page ?

PostPosted: Mon Feb 02, 2009 12:19 pm
Author: XHIBIT
As always..."You Da Man" !
Thanx bro, worked like a charm.

Oh and Happy Birthday anyway...LOL..Just in case I miss it when it does come around.

Have a look see (click the flashing red "ON AIR" button).

http://loadedparanormal.com/portal.php?page=8