Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • SolusVM
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • SolusVM
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • WP Guardian
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • WP Guardian
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Plesk Developer Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • WP Guardian
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Plesk Developer Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • WP Guardian
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Plesk Developer Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Embed Active List Components

 
extensions guideimplement uiintegrate to plesk uiplesk features available for extensionsdomains

Plesk SDK API allows you to embed information (currently only custom
services) into certain items of existing Active List objects. To do
that, implement the
pm_Hook_ActiveList
interface. It provides the following methods:

  • getItemServices($controller, $action,
    $itemId)

    returns the array of configuration parameters of the service that
    will be embedded in an item with id=$itemId list on
    /$contorller/$action page. Service configuration:

    • title - the title of the service.
    • icon - the icon of the service.
    • link - the link to the service (optional).
    • toolbar - an array of tools of service (optional).
    • messages - an array of service messages (optional).

To illustrate the approach, the following sample project is provided by
Plesk: https://github.com/plesk/ext-active-list-hook

Example: Embedding custom services to Websites & Domains active list

src/plib/hooks/ActiveList.php

<?php
class Modules_<YourExtensionName>_ActiveList extends pm_Hook_ActiveList
{
    public function getItemServices($controller, $action, $itemId)
    {
        if ($controller !== 'web' || ($action !== 'view' && $action !== 'overview')) {
            return [];
        }
        return [
            [
                'icon' => pm_Context::getBaseUrl() . 'images/icon-service1.png',
                'title' => pm_Locale::lmsg('service1Title'),
                'link' => pm_Context::getActionUrl('service1', 'index') . '/id/' . $itemId,
                'toolbar' => [
                    [
                        'title' => pm_Locale::lmsg('action1Title'),
                        'link' => pm_Context::getActionUrl('service1', 'action1') . '/id/' . $itemId,
                    ],
                    [
                        'title' => pm_Locale::lmsg('action2Title'),
                        'link' => pm_Context::getActionUrl('service1', 'action2') . '/id/' . $itemId,
                    ],
                ],
            ],
            [
                'icon' => pm_Context::getBaseUrl() . 'images/icon-service2.png',
                'title' => pm_Locale::lmsg('service2Title'),
                'link' => pm_Context::getActionUrl('service2', 'index') . '/id/' . $itemId,
                'toolbar' => [
                    [
                        'title' => pm_Locale::lmsg('action3Title'),
                        'link' => pm_Context::getActionUrl('service2', 'action3') . '/id/' . $itemId,
                    ],
                ],
                'messages' => [
                    [
                        'icon' => pm_Context::getBaseUrl() . 'images/attention.png',
                        'info' => pm_Locale::lmsg('serviceMessage1'),
                        'noEscape' => true,
                    ],
                ],
            ],
        ];
    }
}
Read the full article
Related Posts

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »

Unveiling Sitejet Builder: The Perfect Match for Your Effortless Website Creation Needs

Read More »

Dynamic List vs. Active List: A Comprehensive Comparison – Unveiling the Ultimate Winner!

Read More »
Knowledge Base

Exercise 1. Tabs, Forms, Lists, Tools

Read More »

Location of Domain Registration and Domain Management Buttons

Read More »

Managing ICP Permits – Assigning ICP Permits to websites

Read More »

Using remote Git hosting – Use Webhooks for Automatic Pull

Read More »

Hosting Wiki

  • GIT
  • DBMS Interface
  • GitHub
  • PhpMyAdmin
  • phpPgAdmin
  • PHP
  • Domain
  • Plesk
  • HTTP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2026 WebPros International GmbH

Part of the WebPros®  Family