jxdyzwh Posted October 25, 2013 Share Posted October 25, 2013 how to add model to home page Link to comment Share on other sites More sharing options...
NemoPS Posted October 25, 2013 Share Posted October 25, 2013 Could you be more specific? What do you mean by model? Php models? top models ( just kidding)? Or maybe you mean a module? Link to comment Share on other sites More sharing options...
jxdyzwh Posted October 25, 2013 Author Share Posted October 25, 2013 for example index.tpl Link to comment Share on other sites More sharing options...
NemoPS Posted October 25, 2013 Share Posted October 25, 2013 ...uh? Can you explain a bit further? That's a template file, I still don't get what you mean by model Link to comment Share on other sites More sharing options...
jxdyzwh Posted October 25, 2013 Author Share Posted October 25, 2013 is my Website default home page Link to comment Share on other sites More sharing options...
vekia Posted October 25, 2013 Share Posted October 25, 2013 if you want to use different .tpl file for "home" you need to modify IndexController.php file - there is function initContent(); with definition of smarty .tpl file. just change it. if you want to change whole "homepage" you have to check FrontController.php file - you will see there all .tpl files related to "homepage" construction (header, footer) Link to comment Share on other sites More sharing options...
Recommended Posts