2017 © Pedro Peláez
 

silverstripe-module metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

image

silverstripe-australia/metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  • Wednesday, December 13, 2017
  • by ssau
  • Repository
  • 9 Watchers
  • 11 Stars
  • 9,594 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 13 Forks
  • 2 Open issues
  • 19 Versions
  • 3 % Grown

The README.md

SilverStripe Metadata Module

Maintainer Contacts

Requirements

  • SilverStripe 3+
  • The SilverStripe Orderable module.

Getting started

  • Add the extension to your data class, eg Object::add_extension('Page', 'MetadataExtension');
  • Navigate to the Metadata section of the CMS (/admin/metadata)
  • Create a new Metadata Schema. Note that the 'Title' is what is used to refer to the item from templates, so try and limit this to a-z0-9_-. characters - eg test_schema
  • Add a few metadata fields - some usual ones are
    • Title (title)
    • Keywords (keywords)
    • Description (description)
  • Set the 'Default' value for each of these to $Title. Leave the 'cascade' setting blank for now, as you're providing a default already
  • Navigate to a top level page and on its Metadata tab, select the schema you just created; click save
  • Enter metadata values
  • In your Page.ss template, add the following to output all metadata fields
    • $MetadataMetaTags
  • To output just the values for a particular applied schema, use
    • $MetadataMetaTags(SchemaName)
  • To access raw metadata values directly, use
    • $Metadata(SchemaName,FieldName) eg $Metadata(test_schema,keywords)

The Versions

13/12 2017

dev-master

9999999-dev https://github.com/symbiote/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

13/12 2017
05/10 2017

2.1.x-dev

2.1.9999999.9999999-dev https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

05/10 2017

2.1.4

2.1.4.0 https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

13/09 2017

3.0.x-dev

3.0.9999999.9999999-dev https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

29/06 2017

4.0.1

4.0.1.0 https://github.com/symbiote/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

23/06 2017

4.0.0

4.0.0.0 https://github.com/symbiote/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

11/01 2017

3.0.0

3.0.0.0 https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

05/05 2016

2.1.3

2.1.3.0 https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

22/10 2015

2.1.2

2.1.2.0 https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

04/09 2015

2.1.1

2.1.1.0 https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

12/08 2015

2.1.0

2.1.0.0 https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

07/08 2015

dev-feature-default-schemas

dev-feature-default-schemas https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

28/07 2015

2.0.x-dev

2.0.9999999.9999999-dev https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

28/07 2015

2.0.3

2.0.3.0 https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

01/04 2015

2.0.2

2.0.2.0 https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

04/02 2015

2.0.1

2.0.1.0 https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires

 

04/12 2014

2.0.0

2.0.0.0 https://github.com/silverstripe-australia/silverstripe-metadata

Allows the ability to annotate objects with metadata, according to a CMS defined schema.

  Sources   Download

BSD-3-Clause

The Requires