Groups Post in Context

I am trying to create a Post in Context timeline for group pages but the post form doesn't show for some reason. I used the same modules that I used on my spaces and it works fine there. Is this a bug or am I setting something up wrong?

  • 236
  • More
Attachments
Replies (7)
    • Hello @Corey Dozier !

      It seems this block doesn't have the id bound. How to add it:

      1) go to the Studio->Developer->Pages->Groups->View Group area

      2) open this block to edit

      3) add the following lines to the Code field:

      array (
       'module' => 'system',
       'method' => 'get_create_post_form',
       'params' => 
       array (
        0 => '{profile_id}',
       ),
       'class' => 'TemplServices',
      )
      
      • Thanks @LeonidS. Thanks for the response on this. Th code was already in there. I went ahead and replaced it with what you sent just in case there was a typo in it or something, but still didn't work.

        It looks like the box flashes when the page first opens but then it just disappears. I have attached a video of that here.

        • I get the same glitch with the timeline module in groups when I try to use {display_name} on the post block. it works everywhere else on the page, though. I attached a video here if it showing the name for a split second and then going away.

          • I found what was causing this all to happen!

            There is this checkbox in Studio >> Settings >> System >> Site Settings that is making the the "Create Post (Context) block not work in groups and events. It was also keeping different things from appearing in the visibility dropdown in areas.

            image_transcoder.php?o=sys_images_editor&h=1910&dpx=2&t=1712073696I do not understand what "Treat context posted in context as content" means so I don't know what the affect of it is but unchecking it seems to fix the issues.

            • Hello. UNA has ConteXt apps (Groups, Events, Spaces, etc) and ConteNt apps (Posts, Photos, Videos, etc). Context may have its own Create Post form which allows to post Content in Context. But some Contexts, like Groups and Events, can be posted in Context too. It was made to allow users? for example, to post Events in Groups. So, this setting tells the system that Context (for example a group) which was posted in another Context (for example a space) will be treated as Content. It means that this new group won't have its own Create Post form and another content cannot be posted in it. It was added to allow the admin to limit nesting with only 2 levels: Context and Content. Avoiding situations like Post in Group, which is in Event, which is in another Group, which in another Event, which in its turn in Space, etc, etc, etc.

              • Thanks for the explanation Anton! I will have to read that very slowly about 10 more times to fully understand 😂 but I really appreciate it!

                • You are welcome and yes, imagination should be switched on during reading this... 😬

                  Login or Join to comment.