HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.19k stars 2.9k forks source link

Customize Formspree form? #1724

Closed thiagoveloso closed 4 years ago

thiagoveloso commented 4 years ago

Feature Request

Is your feature request related to a problem? Please describe. When someone uses the Contact form to get in touch, all I receive is a dry notification email from Formspree containing the sender's message and e-mail address. It is nearly impossible to directly reply that message.

Describe the solution you'd like Ideally, the notification would arrive in a format that is ready to reply, such as something like a Reply message button.

Describe alternatives you've considered Formspree offers a way to solve that by adding a small field to the form's code (see https://help.formspree.io/hc/en-us/articles/360012262774-Email-Reply-To-address-).

However, I can't seem to find any field in Academic that would allow me do perform such modification.

Is there any way to access (and customize) the Formspree form embedded in the Academic theme code?

Additional context

rodrigoalcarazdelaosa commented 4 years ago

You'll want to have a look at themes/academic/layouts/partials/widgets/contact.html, and possibly override it (see here).

gcushen commented 4 years ago

To do this, you will add a special input field with the name attribute set to either _replyto or email.

The existing code appears to already be aligned with Formspree's documentation to enable replying to the email they send you: <input type="email" name="email" ...

Perhaps it's a Formspree bug...

thiagoveloso commented 4 years ago

To do this, you will add a special input field with the name attribute set to either _replyto or email.

The existing code appears to already be aligned with Formspree's documentation to enable replying to the email they send you: <input type="email" name="email" ...

Perhaps it's a Formspree bug...

@gcushen Nevermind, actually it was my mistake. After seeing your message, I tried to click Reply in the email received by submissions@formspree.io and it automatically points to the message sender. Thanks for your feedback, and I can close this issue now.