-
Notifications
You must be signed in to change notification settings - Fork 55
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
Plugin functions affecting page properties #187
Comments
I provided a patch for this specific "empty metatags" case. |
The fact, that og_title from the table "pages" is overwritten, seems like a bug to me. However, even if pages.og_title were empty, a content element should not have any effect on the meta tags. The preview on Facebook or Twitter merely shows the title of the selected category, when using "List by Category". The page title is in most cases more meaningful and inviting (even when pages.og_title is empty). In one installation, we placed the "List by Category" element on many pages. It took me quite a while to find the reason for those weird meta tag values. I didn't even consider a content element as the origin of the problem, because this behaviour is so unusual. As @helsner said, this "feature" should be optional (and disabled by default). |
once again i stumbled upon this issue. |
We have the same case - customer have post list by category on home page. Title and description is empty on that page because is overridded by plugin. We XClass PS. can someone explain why plugin creating post list overrides meta of page when editor can manage metatags from page TCA form? |
blog/Classes/Controller/PostController.php
Line 238 in cd8a00a
The marked point is a good feature to help out automatic setup of the blog but causes also a problem.
At this point the plugin which is a content element, directly affects the page properties, which should not be mixed IMHO.
We stumbled upon this behavior as the customer was reporting that his meta description of the page has been missing even though it definitely got saved etc. (also yoast_seo breaks, which is just a side affect)
My recommendation would be to check for the existence/value of the category and leave the tag addition out if the value is empty
The text was updated successfully, but these errors were encountered: