Download the PHP package wdelfuego/nova4-customizable-footer without Composer
On this page you can find all versions of the php package wdelfuego/nova4-customizable-footer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wdelfuego/nova4-customizable-footer
More information about wdelfuego/nova4-customizable-footer
Files in wdelfuego/nova4-customizable-footer
Package nova4-customizable-footer
Short Description Customizable footer for Laravel's Nova 4
License MIT
Informations about the package nova4-customizable-footer
Package deprecated
Version 1.0.3 is the final version of this package.
As of Nova 4.3, footer customization is available natively in Nova.
This package is no longer necessary and has been reduced to a wrapper around the native functionality for compatibility reasons, so that developers who don't switch to the native solution don't keep depending on the workaround implemented by previous versions of this package. Read on for the original (< 1.0.3) documentation of this package.
This package reintroduces footer customization to Laravel's Nova 4.
Installation
Add the dependency to your project's composer.json
:
This package sets the default footer content to an empty string, so if you only wanted to remove the default footer you are now done.
Customizing the footer
-
Open
app/Providers/NovaServiceProvider.php
and add a use statement forWdelfuego\Nova4\CustomizableFooter\Footer
. - In the
boot
method of that class, set your custom footer content by supplying the raw HTML:
Word of warning
This package works by updating the DOM after the Nova interface has been loaded successfully. Finding the footer element in the DOM is not an instantaneous process, the original footer content may still be visible to the end user for a brief moment. This typically only happens when the user first loads Nova.