nystudio107 / craft-seomatic

SEOmatic facilitates modern SEO best practices & implementation for Craft CMS 3. It is a turnkey SEO system that is comprehensive, powerful, and flexible.
https://nystudio107.com/plugins/seomatic
Other
165 stars 70 forks source link

Contents of `config/seomatic-config/globalmeta/Creator.php` not being applied to front end output #1127

Closed johndwells closed 2 years ago

johndwells commented 2 years ago

I've tried this a couple of times now, still to no avail. I've taken this file:

https://github.com/nystudio107/craft/blob/craft-vite/cms/config/seomatic-config/globalmeta/Creator.php

And dropped it into an existing project, and if I view /humans.txt it doesn't output the Creator's name or other information.

I then tried creating a fresh project using that repo, and it's the same result - the contents of Creator.php are not reflected in the Twig output, they are overridden by what has been stored in the DB (filled in from the migration).

To reproduce

Steps to reproduce the behaviour:

  1. Follow examples to install https://github.com/nystudio107/craft
  2. Once running (e.g. make up), modify the contents of config/seomatic-config/globalmeta/Creator.php
  3. Visit /humans.txt to see no changes take effect :(

Versions

khalwat commented 2 years ago

All of the settings in seomatic-config are only applied when the meta containers are first created.

None of them are intended to override anything in the database, but rather serve as a template for initially creating what will end up in the database.

johndwells commented 2 years ago

@khalwat Ah! OK that's quite different from what I'd understood. Glad I asked before trying again!