Closed haider-pw closed 10 years ago
Some how found out the main problem, its not with the hirarichy. its related to template inheritance. defined the extend file in a file, but how do it get its path, i mean how it knows where the main file exist? {{extends file='adminLayout.tpl'}}
Solve the question Please on Stackoverflow, Willing to add more bounty in my question..
Problem Solved. it was not the problem in application but was the problem of the path which i gave static path. thats why it only worked for that directory only and could not work in multiple directories. Fixed the Path. its started working back again.
i am using CI Smarty. Problem is i cant have more then two directories in hirarichy or the template will not load just a white blank screen.
http://stackoverflow.com/questions/25541382/smarty-templates-with-codeigniter-cant-load-template-when-too-many-directories