AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: rvalani on August 18, 2016, 03:45:43 PM
-
HI people,
I am trying to integrate a chart.tpl in my block so I am trying to add script tag but I can't
I need to know where can I put <?php include($this->templateResource('/template/blocks/chart.tpl')) ?> so that it appears in particular block
Thanks,
-
Hello.
You can check how other extensions made and check dev docs http://docs.abantecart.com/pages/developer/extension_dev.html
-
Thanks for your reply Basara. But this is just a D3 chart I don't want to create an extension is there any other alternative?
I have created a block inserted, D3.min.js I just want to insert it into a particular content.
I tried using onload() as soon as that content loads it should invoke this script but couldn't make it...