The majority of QMod components allow you to insert a custom template.  Below is a sample of what you would use assuming that the QMod loader is on the same page.

 

<div

  data-qmod-tool="detailedquotetab"

  data-qmod-params='{ "symbol" : "GOOGL"}'

  class="qtool"

  <script type="text/template">

  Template code here

  </script>

</div>

 

In this example, you would update the data-qmod-tool to the tool that you want to apply your custom template to and then insert your template code where highlighted in red text above.


When implementing custom templating it is recommended that you implement versioning controls to the QMod component tool code version that is current at the time of implementation.


To reduce file size, any minification tool that removes new lines and or spaces will suffice.  For example, http://minifycode.com/html-minifier/ works well from our testing.



Custom templates are not recommended for complex tools like: Portfolio, PortfolioTransactional, Options, Financials.