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

Use the core sitemap.xml generation #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mlocati
Copy link
Contributor

@mlocati mlocati commented Feb 11, 2014

Starting from concrete5 5.6.3 we can integrate the data generated by the standard sitemap.xml generator job, without the need of a duplicated job.

We can use add multilanguage data to the sitemap by extending the on_sitemap_xml_addingpage event.

During install or upgrade, the multilingual addon checks if concrete5 is >= 5.6.3, if the sitemap job is installed and enabled.
If so, it does not install the multilingual job and (if ENABLE_MULTILINGUAL_SITEMAPXML is set to true) extend the data from the standard job.
If concrete5 is < 5.6.3, of if the standard job is not available/enabled, nothing changes: we keep the old sitemap job up and running.

Starting from concrete5 5.6.3 we can integrate the data generated by the
standard sitemap.xml generator job, without the need of a duplicated job.
@mlocati
Copy link
Contributor Author

mlocati commented Feb 11, 2014

See concretecms/concretecms#1271

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

Successfully merging this pull request may close these issues.

None yet

1 participant