kbohme Posted November 20, 2012 Report Posted November 20, 2012 When I use Template::show I understand that it looks in the skin folder first and then goes to core/templates to find it. Is there a way that I couls add a directory in the middle ? so it would look in the skin directory first, then a secondary directy, THEN move onto core/templates ? Any help would be greatly appreciated (I am running multiple skins and would like to make use of this so that I can only edit one file and affect all templates. I could use the core/templates folder but I think I would loose everything during an upgrade ) Quote
Moderators Parkho Posted November 20, 2012 Moderators Report Posted November 20, 2012 if you create a folder in core/ templates and add your TPL in there you won't loose them during an upgrade. You would then access it like (foldername/file.tpl) using the template::show(). Quote
kbohme Posted November 20, 2012 Author Report Posted November 20, 2012 Wow, that was easier than I thought....thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.