BuddyDev

Search

[Resolved] Group Tabs Creator Pro – Advanced custom fields

  • Participant
    Level: Enlightened
    Posts: 24
    John Prendergast-Walsh on #35566

    Hi Brajesh,

    It is a custom post type, thats what I said at the beginning and why I thought bypassing the content section and being able to point directly to the page may work better.

    You can see the code for the page here. https://pastebin.com/3xVpVdKj

    I hope this helps

    Best regards

    John

  • Keymaster
    (BuddyDev Team)
    Posts: 24250
    Brajesh Singh on #35614

    Hi John,
    I am sorry, that won’t work with the addon. I do not think that dynamic group content or any similar plugin will help.

    The reason is these plugins are aimed at adding content while your goal is to load custom page template with the content. You need some way to allow you override the layout.

    I am afraid, we don’t have anything to server this use case yet.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 24
    John Prendergast-Walsh on #35616

    Hi Brajesh,

    Thats a shame. I have tried one other option, where I have a content field where I can add code into the custom page. One just copying and pasting the menu code from the group

    https://legally-linked.com/law_firm_technology/addleshaw-goddard-technology/

    The other trying to copy a bit more in, but images don’t work very well.

    https://legally-linked.com/law_firm_technology/bird-and-bird/

    It’s not ideal. Can you think of a way to add group page code into the custom post type file as on pastebin, or copy into each individual post as I have?

    Best regards

    John

  • Participant
    Level: Enlightened
    Posts: 24
    John Prendergast-Walsh on #35621

    Hi again Brajesh,

    It looks like we can get the ACF fields to work in the content section. It states in their docs that it only works for basic text fields, but it looks like we may be able to get it to work with a bit of tinkering for arrays.

    https://www.advancedcustomfields.com/resources/shortcode/

    I will upload the custom post page and content section to pastebin if we can get it working as desired.

    Best regards

    John

  • Participant
    Level: Enlightened
    Posts: 24
    John Prendergast-Walsh on #35719

    Hi Brajesh,

    So finally got the advanced custom fields working in the dynamic content section correctly, with the grid etc, by using shortcodes.

    You can see the content code here: https://pastebin.com/sPTUXTPw

    and an example result page here.

    https://legally-linked.com/groups/weightmans/law-firm-technology/

    There was an issue as the ACF shortcodes are not set-up for displaying complex fields or arrays, and the support trying to fix a silly issue was not as good as yours, but we got around the issue by a CSS fix.

    Thanks again for all your support so far.

    Best regards

    John

You must be logged in to reply to this topic.

This topic is: resolved