RenderProfileFooterEvent
RenderProfileFooterEvent is dispatched from the dashboard user profile page footer. Modules can listen to it when they need profile-specific scripts or markup after the profile screen has rendered.
Where It Runs
This event is implemented in resources/views/pages/dashboard/users/profile.blade.php. NexoPOS dispatches it inside the dashboard footer section.
Available Properties
$event->output: anApp\\Classes\\Outputinstance used to append rendered footer content.
Listener Example
<?php
namespace Modules\MyModule\Listeners;
use App\Events\RenderProfileFooterEvent;
class RenderProfileFooterEventListener
{
public function handle( RenderProfileFooterEvent $event )
{
$event->output->addView( 'MyModule::profile.footer' );
}
}
Summary
- Use this event when a module needs footer output on the profile page.
- Append a Blade view through
$event->output.