goenkale Posted March 9, 2009 Share Posted March 9, 2009 HI there!I’m trying to modify a .tpl file.Firstable i’ve removed all files from the tools/smarty/compile folder.In the second hand I’ve modified my .tpl. After checking I realised compiled file doesn’t show the modification done over the tpl source.How the compilation is done?Thanks in advance. 1 Link to comment Share on other sites More sharing options...
Domi91 Posted April 24, 2009 Share Posted April 24, 2009 Are you sure that your modified code is called to displayed the page ?Smarty compiles only required files to display a HTML page. Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted April 25, 2009 Share Posted April 25, 2009 i had face same problem, and its becauce my compile folder permission is reset by the server. so web user cant write compiled tpl files. may be you have to check your smarty/compile folder permission Link to comment Share on other sites More sharing options...
bigboy16 Posted April 25, 2009 Share Posted April 25, 2009 smarty compiler used just for call functions at php file to convert to html style, its depend on tpl file, if u just wanna modify a layout dont remove the compiler.just modify file.tpl, if you have done the modify, change the folder permission before compile Link to comment Share on other sites More sharing options...
Dio Posted April 25, 2009 Share Posted April 25, 2009 Thanks m8! Nice work! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now