View Single Post
Old July 27th, 2005, 03:08 PM   #7 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,744
Well I cant really comment on a hack you have but in Reviewpost 3.0 there is this code which allows for you to create additional template sets.

if ( is_dir( "$RP_PATH/{$Globals['TMPL_PATH']}/$styleid" ) ) {
$Globals['TMPL_PATH'] = "{$Globals['TMPL_PATH']}/$styleid";
}

Thus say if you run template blah blah with a styleid of 6 you can create a directory under templates/vbenhanced named 6 and then copy a new set of vbenhanced templates into that directory and then modify them as needed. Photopost and Classifieds already have this feature although most people do not use it. If the directory say 6 does not exist and your using vb3 then the template directory defaults back to templates/vbenhanced
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote