Comments (6)
This plugin uses the Grav Shortcode Core plugin, and you can create your own shortcode plugins to work in parallel with any other (such as Gravstrap): https://github.com/getgrav/grav-plugin-shortcode-core/blob/develop/README.md#developing-shortcode-plugins
from gravstrap.
@Sogl you can add a shortcode as @rhukster suggested, as Gravstrap does. This last one implements some shortcuts I will certainly talk about in some later instructions but, before that, I must revisit some parts of Gravstrap plugin which do not work as expected with Grav 1.1.
from gravstrap.
In which folder I need to put my new form?
from gravstrap.
Hi,
under the templates folder of your theme could work, but it's better if you to create a new plugin to handle your new shortcodes and add the for under the plugin's template folder. However, just notice you don't need a shortcode to handle your form.
from gravstrap.
I'm trying to use Gravstrap theme, which fully builded with Gravstrap plugin. I need to change contact form in some parts and don't know where to put my own. Main contacts file lays here: \user\plugins\gravstrap\templates\vendor\simple_form.html.twig
So where I need to create my own and edited? I don't think that I need to put my file near the original.
from gravstrap.
Hi @Sogl You can copy your /user/plugins/gravstrap/templates/vendor/simple_form.html.twig
to /user/themes/**your_theme**/templates/vendor/simple_form.html.twig
and edit/modify it as you want. Also you can get information about how to create/put elements to a form here: https://getsimpleform.com/
Remember to generate a token in https://getsimpleform.com/ and put it in your file when you are showing your form.
from gravstrap.
Related Issues (20)
- gravstrap breaks entire grav install?? HOT 3
- simple block div HOT 1
- open twitter blanco
- brand_image in g-navbar HOT 2
- Blueprint HOT 2
- Carousel with all images from a folder HOT 4
- Add shortcode to handle official Grav Form plugin
- Google Maps requires api key HOT 1
- How do i modify the CSS/Sass from the Theme HOT 2
- broken link in readme file
- tag link routes to /home
- Cannot declare class Grav\Plugin\Shortcodes\MapShortcode, because the name is already in use
- Accordion shortcode with + and -
- Google Maps API HOT 1
- CSS not including after initial setup
- Full path for background image
- enhancement for shortcode button
- modal example is not working
- Should update the documentation link in the readme
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 gravstrap.