Forum Replies Created

Viewing 4 Topics - 1 through 4 (of 4 total)
Author Posts
March 31, 2014 at 5:02 pm in reply to: The edit form is empty 17663
Ivar Ivar

After some troubleshooting I discovered that $post_id at line 76 in /class/frontend-form-post.php allways get a value of zero. I ran print_r($_GET) and for some reason $_GET isn’t set. Really weird.

I changed row 76 to this, and now it’s working:

$url = parse_url($_SERVER['REQUEST_URI']);
parse_str($url['query'], $data);
$post_id = isset( $data['pid'] ) ? intval( $data['pid'] ) : 0;

Have you got any idea what happened with $_GET?

March 30, 2014 at 4:06 pm in reply to: The edit form is empty 17616
Ivar Ivar

Yeah, I did exactly as the video said. As mentioned, the form is appearing but all the fields are empty. I could show you in TeamViewer or something if you don’t believe me? 🙂

March 28, 2014 at 10:02 pm in reply to: Start the week on Monday instead of Sunday 17490
Ivar Ivar

Thank you.

March 27, 2014 at 5:41 pm in reply to: Start the week on Monday instead of Sunday 17407
Ivar Ivar

Beautiful, firstDay: 1 did the trick, thanks alot.

By the way, not really related to this question, but is there any smooth way to add own input fields to the form creator? As <input type="number" />. Is the code extendable in this way?

Viewing 4 Topics - 1 through 4 (of 4 total)