Hi restless,
prior to vLIB 3.0.6 the caching worked on a URL basis, i.e., there would be 1 cache file for index.php and another for contact.php, this was not very maintainable and not the best way of caching.
Therefore, since version 3.0.6 (the current version), the caching works on a per template basis, i.e., theres 1 cached file for index.tmpl, another for header.tmpl ...etc.
So given that vlibTemplate caches on a per template basis, skins are supported; template skins/skin1/index.tmpl would have a different cache to skins/skin2/index.tmpl. You just have to change the instantiation of the class to make sure you include the correct skin, i.e.
......
switch skin {
� �case skin1
� � � �skin_path = /home/www/skins/skin1/;
� �break;
� �case skin2
� � � �skin_path = /home/www/skins/skin2/;
� �break;
� �default
� � � �skin_path = /home/www/skins/default/;
}
include_once ../vLIB/vlibTemplate.php;
tmpl = new vlibTemplateCacheskin_path.template_file.tmpl;
......
I hope this helps,
Kelvin
NB: Remember that this will only work with vLIB 3.0.6 and above