Franck K. Posted November 27, 2012 Share Posted November 27, 2012 (edited) Hi =). I am working on a module which has to replace the default photos galerie by another one. There is a way to catch the template's html code before it renders and replace it by something else ? I know some modules doing that but I don't understand their code well. I am trying to find some docs on Google without any success. I am still searching. Thank you =). Edited November 27, 2012 by Nephila (see edit history) Link to comment Share on other sites More sharing options...
Franck K. Posted November 27, 2012 Author Share Posted November 27, 2012 Ok I solved my problem ! Here some useful functions to catch and treat the output buffer : http://php.net/manual/en/function.ob-get-contents.php. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now