|
The problem is index.php is a core file and not a template file. When building templates you should not really be touching any of the core logic stuff. Anything outside of /templates should be left alone otherwise when you ask someone to install your template on their system they will have to monkey around with files in the root and /lib. I was hoping to do everything I wanted to do only using .tpl, I thought smarty could do that. At the very least you would have thought you could do includes without having to define them elsewhere, that is just poor. I know I could always write the includes in php within the .tpl file but again, that seems like a hack.
|