Implement Small Buttons

Below are the examples of controller and view for rendering small buttons.

Controller:

$this->view->smallTools = array(
        array(
            'title' => 'Example',
            'description' => 'Example module with UI samples',
            'class' => 'sb-app-info',
            'link' => pm_Context::getBaseUrl(),
        ),
        array(
            'title' => 'Modules',
            'description' => 'Modules installed in the Panel',
            'class' => 'sb-suspend',
            'link' => pm_Context::getModulesListUrl(),
        ),
    );

View:

<?php echo $this->renderSmallTools($this->smallTools); ?>
 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.