Closed (fixed)
Project:
Simple XML sitemap
Version:
4.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
21 Jun 2021 at 12:30 UTC
Updated:
7 Feb 2022 at 14:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gbyteNot sure about that, the way it works right now is one of the differentiators to xmlsitemap; I am happy to review patches though. In any case, any new features will be going into 4.x.
Comment #3
damienmckennaWhile digging around on the module I found that SimplesitemapEntitiesForm is a perfect place for this - just expand the logic to display a table on non-"atomic" entity types.
Comment #4
damienmckennaI'm working on a prototype using the v8.x-3.x codebase.
Comment #5
damienmckennaWIP. The last bit is to make the "index" option show properly, right now only the title shows, the radio buttons don't.
Comment #6
damienmckennaDefinitely needs work.
Comment #7
damienmckennaA quick look at the WIP:
The "Enabled" option isn't working right, it doesn't show the radio buttons for some reason, and changing it to a checkbox doesn't make it load the existing saved value.

Comment #8
damienmckennaThe form fields aren't being passed through to the submit handler, for some reason, so I turned it into more of a report:

Comment #9
damienmckennaRemoved the submission code entirely.
Comment #10
damienmckennaComment #11
gbyteNot a priority, but anyone feel free to grab this and contribute.
Comment #12
walkingdexter commentedComment #13
gbyteA thought: If we implement this, please make it as flexible as FormHelper::displayEntitySettings (but much cleaner code wise ;)) so we can reuse it e.g inside a Sitemap (variant) create/edit form (admin/config/search/simplesitemap/variants/add).
Comment #15
walkingdexter commentedImproved entity settings management. @gbyte please review.
Comment #16
gbyteI like it a lot. The only issue I found is a serialization bug when clicking 'save' on admin/config/search/simplesitemap/entities/{entity_type} when Regenerate all sitemaps after hitting Save is checked. Feel free to merge into 4.x after fixing it.
Comment #18
walkingdexter commentedComment #20
damienmckennaAm very grateful that you both worked to finish this off and get it working as intended. Thank you both!