View Single Post
  #9 (permalink)  
Old 08-21-2006, 04:39 AM
stephencarr's Avatar
stephencarr stephencarr is offline
Casual Pligger
 
Join Date: Jul 2006
Location: UK
Posts: 70
Thanks: 18
Thanked 1 Time in 1 Post
Send a message via MSN to stephencarr Send a message via Skype™ to stephencarr
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.
Reply With Quote