Thread: js in tpl
View Single Post
  #4  
Old 07-08-2015, 09:21 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: js in tpl

Don't put it in tpl file, make a class to return it. That way flexy is not involved in outputting the code, only to call the class and print out the return whatever it is.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote