RenderLoginFooterEvent
RenderLoginFooterEvent is dispatched from the NexoPOS sign-in page footer. Modules can listen to it when they need to append scripts, markup, or a Blade view that is only required on the login screen.
Where It Runs
This event is implemented in resources/views/pages/auth/sign-in.blade.php. It is dispatched inside the layout.base.footer section before the authentication assets are loaded.
Available Properties
$event->output: anApp\\Classes\\Outputinstance used to append rendered footer content.
Listener Example
<?php
namespace Modules\MyModule\Listeners;
use App\Events\RenderLoginFooterEvent;
class RenderLoginFooterEventListener
{
public function handle( RenderLoginFooterEvent $event )
{
$event->output->addView( 'MyModule::auth.sign-in-footer' );
}
}
Summary
- Use this event for footer content required only on the sign-in page.
- Append content with
$event->output->addView().