Git Product home page Git Product logo

Comments (2)

 avatar commented on July 22, 2024 2

Thank you for your response. I managed to override but a help file would be great.

I used alias : contactForm for the component

I created a partial : "partials/contactForm/default.htm"

copied the code I extracted from the component
How: In contact page click the "component" text in {% component 'contactForm' %}
then by clicking the top right icon(like git branch icon).
Component code extracts. Copy the extracted code.

Paste into partials/contactForm/default.htm
save file

In my contact page I revert back to {% component 'contactForm' %} by CTRL+Z
save file

when I change code in partials/contactForm/default.htm
I see the result in my contact page.

from october-plugin-forms.

skydiver avatar skydiver commented on July 22, 2024

Hello @rgucluer

Override a component HTML is a October feature, this is why the link points to official documentation.

As i see, the difficulty is not plugin related, nevertheless, i'm going to create a blank theme to illustrate how to override HTML.

Hope to have this ready asap, i will notify you on this thread once is complete.

from october-plugin-forms.

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.