Code Monkey home page Code Monkey logo

Comments (6)

rhukster avatar rhukster commented on August 24, 2024

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.

giansi avatar giansi commented on August 24, 2024

@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.

Sogl avatar Sogl commented on August 24, 2024

In which folder I need to put my new form?

from gravstrap.

giansi avatar giansi commented on August 24, 2024

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.

Sogl avatar Sogl commented on August 24, 2024

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.

yaazkal avatar yaazkal commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.