Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMS Page meta_title is not exported or imported #16

Open
jwhitney55 opened this issue Oct 24, 2019 · 0 comments
Open

CMS Page meta_title is not exported or imported #16

jwhitney55 opened this issue Oct 24, 2019 · 0 comments

Comments

@jwhitney55
Copy link

I noticed the meta title is missing from CMS pages on export and import. This can be fixed with two lines of code in /Model/Content.php:

At line #160:
CmsPageInterface::META_KEYWORDS => $pageInterface->getMetaKeywords(),`

add this:
CmsPageInterface::META_TITLE => $pageInterface->getMetaTitle(),

Then, at line #423:
->setMetaKeywords($cms[CmsPageInterface::META_KEYWORDS])

Add this:
->setMetaTitle($cms[CmsPageInterface::META_TITLE])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant