From: David H. <hic...@op...> - 2010-10-15 10:15:46
|
Hi Kornel, I noticed that the PHPTAL website makes mention of upcoming support for XPath functionality within PHPTAL prefilters. Could this perhaps be useful for MantisBT plugins to manipulate the template DOM before they are rendered? What I am envisaging is that plugins respond to an event that triggers prior to the template being rendered. The plugins could use XPath to manipulate the page in any way they see fit (removing sections, replacing sections, inserting sections, etc). This seems to be a method that would provide maximum flexibility to plugins to do whatever they want to the output pages without the need for hardcoded hooks at designated points in the output HTML. Regards, David |