Sitemaps are currently based around the document either being searchable or shown in menu. I think there are times when those solutions are not flexible enough. So here is a hack for the core to create a ducument setting to "show in sitemap".
Here are the files I edited for the manager
#manager\processors\save_content.processor.php DONE
#manager\processors\duplicate_content.processor.php DONE
#manager\includes\lang\english.inc.php DONE (Someone else want to handle the translations?)
#manager\actions\mutate_content.dynamic.php DONE
#manager\actions\import_site.static.php DONE
#manager\actions\document_data.static.php DONE
#manager\actions\mutate_settings.dynamic.php DONE
Heres a list for the install
#install\setup.info.php
#install\setup.sql
I attached a file with the changes as they where just too long for a post.
OK I think this is good to go. Can anyone see something I missed? It’s working for me but I want to make sure I got all the places where this needs to be done.
I originally started to edit the Quick Edit and DocManager modules but I left them out for now. They aren’t really needed to make the hack work and I don’t have enough experience with them to edit them with confidence.
-
☆ A M B ☆
- 1,056 Posts
Killer mod! ...Let’s see if you can get this pushed into the core-release!
Show in Sitemap is a must-have!