eugenevdm Posted February 13, 2009 Share Posted February 13, 2009 WHMCS uses Smarty and so does out main site. We've modified our main header so that it is as similar as possible to WHMCS's header.tpl. This works fine for when we call up WHMCS pages. But when we call up our own pages, the WHMCS Smarty object is not initialised and we end up getting unrecognised tag errors. One workaround I have is to have {if} {/if} statements around all the WHMCS code blocks. But is there a better way to do this? For example, is there a way to "initialise" the WHMCS Smarty object and then "combine" it with our Smarty object? 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.