Showing custom fields alongside meta tab
iedev1 opened this issue · comments
I've struggled quite a bit to add this plugin to my existing site.
Whenever I added custom fields, the "Metadata (SEO)" tab would disappear.
Neither the Kirby docs nor the plugin docs explain the tabs
option very well (or I just missed it completely!). Regardless, I'm leaving this as a tip for others if they come across the same "issue".
The way to show other fields alongside the plugin's, you need to add another tab. E.g.,
# site/blueprints/site.yml
tabs:
default:
# Your columns / sections, etc
columns:
- width: 1/3
sections:
# ...
meta: tabs/meta/site
# site/blueprints/pages/default.yml
tabs:
default:
fields:
some_field:
label: Some field
type: text
meta: tabs/meta/page
Thanks for the awesome work!
@iedev1 Thanks for your input, I’ve updated the blueprint setup section of the README. Tabs are explained on this page in the Kirby docs, in case you missed it: https://getkirby.com/docs/guide/blueprints/layout#tabs