How to modify buffer?

DarkViper

Quote from: noname8 on December 21, 2017, 04:04:05 PMWhere is the template stuff ?
...still in the OutputBuffer ;)
Remember...  OutputBuffer is a normal Stack (FILO) !
[url=http://www.youtube.com/watch?v=tmzDAz6ZvFQ]Der blaue Planet[/url] - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen[br]
[i]"You have to take the men as they are... but you can not leave them like that !" :-P [/i]
[i]Das tägliche Stoßgebet: [b]Oh Herr, wirf Hirn vom Himmel ![/b][/i]

noname8

I have custom php content loaded into website content area with page type "code" and there is include my php files.
They work fine.

But in that php file, i want to rewrite one custom tag in the <head> area of the page that comes from the template.
Normally i've done this with ob_start()...$var=ob_get_contents() and replace and echo back, but now when i get the ob_get_contents it only contains the page-area content and not the template stuff.
Where is the template stuff ?