Bug #85693
closed
Sitemap takes field pages into account
Added by Philipp Weiß over 6 years ago.
Updated over 5 years ago.
Description
Following the documentation the element Sitemap (CType menu_sitemap) should "Render a full sitemap of the website, starting at the root page.". So the database field pages isn't shown when editing the element. But when the field pages isn't empty it is taken into account and the sitemap starts with the page given in field pages and not with the root page.
Tested on 9.5.1-dev (latest master) - still reproducible
steps to reproduce
1) create a CE, CType sitemap on a page
1.1) open the page on frontend -> the sitemap starts at the start page -> OK
2) change the CType of the content element to "subpages [menu_subpages]"
3) insert a page on the field "Selected Pages" ([pages]) different from the start page
4) save it
5) change again the CTYPE to "sitemap" and save again
6) open the page on frontend
Current Results:¶
the sitemap starts at the page defined at point 3)
Expected result¶
the sitemap should still start at the start page; the "Selected Pages" field should be taken into account on "sitemap of selected pages" CType.
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF