Pretty new to grav, I want to add a tab under configuration (system, site, media, security, info, <>) but not sure how. Is there an easy way to go about adding one?
Thanks
Pretty new to grav, I want to add a tab under configuration (system, site, media, security, info, <>) but not sure how. Is there an easy way to go about adding one?
Thanks
you need to create a new yaml file in the user/config Folder, e.g. newtab.yaml.
the question, however, is: what do you expect to achieve with this ?
because, just a new tab with some entries will not do anything useful
you need to create a new yaml file in the user/config Folder, e.g. newtab.yaml.
the question, however, is: what do you expect to achieve with this ?
Good question because the solution will depend on the answer to this question.
because, just a new tab with some entries will not do anything useful
That’s quite right.
@pamtbaau ,
no, I did not test my first answer, because from the 2nd and 3rd, it was clear that this would not do anything useful on its own.
I just supposed tabs are directly related to existing yaml files in that folder.
but, as now tested, a newtab.yaml file will just have no affect at all, which makes sense
Playing around mostly but, I wanted to add a tab with radio button list of Bootstrap icons to select an icon in the panel for a Bootstrap theme I’m working on (I tried doing a drop down list in the theme config but for some reason could not get it to display all options and was kind of, clunky at ~2,000 options lol)
ok, with that intention, you should IMHO really create a config page for your Theme and not try to modify the Grav Admin page.