andrewbanchich / forty-jekyll-theme

A Jekyll version of the "Forty" theme by HTML5 UP.
https://andrewbanchich.github.io/forty-jekyll-theme/
Other
1.05k stars 2.16k forks source link

The formspree.io link to the form no longer work #192

Open DarekRepos opened 1 year ago

DarekRepos commented 1 year ago

I tried using formspree.io but the link to the form is no longer valid. I need form id (for instance kljlkjlkj ) that comes from specific endpoint. I use workaround but i think it is better to update the form action link. what do you think? I created PR. By the way, thanks for your time. This project was very helpful.

actual link

 action="https://formspree.io/{{ site.email }}"
 action="https://formspree.io/example@domain.com"

working formspree.io link

 action="https://formspree.io/f/{{ site.emailformcode }}"
 action="https://formspree.io/f/xgfdgfdggvh"
andrewbanchich commented 1 year ago

Ah, I'm sorry to see that they removed the free functionality. They still have a "free" plan which is just for testing.

I'd rather just remove them from this theme. I had added them only because it was a nice, automatic way for the theme's users to get an email form.

Thanks for letting me know!

andrewbanchich commented 1 year ago

Maybe there is another service which does the same thing but doesn't charge. I'll need to look into it when I have some free time.

barthel commented 11 months ago

@andrewbanchich Any update at this point?

andrewbanchich commented 11 months ago

@barthel I haven't had the time to work on themes in a while, but the plan is either to remove the functionality altogether or else replace with a free service.

michalkundrat commented 5 months ago

Working on this now, found something called FormEasy, which is free, open-source and designed for static websites as a replacement to FormSpree.

michalkundrat commented 5 months ago

I've practically finished everything. The only thing left to do is to get the required FormEasy URL from the user via the _config.yml file. However, I have no clue how I can do this in such a way that gives me access to the URL in Javascript. Anyone able to help?

DarekRepos commented 5 months ago

You can add separated variable in the _config.yml file. Check my example, you can get some inspiration. example

It uses pre-rendering with Liquid Tags:

URL is directly accessible in the pre-rendered Javascript, but it requires modification of your layout file. For instance, create a Javascript file and store it in your project's static directory (e.g., assets/form_easy.js). Inside your layout file (e.g., _layouts/default.html), use Liquid tags to pre-render the Javascript code with the FormEasy URL:


<script>
  var formEasyUrl = '{{ site.formEasyUrl }}';
</script>
michalkundrat commented 5 months ago

Cheers mate - this seems to work now. Kept trying it as an identifier rather than a string for some reason 😂 Hopefully will be able to create a pull request soon.

queen18 commented 5 months ago

Hello I can see your messages!

On Tue, Mar 26, 2024, 4:29 a.m. Michal Kundrát @.***> wrote:

Cheers mate - this seems to work now. Kept trying it as an identifier rather than a string for some reason 😂 Hopefully will be able to create a pull request soon.

— Reply to this email directly, view it on GitHub https://github.com/andrewbanchich/forty-jekyll-theme/issues/192#issuecomment-2020059301, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKQM7CHDI5QJSCQ5UG3BYQTY2E5W3AVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGA2TSMZQGE . You are receiving this because you were mentioned.Message ID: @.***>

michalkundrat commented 5 months ago

Hello I can see your messages! … On Tue, Mar 26, 2024, 4:29 a.m. Michal Kundrát @.> wrote: Cheers mate - this seems to work now. Kept trying it as an identifier rather than a string for some reason 😂 Hopefully will be able to create a pull request soon. — Reply to this email directly, view it on GitHub <#192 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKQM7CHDI5QJSCQ5UG3BYQTY2E5W3AVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGA2TSMZQGE . You are receiving this because you were mentioned.Message ID: @.>

Which messages?

queen18 commented 5 months ago

All you send

On Tue, Mar 26, 2024, 4:49 a.m. Michal Kundrát @.***> wrote:

Hello I can see your messages! … <#m1455175194340023958> On Tue, Mar 26, 2024, 4:29 a.m. Michal Kundrát @.*> wrote: Cheers mate

