PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Creating a post from a form & Display Date field entry in the body of the post

  1. Strada
    Member

    Hi everyone,
    I am setting up a system that will allow users to fill in information about an event via a form.
    So basically I am asking the following information in the form:
    Title of the event (Post Title field)
    Date of the event (Date field)
    Description of the event (Post Body field)
    Category of the event (Post Category field)

    In addition I want to form to generate a post from this information. It does generate a post from the following fields: Post Title, Post Body, Post Category.

    However I want the Date field to appear in the body of the post. And it seem to only show up in the form entry (no sign of it in the post).

    Is it possible to generate a custom post body from a number of entries ?

    Thanks you very much
    --
    Erwan

    Posted 13 years ago on Tuesday July 13, 2010 | Permalink
  2. Strada
    Member

    Please let me know if my question is unclear, or if the answer is obvious.
    I am not a professional in web dev.

    Thanks : )
    --
    Erwan

    Posted 13 years ago on Tuesday July 13, 2010 | Permalink
  3. Strada
    Member

    What seem to be the problem ?
    No one seem to even want to reply to that topic.
    Is my question stupid ?
    Please explain...

    If anyone could answer this question ? I would be probably able to do the rest on my own.

    --
    Erwan

    Posted 13 years ago on Wednesday July 14, 2010 | Permalink
  4. Patience man, you question has been up for less than a day.

    No, there currently isn't a way to generate a custom post body. The thread you referenced has the answer you're looking for.. We're currently working on a method to do this, but it won't be available for a little while yet.

    http://forum.gravityhelp.com/topic/upload-an-image-then-add-it-to-the-post-automatically#post-6936

    Posted 13 years ago on Wednesday July 14, 2010 | Permalink
  5. Strada
    Member

    I am really sorry, I think I was a bit desappointed to see that it is impossible to create a post from form data.
    So I was desperately trying to find a solution.

    Anyway thanks for answering : )

    What about the hook mentioned by Carl in the thread you mentioned ?
    "This can be accomplished by using the available API hooks and writing some custom PHP. "
    Basically he is saying it is possible with a bit of custom code ?

    --
    Erwan

    Posted 13 years ago on Wednesday July 14, 2010 | Permalink
  6. Well, it's not impossible to create a post, it's just limited in how you can format the post body content.

    I'm not entirely sure which hook Carl was referring to offhand, I would have to inquire further about that myself. I do know that it would take more than a "bit" of custom code to pull it off.

    I've seen the new post body add-on that's in work and it's pretty nice but definitely a complex tool to build. I'm not sure how soon it will be until it's completely tested and ready to go, but it won't be too long. We still have the next release in beta and need to get that out the door first.

    Posted 13 years ago on Wednesday July 14, 2010 | Permalink
  7. Strada
    Member

    It will be an add on ?? hum.
    Is it possible to get hold of it without a developer license once its out ?
    The dev license will be a bit too much for us : (
    --
    Erwan

    Posted 13 years ago on Wednesday July 14, 2010 | Permalink
  8. At this point it's looking like it's better suited as an add-on rather than core element. We've discussed making the add-ons available for purchase individually in the future, but haven't decided when just yet. We'll make official announcements later on both points.

    Posted 13 years ago on Wednesday July 14, 2010 | Permalink
  9. Strada
    Member

    Thanks guys !
    The last update made it possible for us to do that !
    you guys know how to keep your promises.
    Thank you very much !
    --
    Erwan

    Posted 13 years ago on Thursday September 23, 2010 | Permalink