Morgan Feeney
Forum Replies Created
-
Forum: Hacks
In reply to: Why is my php form not working?Oh yeah the z-index issue, I can sort that out if the form works in it’s current state, if not I’ll just put it back to what it was until I find a solution.
Forum: Hacks
In reply to: Why is my php form not working?To be honest it’s just been guess-work by adding bits together from different sources, I found various forms that all did things I liked and then amalgamated them, and somehow through sheer determination got something to work.
The parts I don’t understand are as follows:
source url of the data in the email
What’s that in layman’s terms?
just to be on the safe side, you should use === and !== for comparing values (and not == and !=
Do I replace == with === and != with !== ?
I didn’t know I was using a plugin called cForms ii, I haven’t used any more code other than what you have seen so if there was a js plugin called cForm I have no idea where it is.
The last part was over my head, could you please explain in dummy terms if you have the patience, cheers.
Forum: Hacks
In reply to: Why is my php form not working?I just tried it and it still won’t work, I enqueued the script like so:
<?php
function my_scripts_method() {
// register your script location, dependencies and version
wp_register_script(‘form_script.js’,
get_template_directory_uri() . ‘/js/form_script.js’,
array(‘jquery’),
‘1.0’ );
// enqueue the script
wp_enqueue_script(‘form_script.js’);
}
add_action(‘wp_enqueue_scripts’, ‘my_scripts_method’);
?>Separated the js and still no joy ;(
Actually, you totally can, but you need additional HTML and a little bit of JS to make it work. I have implemented this in the past. LMK if you are interested and I’ll make you a JSFiddle you can use as reference.
OK go on then
Forum: Hacks
In reply to: Why is my php form not working?Hi Marventus
I got the message that states: “Second test.”, I’m presuming you sent the other one from wp part of the website. I will make that change you mentioned last night and see if it helps.
Cheers
Forum: Hacks
In reply to: Why is my php form not working?Thanks for the response, I’ve used the wp_enqueue_script function before to call scripts such as jQuery, in the head.php file. I was under the impression that jQuery has to be written as “jQuery” and not as “$” that’s why they are different, it means the same thing though… doesn’t it, $ is shorthand for jQuery.
The jQuery function works, it’s when it goes to get the process.php file that it fails, correct me if I’m wrong.
The images are like that as you can’t get a css transition looking correct from a sprite sheet, it would slide the image as opposed to fade etc. However you have made me ask myself whether it is worth having the transition if the images have to load every time.
Forum: Plugins
In reply to: [Donate Plus] [Plugin: Donate Plus] adding more field in formHi Alvaro
I am using Donate Plus on a WordPress site that has a static frontpage. It is updating the total on the site, adding the donor details to the donor wall and sending the appropriate emails. Problem is that the payments are unclaimed for some reason and therefore won’t appear in the desired paypal account and update the IPN history.Is this something you have come across before?
Any advice is appreciated