This page should only be used if script asks you to manually migrate skin.20210909.ODF.sitemapinputdata
In the SitemapInputData conf/sitemap configuration file .xml of the ODF charter:
<sitemap> <initial-depth>1</initial-depth> <descendant-depth>0</descendant-depth> </sitemap>
This greatly improves performance and is sufficient to display the site in the case of a catalog site built on the demo data model.
If your site requires higher values, you will need to override the conf/sitemap.xml file to increase the value of initial-depth and/or descendant-depth.
When should I increase initial-depth?
Par exemple, si le menu principal doit afficher 3 niveaux d'arborescence, <initial-depth> doit être positionné à 2.
For example, if the charter searches for pages tagged with /cms/inputData/sitemap//page[@PLUGIN_TAGS_XXX]tagged pages will only be found if they are root pages or 2nd level pages.
The footer is built like this by default. So be sure to check that footer links are only to 1st or 2nd level pages. If they are not, <initial-depth> devra être augmenté.
If the order of pages in the sitemap isn't important for the display of your tagged pages, rather than increasing the number of pages in the sitemap, you can also increase the number of pages in the sitemap. <initial-depth>you can use the ametys:findPagesIdsByTag('XXX')
When should I increase descending-depth?
Il est peu probable que vous ayez besoin d'augmenter <descendant-depth>. You'll need it if your charter somewhere displays subpages of the current page based on SitemapInputData. No such menu is present in the ODF Ametys charter.