Page customization #80
Answered
by
Z3d0X
matt-shirey
asked this question in
Q&A
|
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.
|
Answered by
Z3d0X
Jul 17, 2023
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. |
0 replies
|
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 |
2 replies
Answer selected by
matt-shirey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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