Often after upgrades I have to revert templates to the new ones and I have to remember what I did change and make sure I do it the same after I revert.
The idea is to create my custom changes PlugIn, which defines variables I could use in the templates and changes in the new template will be very easy...
For example:
I want to create a PlugIn which defines a variable $MyVar, which would have a PHP or HTML code in it and I could use in the templates as
..........
$MyVar
.........
instead of puting a real code in the templates.
How do I do it ?
$MyVar = "............" doesn't seems to be working... or I am doing something wrong?
Thanks!
The idea is to create my custom changes PlugIn, which defines variables I could use in the templates and changes in the new template will be very easy...
For example:
I want to create a PlugIn which defines a variable $MyVar, which would have a PHP or HTML code in it and I could use in the templates as
..........
$MyVar
.........
instead of puting a real code in the templates.
How do I do it ?
$MyVar = "............" doesn't seems to be working... or I am doing something wrong?
Thanks!
Comment