A Script or a function to do final modification before diplaying a page

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
15,366
Location
www.poralix.com
Hello,

I'd like to ask for implementing the following feature. Sometimes we (as well as some others I guess) need to modify how the final page looks like, or control data that sends as reply when using API (modifying URL encoded replies into XML format for example).

So it would be great if we could modify the whole page at once in one single script. It would be something like before a page finally gets send to the browser, directadmin would check if final_script.sh exists, and if it exists would call a function in it lets say final_function (or if possible without a function) where we could modify the whole HTML code of the page and return it back to directadmin.

I don't know how good does it go with directadmin coding concept, I hope it would not be that difficult to implement this, and it won't bring security issues.
 
Back
Top