kirby-seo icon indicating copy to clipboard operation
kirby-seo copied to clipboard

From a mail - Frontend does not reflect backend

Open jenstornell opened this issue 8 years ago • 0 comments

One thing i noticed is that the fallback works perfectly in the backend panel while in the frontend it doesn't. I digged a bit into the code and found the problem:

Here you call the panel function with field parameter: https://github.com/jenstornell/kirby-seo/blob/master/fields/seo/seo.php#L16

while here you don't: https://github.com/jenstornell/kirby-seo/blob/master/seo.php#L10

and for the fallback to work the field needs to be defined here: https://github.com/jenstornell/kirby-seo/blob/master/core/core.php#L304

Since the field is not a string but an object, I don't have an Idea how to pass it in the frontend call.

Could you have a look into this? That would be awesome!

jenstornell avatar Apr 04 '17 05:04 jenstornell