Which messages?

— Reply to this email directly, view it on GitHub https://github.com/andrewbanchich/forty-jekyll-theme/issues/192#issuecomment-2020103735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKQM7CHPKR3CUI6NRLG24X3Y2FAEDAVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGEYDGNZTGU . You are receiving this because you were mentioned.Message ID: @.***>

michalkundrat commented 5 months ago

I'm a little confused. Do you mean these messages, here on GitHub?

On Tue, 26 Mar 2024 at 10:51, queen18 @.***> wrote:

All you send

On Tue, Mar 26, 2024, 4:49 a.m. Michal Kundrát @.***> wrote:

Hello I can see your messages! … <#m1455175194340023958> On Tue, Mar 26, 2024, 4:29 a.m. Michal Kundrát @.*> wrote: Cheers mate

or unsubscribe

https://github.com/notifications/unsubscribe-auth/AKQM7CHDI5QJSCQ5UG3BYQTY2E5W3AVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGA2TSMZQGE < https://github.com/notifications/unsubscribe-auth/AKQM7CHDI5QJSCQ5UG3BYQTY2E5W3AVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGA2TSMZQGE>

. You are receiving this because you were mentioned.Message ID: @.*>

Which messages?

— Reply to this email directly, view it on GitHub < https://github.com/andrewbanchich/forty-jekyll-theme/issues/192#issuecomment-2020103735>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AKQM7CHPKR3CUI6NRLG24X3Y2FAEDAVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGEYDGNZTGU>

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/andrewbanchich/forty-jekyll-theme/issues/192#issuecomment-2020106281, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS5JOFBF5RADQV5NV4XIEMDY2FHJ5AVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGEYDMMRYGE . You are receiving this because you commented.Message ID: @.***>

queen18 commented 5 months ago

Yes idk how I can see what your sending but how do I stop it lol my Gmail is almost full this is not helping 😂

On Tue, Mar 26, 2024, 4:53 a.m. Michal Kundrát @.***> wrote:

I'm a little confused. Do you mean these messages, here on GitHub?

On Tue, 26 Mar 2024 at 10:51, queen18 @.***> wrote:

All you send

On Tue, Mar 26, 2024, 4:49 a.m. Michal Kundrát @.***> wrote:

Hello I can see your messages! … <#m1455175194340023958> On Tue, Mar 26, 2024, 4:29 a.m. Michal Kundrát @.*> wrote: Cheers mate

  • this seems to work now. Kept trying it as an identifier rather than a string for some reason 😂 Hopefully will be able to create a pull request soon. — Reply to this email directly, view it on GitHub <#192 (comment) <

https://github.com/andrewbanchich/forty-jekyll-theme/issues/192#issuecomment-2020059301>>,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/AKQM7CHDI5QJSCQ5UG3BYQTY2E5W3AVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGA2TSMZQGE

<

https://github.com/notifications/unsubscribe-auth/AKQM7CHDI5QJSCQ5UG3BYQTY2E5W3AVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGA2TSMZQGE>

. You are receiving this because you were mentioned.Message ID: @.*>

Which messages?

— Reply to this email directly, view it on GitHub <

https://github.com/andrewbanchich/forty-jekyll-theme/issues/192#issuecomment-2020103735>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AKQM7CHPKR3CUI6NRLG24X3Y2FAEDAVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGEYDGNZTGU>

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/andrewbanchich/forty-jekyll-theme/issues/192#issuecomment-2020106281>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AS5JOFBF5RADQV5NV4XIEMDY2FHJ5AVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGEYDMMRYGE>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/andrewbanchich/forty-jekyll-theme/issues/192#issuecomment-2020110655, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKQM7CHNAW7GWAQSZ72RE33Y2FHSDAVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGEYTANRVGU . You are receiving this because you were mentioned.Message ID: @.***>

andrewbanchich commented 5 months ago

@queen18 You must have clicked "Subscribe" on this GitHub issue page. Just click "Unsubscribe" at the bottom of your email.