View Full Version : have some PHP that I want to execute right after body tag, how?
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.
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...
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.