Skip to content
On this page

Widgets

A single tab can be used as dashboard widget.

Define them in a special config/contentoverview/widgets.php page config file.

php
<?php

use wsydney76\contentoverview\Plugin;

$co = Plugin::getInstance()->contentoverview;

return [
    'tabs' => [
        $co->createTab('Site', require 'tab1.php'),
        $co->createTab('News', require 'tab2.php'),
    ]
];

There is a small dashboard widget, offering quick links to each tab of the overview page.

screenshot

Tab Widget

A single tab can be shown in a dashboad widget. Available tabs are defined in widgets.php page.

screenshot