How we can add multiple top button in sub panel side by side

If we add multiple Top button for sub-panel then, by default Suitecrm show all buttons in list view one after anther like Create and Select button as shown in attached image.

How we can add Top buttons side by side instead of showing in list. I need to show top buttons side by side, can any one has any idea about this that how we can do this.

I am using SuiteCRM Version 7.11.8
Please suggest on this.

Thanks in advance

Check answer in this post:

Thanks,

BrozTechnologies

@BrozTechnologies Thank you for your Response.

@BrozTechnologies I tried with the solution that you have suggested. Admin -> System Settings and uncheck the “Display actions within menus” check box

But it will affects for both Details View Action items list as well as for Sub-panel Top button Actions as well.

I don’t want to to make any changes for Details View Action items list, I want this as a list and change only for Sub-panel Top button Actions.

Is there any way that we can do this through the code?

@ciwarkar
Change the function ‘get_buttons’ in file ‘include/SubPanel/SubPanelTiles.php’
before

...
        require_once('include/Smarty/plugins/function.sugar_action_menu.php');
        $widget_contents = smarty_function_sugar_action_menu(
            [
                'buttons' => $buttons,
                'class' => 'clickMenu fancymenu',
            ],
            $this->xTemplate
        );
...

after

...
        require_once('include/Smarty/plugins/function.sugar_action_menu.php');
        $widget_contents = smarty_function_sugar_action_menu(
            [
                'buttons' => $buttons,
/* start add */
                'flat'=>true,
/* stop add */
                'class' => 'clickMenu fancymenu',
            ],
            $this->xTemplate
        );
...

I don’t know how it do in custom directory. You should do it after each upgarde version.

@ciwarkar,

You are right. The standard solution will affect all those options as well. Other options is to test @p.konetskiy solution.

Thanks,

BrozTechnologies

Thank you so much. I tried your solution and its work.