Injecting content just after the body tag when using filament

Can anyone point me to the correct location to adding a subtle modification the primary template used in Filament v3 - I ned to inject some custom content immediately after the body tag and am having trouble locating the template that used for this. I looked at template resources/views/vendor/filament/components/layout/base.blade.php that I assumed would be the right one but my changes don't get reflected when testing. Is there a more appropriate method I should follow for this perhaps on the panel provider?
7 Replies
awcodes
awcodes2w ago
What do you mean “after the body tag?” Do you mean the opening body tag?
islandnuge
islandnugeOP2w ago
The body hook tag might work, I basically want to inject a view immediately after the tag
awcodes
awcodes2w ago
Again, what do you mean after the tag? In html anything between </body> and </html> doesn’t make sense, it’s not valid.
Matthew
Matthew2w ago
Assume he means after <body>
toeknee
toeknee2w ago
PanelsRenderHook::BODY_START - After <body>
islandnuge
islandnugeOP2w ago
thanks guys - much appreciated!

Did you find this page helpful?