Logician
07-11-2003, 10:00 PM
This small hack shows uncached templates to admins while you are browsing the board.
I find it handy when coding a large hack where you use a lot of new templates. Instead of going through the entire code and find out which templates you have, I just run the hack page and at the top I get all uncached templates names with this hack while I'm browsing it.
The hack is designed to work in test boards where you develop the project but I don't think it is a big deal if you install in a real board.
For newbies: Uncached templates add additional queries to your hack code so the best practise is to add their names in the $templatesused variable at the top of your code to make your hack more performance friendly.
I find it handy when coding a large hack where you use a lot of new templates. Instead of going through the entire code and find out which templates you have, I just run the hack page and at the top I get all uncached templates names with this hack while I'm browsing it.
The hack is designed to work in test boards where you develop the project but I don't think it is a big deal if you install in a real board.
For newbies: Uncached templates add additional queries to your hack code so the best practise is to add their names in the $templatesused variable at the top of your code to make your hack more performance friendly.