WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms - Update Post
How do I pass post ID to the page? (4 posts)

  1. redwall
    Member
    Posted 1 year ago #

    Hi,

    I have your plugin working great, exactly what I needed to do. Thanks a lot!!!

    However I have it all working manually as a test

    i.e. I manually append my page url with the form in it with the post id "?gform_post_id=476"

    In the plugin description you write we need to pass this ID to the page. I guess this is passed dynamically somehow but I have no clue how to do it or where to get started.

    Can the post id be passed through based on the post assigned to the author? For example my Authors will only have 1 post. So when they visit the page with the form, is it possible that based on their user_login we can detect their post_id associated with them and pass that through to the URL so the correct content is displayed?

    Thanks in advance

    http://wordpress.org/extend/plugins/gravity-forms-update-post/

  2. srumery
    Member
    Posted 1 year ago #

    redwall,

    I have the same question. I am able to get the post id from the associated user based on the login id and it's ready to be passed in but it looks like the plugin only wants this from the query string (gform_post_id=476) and not through a variable passed from the page template. I don't want to expose the post id at all and need to have it pulled directly from the page template based on my application logic. Have you been able to get this to work by passing the post id directly?

    It doesn't look like the plugin author is responding to support in this forum. I will try an email directly and see if I get a response.

  3. wpoo
    Member
    Posted 10 months ago #

    The topic is quite old but for all people looking for a solution.
    Read this topic [ http://wordpress.org/support/topic/plugin-gravity-forms-update-post-not-show-any-images?replies=8 ] ->jcow's answer.

  4. myhero
    Member
    Posted 10 months ago #

    Hi,

    Have any of you managed to get this to work?

    jcow
    Member
    Posted 5 months ago #

    This is my update.

    Overview | Download

    This is still being tested by me, but it is working for what I need so far. I needed to remove GET variable dependancy and to be able to update files. The file part isn't very graceful, but it is working.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.