Jaun-Paul Posted June 7, 2013 Share Posted June 7, 2013 I can’t seem to get the .tpl template inheritance to work as in http://www.smarty.net/inheritance . I am trying to create a standard layout template with custom content populated on specific pages. The example is straight forward but I seem to be getting errors Smarty Error: [in /mnt/project/templates/themeName/pages/homePage.tpl line 1]: syntax error: unrecognized tag 'extends' The contents of my homePage.tpl file: {extends file="layout.tpl"} {block name=title}My Page Title{/block} {block name=body}My HTML Page Body goes here{/block} Is it possible to extend a .tpl in WHMCS? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted June 8, 2013 Share Posted June 8, 2013 Of course it wont... thats smarty V3 functionality. whmcs still uses the old smarty V2 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.