Quote:
Originally Posted by Developer
see a hack that using a template edit using a product and it is wonderful
this hack made by MarcoH64
|
Hehe thanks.
Not sure what you are asking though, but i guess you want to know what product that is.
Well in some of my hacks i edit templates during runtime, by simply doing a search/replace in the templatecache. This works fine as long as people are using a default template (or custom as long as the search string isn't changed).
Most hacks i created using this technique, are checking if another of my hacks is installed: Dynamic Template Modifications
This hack does the same, but give the user (admin) the option to override for each style the dynamic modifications that are made, so that my hacks can also be used on modified styles. The XML-File you quoted is the file added to a hack, that will tell my Dynamic Template Modifications hack (if installed) what changes need to be made to which templates.
I however never released the Dynamic Template Modifications hack (it is running beta for a long time now on some sites), since i feel that it should be perfect before releasing it as a lot hacks (mine, from others???) might be going to use it.