PDA

View Full Version : have some PHP that I want to execute right after body tag, how?


Halx
07-12-2002, 11:54 AM
I wrote some code to output some text right below the <body> tag, but I'm not sure how to incorporate it into the board. Can anyone help me out with this?

Thanks in advance. :)

Admin
07-12-2002, 01:16 PM
Try editing the dooutput() or dovars() function.

Halx
07-12-2002, 02:10 PM
Well, thanks for that... I was kinda hoping for something a little more specific though.

Admin
07-12-2002, 02:20 PM
I can't be any more specific if you don't give more information...

Halx
07-12-2002, 02:26 PM
I have a file called links.php (it can either echo text or output a variable, depending on what your suggestion requires)

I want it to output it's stuff after the <body> tag of each page.

(it's a rotating list of links that I want displayed at the top of the page)

I dunno if I can get any more specific. Thanks.

Admin
07-12-2002, 02:30 PM
Put the code in the phpinclude template, saving the output to a variable ($links for example). Then in the header template put $links right at the beginning.

Halx
07-12-2002, 02:35 PM
gracias :)