Combine Group Title using a FIELD => ID + numeric indicator {#}

Support MB Group Combine Group Title using a FIELD => ID + numeric indicator {#}Resolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14410
    Teia Local StudioTeia Local Studio
    Participant

    Hello Ahn!

    I would like to ask if it is possible, for GROUP_TITLE to make a combination between:

    'group_title' => array( 'field' => 'title' )
    and
    'group_title' => '{#}'

    I have no idea how to mix both (or even if it is possible at the current moment). I would like to suggest some extra param to activate the number indicator on each GROUP_TITLE, TRUE or FALSE.

    Something like:

    array(
        'id'     => 'my-block',
        'type'   => 'group',
        'collapsible' => true,
        'group_title' => array( 'field' => 'title' ),
        'counter' => true, // Combines the title with the iterator {#}: Displays a number before the title (#1: My Title)
        'save_state' => true,
        'clone'  => true,
        'sort_clone' => true,
        'fields' => array( ...)
    )

    Nothing essential, but could be nice to have it someway.
    Thanks!
    G.

    #14415
    Anh TranAnh Tran
    Keymaster

    Hi G.,

    In the latest version of Group, we have improved the settings for group title, so you can simply enter something like this:

    'group_title' => '{#} {field_1} {field_2} Something else'

    I have just updated the docs for that.

    #14424
    Teia Local StudioTeia Local Studio
    Participant

    Oh super.
    I was relying on the documentation info!

    Thanks for the update, Ahn.
    I really, really, love the whole [M]MetaBox world!

    Regards!
    G.

    (I think this topic can be locked!)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.