zucchi/geotags

Module to add GeoTag fields to site (or Page) and inject the into the SiteTree->MetaTags function via an Extension

Installs: 242

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 2

Open Issues: 3

Type:silverstripe-module

dev-master 2015-08-02 13:48 UTC

This package is not auto-updated.

Last update: 2020-07-06 06:00:37 UTC


README

By default this provides the ability to specify site wide GeoTags by adding th e relevant Fields for Geo data to the Site Config.

It also provides the ability to add Page type specific Geo Data by adding the Extension to the appropriate Page type in you config.yml.

CustomPageType:
  extensions:
    - GeoTagsExtension

This extension used the built in ablity to extend the MetaTags method in the site Tree. If you subclass this method remember to make a call back to the parent.