Page customization #80
-
Still pretty new to Fabricator and I haven't found any documentation for this but wanted to see if anyone had a way of doing it.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Okay, I found the visible method that I can invoke on my blocks to only show specific one's based on the template. I also made a SEO block but I'm trying to find out if there is a way that I can automatically add that block to specific templates as the first item and it can't be deleted. |
Beta Was this translation helpful? Give feedback.
-
To add SEO fields to sidebar you can use schema slots. You can place this in a service provider FilamentFabricator::registerSchemaSlot('sidebar.after', [
TextInput::make('seo_title'),
//Other fields
]); If you need further customization (other than simply adding fields), you could also override the "PageResource" from the config |
Beta Was this translation helpful? Give feedback.
To add SEO fields to sidebar you can use schema slots. You can place this in a service provider
If you need further customization (other than simply adding fields), you could also override the "PageResource" from the config