Skip to content

codesache/addrelcanonical-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add rel="canonical" entries for Glossary-, FAQ-, and News-, and Calendar Items

Allows to add individual

<link rel="canonical" href="...">

entries for pages that show glossary-, FAQ-, calendar, or news items (i.e. pages where the respective reader module is included).

Supported bundles

  • Glossary "oveleon/contao-glossary-bundle with version constraint "^2.0".
  • FAQ "contao/faq-bundle
  • News "contao/news-bundle
  • Calendar "contao/calendar-bundle.

Note

Not selecting an option for “rel="canonical" setzen"” or selecting the option “Nicht setzen” does not mean there will be no <link rel="canonical" ...> in the page. It just means, this bundle will not perform any action (and Contao will probably set the header value).

Roadmap

Make this bundle work with Contao 5.x.

Required work: switch from the legacy content elements and frontend modules to controllers.

As of now

  • Glossary should be OK already
  • FAQ "contao/faq-bundle still has contao/modules/ModuleFaqReader
  • News "contao/news-bundle still has contao/modules/ModuleNewsReader
  • Calendar "contao/calendar-bundle still has contao/modules/ModuleEventReader

so the bundle should work with Contao 5.x already. (TODO test it!).

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages