Reputation: 1753
I am new to ApostropheCMS. I went through the documentation and tried out demos of it. I have created a user listing with filters on it as per the tutorial but I have not got the gist of it completely. I was trying to customise the admin bar. How can I do that? Will I have to override the apostrophe-admin-bar module?
Upvotes: 0
Views: 355
Reputation: 81
In Apos-v3 you can edit the modules\@apostrophecms\admin-bar\index.js
file, to add an item to the groups array.
You can group your modules, like I did for my 'preview', 'navigation' and 'home' pieces :
module.exports = {
options: {
groups: [
{
name: 'media',
label: 'Media',
items: [
'@apostrophecms/image',
'@apostrophecms/file',
'@apostrophecms/image-tag',
'@apostrophecms/file-tag'
]
},
{
name: 'home',
label: 'Gestion Accueil',
items: [
'preview',
'navigation',
'home'
]
},
]
Upvotes: 0