Search code examples
seoplonemeta-tagscustom-type

How to add META tags in Plone custom content template


I have a Plone 4.2 customized home page template (view.pt) that is missing META tags which appear in the (main_template.pt). I've added the entire section from main_template.pt to the same place in view.pt but this fails to add the meta tags.

What structures do I need to add to my template for the meta tags to appear on these custom template types?

Many Thanks!


Solution

  • The solution is that the QuintaGroup SEO Properties package contains a known bug. http://projects.quintagroup.com/products/attachment/ticket/249/unat.diff identifies what changes to make in the case of a Dexterity created Content Type template.

    You need to make the change to the package then add it to your site(s) and restart.