0.0.13 • Published 10 months ago

@tanglemedia/directus-collection-page v0.0.13

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

@tanglemedia/directus-collection-page

Installs the Page Collection to your Directus project.

The package will install the following collections:

  • Page Collection tngl_page

It automatically sets the following:

  • Creates a new role called Website. If the Website role already exist, it will not create a new one.
  • Website role will have READ permission to tngl_page collection
  • Sets default presets when viewing a list of pages

Requirements

  • Directus >= 10.10.1
  • Node >= 18.x.x

To enable auto-generation of the slug / url based on the title of the collection, please install the following Directus Extensions:

  • directus-extension-wpslug-interface
  • directus-extension-display-link

Install

  1. Add the following variables to your Directus env file:

    • SITE_BASE_URL (Base url of the site. Needed to properly format the full url of the page in the collection)
  2. npm i @tanglemedia/directus-collection-page

  3. npx directus bootstrap to update your database and restart directus

What's inside the package

Job Collection

  • Status (defaults to "Draft")
  • Title (required)
  • Slug / URL (required, unique)
  • Image
  • SEO
    • Keywords
    • Description
0.0.10

10 months ago

0.0.11

10 months ago

0.0.12

10 months ago

0.0.13

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.1

11 months ago