Hy everybody!
I have a problem with PEAR:Templates. So far, I'm able to replace a global placeholders outside of defined blocks, by setting the variables without a 'setCurrentBlock()' infront. But now I want to replace a 'ph' which is spread over the hole template, what means inside as well as outside of defined blocks. But PEAR ignores all 'ph's inside defined blocks and stripes them out when i run the 'parseCurrentBlock()' function.
I know, that I could set the global vars twice for inside and outside block replacing, but this seem to be some kind overhead I don't like and perhaps will become a foottrap some later.