Modal previews

Instead of sending your users to the knowledge base panel, you can render the documentation in a modal right inside your regular panel. This affects the help menu, help actions and modal links.

Enable it on the companion plugin:

$plugin->modalPreviews();

Modal previews example

Slide overs

If you prefer slide overs instead of centered modals, additionally enable:

$plugin->slideOverPreviews();

Slide over example

By default, the modal title is the title of the documentation page. If you'd rather show the full breadcrumb path:

$plugin->modalTitleBreadcrumbs();

Modal breadcrumbs example

Hiding the "Open documentation" button

Modal previews have a footer button linking to the full documentation page. If you only use the modal previews and don't expose the knowledge base panel to your users, you can remove it:

$plugin->disableOpenDocumentationButton();
guava/filament-knowledge-base 161K instalací · 210 hvězd
// COOKIES

Pár cookies drží web v chodu; další si pamatují nastavení nebo počítají návštěvy. Vy rozhodujete, co poběží.

Zásady cookies