Comments (6)
I'm sure this is wrong but in contact.html.twig if I change:
<div class="row"> {% if config.plugins.simple_form.enabled %} {% set simple_form_config = page.header.simple_form ?: config.themes.agency.simple_form %} {{ simple_form(simple_form_config) }} {% endif %} </div>
to
<div class="row"> {% set simple_form_config = page.header.simple_form ?: config.themes.agency.simple_form %} {{ simple_form(simple_form_config) }} {% include 'plugins/simple_form/simple_form.html.twig' %} </div>
It at least outputs the form... it doesn't pick up the auth code I set in the contact.md but I can hardcode it... seems like at the very least it's missing the Include for simple_form.html.twig and the config toggle for IF enabled
from grav-theme-agency.
It uses the Simple Form plugin which sadly has been discontinued (and removed) from its author.
I need to change this to use the Form plugin instead, which is the new way of handing forms in Grav.
In the meantime, you can copy templates/form.html.twig
from Antimatter to start with, and start from here: https://learn.getgrav.org/forms/forms/example-form
from grav-theme-agency.
Thank you, I'll check into using the Form plugin and since I intend to keep the current Agency form styling I'll post my code back here should it prove useful :)
from grav-theme-agency.
The theme part is fixed in 1f0e662
from grav-theme-agency.
Skeleton fixed too: getgrav/grav-skeleton-agency-site@712ca1a
from grav-theme-agency.
Is there a technical reason to omit the closing tags for
Sorry for Google translator
from grav-theme-agency.
Related Issues (20)
- Need to add custom css to assets
- Latest update issues HOT 6
- Agency theme skeleton form's not working HOT 4
- Agency scrolling to the right in Safari
- Grey Bar in Portfolio Modal (Chrome, Safari) HOT 3
- multilingual support for navigation bar HOT 8
- Fresh install- automatically scrolls to the contact form at the bottom on page load HOT 3
- E_ERROR - Class 'Parsedown' not found HOT 2
- How to add a simple page to the theme? HOT 1
- contact form HOT 6
- How to add a youtube video in a portfolio
- Header nav colours appear to be broken HOT 1
- Navbar behaviour broken HOT 1
- Grav debug bar fails to show HOT 2
- Typo in block name HOT 1
- Navbar location hover color doesn't work (navigation.html.twig, Site.yaml, .md, etc.) HOT 1
- Form doesn't work at all: missing include {% include 'partials/form-messages.html.twig' %}? HOT 1
- Add captcha even when no 'position' is defined for the field
- Linking Menu and Color
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grav-theme-agency.