webresellers Posted November 20, 2006 Share Posted November 20, 2006 Is it possible to call a template from a url like: http://www.domain.com/whmcs/template?=new_template Is so, how would I construct the url? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted November 20, 2006 WHMCS CEO Share Posted November 20, 2006 No, that is not currently possible as with the Smarty templating cache when changing a template you also have to empty your templates cache directory. Matt 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted November 20, 2006 Share Posted November 20, 2006 there is programming that can be done to get around the cache issue, but i cant think of it off the top of my head. I know none of my other smarty based scripts have this issue. Its not really a cache issue either as smarty caching is not used with whmcs, its just the files in the compiled templates folder that causes the issue. 0 Quote Link to comment Share on other sites More sharing options...
webresellers Posted November 20, 2006 Author Share Posted November 20, 2006 I wanted to create a template for PDA specific access/format... If I could create a link to the template folder area, I am pretty sure I can make everything work by changing the layout a little to make it all fix and look good. 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted November 20, 2006 Share Posted November 20, 2006 I think you could actually just do that with css if you converted your template to xhtml and tableless. Then just change the css file based on browser or whatever. 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.