Files
alfresco-content-app/projects/aca-about
Denys Vuika 99140b3ac9 [ADF-5252] Disable settings and about pages by default (#1750)
* move Settings readme to the plugin itself

* disable settings, update readme

* about plugin readme

* disable about module
2020-11-10 17:03:19 +00:00
..
2020-10-15 11:24:10 +01:00
2020-10-14 10:46:51 +01:00

About Plugin for Alfresco Content App

Provides the "About" page for ACA and ACA-based apps.

Installing

Import the module into the application:

// src/app/extensions.module.ts

import { AcaAboutModule } from '@alfresco/aca-about';

@NgModule({
  imports: [
    // other modules
    AcaAboutModule
  ]
})
export class AcaAboutModule {}

Update the app.extensions.json extension configuration to enable extra routes and components:

{
  "actions": [
    {
      "id": "app.actions.about",
      "type": "NAVIGATE_URL",
      "payload": "/about"
    }
  ],

  "routes": [
    {
      "id": "app.about",
      "path": "about",
      "layout": "app.layout.main",
      "component": "app.about.component"
    }
  ],

  "features": {
    "header": [
      {
        "id": "app.header.more",
        "children": [
          {
            "id": "app.header.about",
            "order": 100,
            "title": "APP.BROWSE.ABOUT.TITLE",
            "description": "APP.BROWSE.ABOUT.TITLE",
            "icon": "info",
            "actions": {
              "click": "app.actions.about"
            }
          }
        ]
      }
    ]
  }
}

Compile and distribute/run the application.