tranduyhung / grav-skeleton-big-picture

Big Picture skeleton for Grav CMS
MIT License
8 stars 8 forks source link

Contact form diseapears when shortcode core plugin is activated #5

Closed jbonlinea closed 6 years ago

jbonlinea commented 6 years ago

Hi,

I've been trying your skeleton lately and realised that the contact form disapeared as soon as the plug-in shortcode-core is activated ?

I wrote diseapeas, but I'm not sure what happens behind the scene, it is not displayed but there are still some tace of it in the html generated.

Regards

<section id="contact" class="main style3 secondary">
  <div class="content container">
    <header>
      <h2>Say Hello.</h2><p>Lorem ipsum dolor sit amet et sapien sed elementum egestas dolore condimentum.</p>
    </header>
    <div class="box container 75%">
      <form name="" action="/grav/big-picture-01/_contact" method="POST">
        <input type="hidden" name="__form-name__" value="" />
          <div class="buttons">
            <div class="row uniform 50%">
              <div class="12u$">
                <ul class="actions">
                </ul>
              </div>
            </div>
          </div>
        <input type="hidden" name="form-nonce" value="7fc1cab0dd42293ae3ad44231faef18b" />
      </form>
    </div>
  </div>
</section>
tranduyhung commented 6 years ago

I confirm this problem. You remove "name" attribute from the form definition, the form will show again. The problem also happens to the default theme Animatter, as long as the "name" attribute exists in the form.

jbonlinea commented 6 years ago

Hi,

excellent ! Thank's