2017 © Pedro Peláez
 

asgard-module contact

image

bcscoder/contact

  • Friday, January 5, 2018
  • by yusida
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Contact Module Asgardcms

Instalasi

composer require bcscoder/contact
  1. Activate permission from setting page.
  2. Config Recaptcha login and create new website to : https://www.google.com/recaptcha

Input your site key and secret key to Setting > Contact, (*1)

  1. Add Recaptcha Js

How to use

Create form for contact us and add sample code below, (*2)

{!! Form::open( ['url' => route('contact.send'), 'method' => 'post'] ) !!}

add recaptcha, (*3)

@if(setting('contact::security') == 1)
    <div class="form-group">
        <label>Human verification</label>
        <div class="g-recaptcha" data-sitekey="{{ setting('contact::site-key') }}"></div>
    </div>
@endif

Required field 1. first_name 2. last_name 3. email 4. phone 5. message, (*4)

The Versions

05/01 2018
05/01 2018

2.0.x-dev

2.0.9999999.9999999-dev

  Sources   Download

The Requires

 

The Development Requires

by Bcodes