Add create post to group homepage

Created on 13 September 2010, about 14 years ago
Updated 27 October 2024, 27 days ago

I want to use New Custom Content in group homepage panel to put a simple form for posting content into that group.
I put html code of form and it works well, but once I logout and login again it doesn't function because of validation error of form token.
What kind of code (php code?) I can use to create this form. I also found drupal_get_token() function inside drupal_prepare_form() which is responsible for generating token, but I don't know how to use it inside my custom panel.

Thanks in advance

💬 Support request
Status

Closed: outdated

Version

2.1

Component

og.module

Created by

🇲🇾Malaysia rezvani63

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇷🇴Romania claudiu.cristea Arad 🇷🇴

    This version of Drupal is not supported anymore. If this is still an issue in the 8.x-1.x branch, please open a new up-to-date ticket. Closing.

Production build 0.71.5 2024