Skip to content

Adding Navbar Links

Timothy Gibbons edited this page Apr 21, 2018 · 1 revision

In the recent version you can add custom navbar content. To do this you need to insert the following into the mysql database, as accessing this though the adminCP is currently under development.

Simple Link Format

{
    "links":[
        {
            "name": "Page",
            "type": "link",
            "content": "/page"
        }
    ]
}

Drop-down

Note: This have to one drop down box You cannot add a drop-down box with in a drop-down box.

{
    "links":[
        {
            "name": "Dropdown",
            "type": "multi-link",
            "content": [
                {
                    "name": "Page",
                    "type": "link",
                    "content": "/page"
                }
            ]
        }
    ]
}

Links for only Logged in users

{
    "links":[
        {
            "name": "Page",
            "type": "link",
            "content": "/page",
            "haveLogIn": true
        }
    ]
}

Blacklist links by group

Blacklist group 1,2,3

{
    "links":[
        {
            "name": "Page",
            "type": "link",
            "content": "/page",
            "excludeGroups": [
                1,2,3
            ]
        }
    ]
}
Clone this wiki locally