donrhummy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How combine multiple pages/templates into one page?jivani, but will that include that page’s contents as well as the template?
And I don’t want to run the other pages’ contents through that page’s templates. I want to combine them after each template has had it’s page contents run though it first.
Nykess – the only way I was able to figure out was with javascript. In WordPress (under Contact Form 7) when you’re creating a form, at the bottom there’s a place where you can put some javascript to be called when it submits. You can make this call your function which then looks for (if I remember correctly) the elements of class “wpcf7-not-valid-tip”.
Forum: Plugins
In reply to: [Contact Form 7] How do I implement contact form 7 with AJAX?I discovered the problem but am not sure how to fix it:
It’s including Javascript files via a non-relative URL (so it shows up as “http://localhost/wordpress/wp-includes/js/jquery/jquery.js?ver=1.7.2”
How do I make it include the files (scripts and stylesheets) via relative urls?
Also, I already use jQuery (a later version) so I’d like to use that version instead. How do I change this?
Forum: Plugins
In reply to: [Contact Form 7] How do I implement contact form 7 with AJAX?I have included the correct javascripts (via wp_head() and wp_footer()) and now the submit button doesn’t reload the page but submits via ajax (the form shows up in the database) but it never gives me any validation errors and it never shows success/failure notices either! How do I debug this?
Forum: Plugins
In reply to: [Contact Form 7] How do I implement contact form 7 with AJAX?Takayuki Miyoshi, I did look at that. It still does not tell me how to do it. When I create a form in the WordPress admin section, is there a box I check to make it Ajax instead of normal submit form? How do I make it submit via Ajax?
Forum: Plugins
In reply to: [Contact Form 7] Validation for text only in Contact form7AJ_Joel,
You can use both. Simply add a filter for the one I posted (it explains how in the article) and it’ll call both that and your jquery one. BTW, there is one error in the article: it needs to return the result (see the comments in that article).Forum: Plugins
In reply to: [Contact Form 7] Validation for text only in Contact form7@primaveranz I figured it out (not for individual fields yet, but for the failed to send message). There’s a field called [response] that you can wrap like this (you do it in the section of WordPress where you create the form itself)
<div class=”someClassIMakeUp” id=”anyIDIWant”>[response]</div>
Then you can move that div anywhere you want.
What I still don’t know how to do is move the error responses for indivudal validations. How do I do this?