joomla3.0 - Insert Chronoforms in Virtuemar tabs / default.php / Joomla 3.7.5 -


i want put chronoforms inside virtuemart tabs. can see tabs in: http://dabur.cl/productos/tipo-de-producto/cremas-para-peinar/crema-reparaci%c3%b3n-nocturna-de-miel-detail.html.

as can see, second tab empty. that's form should go. first tab: product description third tab: disqus

the contents of tabs in default.php file, don't know right syntax call form.

            <div id="mytabcontent" class="tab-content">                  <?php if (!empty($this->product->product_desc)) { ?>                     <div class="tab-pane desc fade active in" id="desc" >                         <div class="product-description">                             <?php /** @todo test if content plugins modify product description */ ?>                             <?php echo $this->product->product_desc; ?>                         </div>                     </div>                 <?php } // product description end ?>                   <div class="tab-pane review fade" id="form" >                                here chronoform should be!!!                  </div>                   <div id="comentarios" class="tab-pane comentarios fade">                     <div id='disqus_thread'></div>                         <script type='text/javascript'>                           var disqus_shortname = 'dabur-cl'; // required: replace example forum shortname                               (function() {                               var dsq = document.createelement('script'); dsq.type = 'text/javascript'; dsq.async = true;                               dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';                               (document.getelementsbytagname('head')[0] || document.getelementsbytagname('body')[0]).appendchild(dsq);                           })();                         </script>                 </div><!-- //tab3 -->              </div>          </div> <!--/. products-desc-tab--> 

already find out. virtuemart supports chronoform plugin, code is:

<div class="tab-pane review fade" id="form" >                    <?php echo jhtml::_('content.prepare', '{chronoforms6}form-name{/chronoforms6}');? </div>> 

Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -