Coder Social home page Coder Social logo

Email Form about agency-jekyll-theme HOT 15 CLOSED

y7kim avatar y7kim commented on June 23, 2024
Email Form

from agency-jekyll-theme.

Comments (15)

KompiAjaib avatar KompiAjaib commented on June 23, 2024 3

Thanks Mr. @zbeekman
It was awesome... works perfectly on my blog

from agency-jekyll-theme.

thinkjrs avatar thinkjrs commented on June 23, 2024 3

Also wanted to add my thanks to @zbeekman for the static email solution. I updated the URL on line 23 in /assets/js/contact_me.js (as suggested by @y7kim ) to //formspree.io/"[email protected]" and after confirmation, it just works.

Thanks for sharing your hard work!

from agency-jekyll-theme.

zbeekman avatar zbeekman commented on June 23, 2024 2

@allochory: Take a look at my version for an email form that works on github pages: https://github.com/zbeekman/zbeekman.github.io

from agency-jekyll-theme.

Tamxaun avatar Tamxaun commented on June 23, 2024 1

it works when the wrap of input have a class .control-group, here is the example:

<fieldset class="control-group">
    <input id="email" type="email" data-validation-required-message="Please enter your email" required>
    <p class="help-block text-danger"></p>
</fieldset>

from agency-jekyll-theme.

y7kim avatar y7kim commented on June 23, 2024

Hi,

First of all, thanks for using the theme!

Your issue is actually expected, as github pages only serves static content

  • ie. mail/contact_me.php doesn't work when hosted on github pages. It is
    not too hard to fix however:

First, you will need to sign up for a mail sending service like SendGrid or
Mandrill, which allows you to send email via a Javascript API.

Then, you can modify the ajax request in the 'submitSuccess' method
(line20) in /js/contact_me.js - you will have to replace the url field with
the appropriate API endpoint, and pass the appropriate parameters according
to your mail service provider.

Those are the high-level instructions I will leave you with - if you have
any more questions about implementing it, just let me know. I may be able
to give you some more hands-on help if you are not that familiar with JS
and API's.

Best,

Rick

On Sat, May 30, 2015 at 5:40 AM, allochory [email protected] wrote:

Hello!

I'm using your theme and it is great. However, I've run into one final
poblem with the email form. I get the error "Sorry , it seems that my mail
server is not responding. Please try again later!" I am not sure where the
problem is coming from... I've tried changing the email in the _config.yml
and contact_me.php, to no avail. I'm new to this, so perhaps there is
something wrong with my setup. Any thoughts?


Reply to this email directly or view it on GitHub
#14.

from agency-jekyll-theme.

allochory avatar allochory commented on June 23, 2024

Rick,

Thanks! This is great. I am not familiar, as this is only my second
website, but I'll dive in and see how things go. I appreciate your help
and if I get completely stuck I might take you up on your offer!

Tyler

2015-05-30 18:27 GMT+02:00 Rick K. [email protected]:

Hi,

First of all, thanks for using the theme!

Your issue is actually expected, as github pages only serves static content

  • ie. mail/contact_me.php doesn't work when hosted on github pages. It is
    not too hard to fix however:

First, you will need to sign up for a mail sending service like SendGrid or
Mandrill, which allows you to send email via a Javascript API.

Then, you can modify the ajax request in the 'submitSuccess' method
(line20) in /js/contact_me.js - you will have to replace the url field with
the appropriate API endpoint, and pass the appropriate parameters according
to your mail service provider.

Those are the high-level instructions I will leave you with - if you have
any more questions about implementing it, just let me know. I may be able
to give you some more hands-on help if you are not that familiar with JS
and API's.

Best,

Rick

On Sat, May 30, 2015 at 5:40 AM, allochory [email protected]
wrote:

Hello!

I'm using your theme and it is great. However, I've run into one final
poblem with the email form. I get the error "Sorry , it seems that my
mail
server is not responding. Please try again later!" I am not sure where
the
problem is coming from... I've tried changing the email in the
_config.yml
and contact_me.php, to no avail. I'm new to this, so perhaps there is
something wrong with my setup. Any thoughts?


Reply to this email directly or view it on GitHub
#14.


Reply to this email directly or view it on GitHub
#14 (comment)
.

from agency-jekyll-theme.

y7kim avatar y7kim commented on June 23, 2024

very nice solution zbeekman, thanks.

from agency-jekyll-theme.

Tamxaun avatar Tamxaun commented on June 23, 2024

Hello, I have a similar problem, my form doesn't validate information, just sends the message (

from agency-jekyll-theme.

Tamxaun avatar Tamxaun commented on June 23, 2024

okay I get it now, it seems that input wrap required a proper class

from agency-jekyll-theme.

zbeekman avatar zbeekman commented on June 23, 2024

@Tamxaun can you please elaborate on the fix?

from agency-jekyll-theme.

shoichiaizawa avatar shoichiaizawa commented on June 23, 2024

The email form issue still seems persistent even after this fix #33. I was wondering what else I was missing to make it work 😢

from agency-jekyll-theme.

leicao-me avatar leicao-me commented on June 23, 2024

@thinkjrs Thank you very much. You gave a concrete solution of @y7kim 's answer.

from agency-jekyll-theme.

nedojp avatar nedojp commented on June 23, 2024

@thinkjrs is it possible to get a little bit of support in the contact form?

from agency-jekyll-theme.

Belmires avatar Belmires commented on June 23, 2024

Boa Tarde, estou como o mesmo problema alguém poderia me ajudar ?

from agency-jekyll-theme.

AsadbekNematov avatar AsadbekNematov commented on June 23, 2024

Rick,

Thanks! This is great. I am not familiar, as this is only my second
website, but I'll dive in and see how things go. I appreciate your help
and if I get completely stuck I might take you up on your offer!

Tyler

2015-05-30 18:27 GMT+02:00 Rick K. [email protected]:

Hi,
First of all, thanks for using the theme!
Your issue is actually expected, as github pages only serves static content

  • ie. mail/contact_me.php doesn't work when hosted on github pages. It is
    not too hard to fix however:

First, you will need to sign up for a mail sending service like SendGrid or
Mandrill, which allows you to send email via a Javascript API.
Then, you can modify the ajax request in the 'submitSuccess' method
(line20) in /js/contact_me.js - you will have to replace the url field with
the appropriate API endpoint, and pass the appropriate parameters according
to your mail service provider.
Those are the high-level instructions I will leave you with - if you have
any more questions about implementing it, just let me know. I may be able
to give you some more hands-on help if you are not that familiar with JS
and API's.
Best,
Rick
On Sat, May 30, 2015 at 5:40 AM, allochory [email protected]
wrote:

Hello!
I'm using your theme and it is great. However, I've run into one final
poblem with the email form. I get the error "Sorry , it seems that my
mail
server is not responding. Please try again later!" I am not sure where
the
problem is coming from... I've tried changing the email in the
_config.yml
and contact_me.php, to no avail. I'm new to this, so perhaps there is
something wrong with my setup. Any thoughts?

Reply to this email directly or view it on GitHub
#14.


Reply to this email directly or view it on GitHub
#14 (comment)
.

good morning. i am not familiar to APS so can i ask where i can get API to replace

from agency-jekyll-theme.

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.