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

Enable auto-generated sitemap feature on exhibit pages #705

Open
bbusenius opened this issue Aug 7, 2023 · 0 comments
Open

Enable auto-generated sitemap feature on exhibit pages #705

bbusenius opened this issue Aug 7, 2023 · 0 comments
Labels
enhancement Small change to existing feature

Comments

@bbusenius
Copy link
Member

bbusenius commented Aug 7, 2023

Issue

Some Wagtail page types, such as the StandardPage, have the ability to display an automatically generated sitemap of child pages. An example of such a page is the Using Regenstein page. We need this functionality enabled for ExhibitPages.

The relevant fields for this are theenable_index and display_hierarchical_listing fields defined in the PublicBasePage. They can be edited in the "Widgets" tab of page admin:

image

Additional information:

Since these fields already exist in the ExhibitPage model, they only need to be enabled in the admin, e.g.:

        MultiFieldPanel(
            [
                FieldPanel('enable_index'),
                FieldPanel('display_hierarchical_listing'),
            ],
            heading='Auto-generated Sitemap'
        ),

Since ExhibitPages do not have a "Widgets" tab we will have to decide if we prefer to enable this functionality in one of the existing tabs or if we want to create a "Widgets" tab to maintain consistency with other page types. Talk to @dbietila about this before implementing.

@bbusenius bbusenius added the enhancement Small change to existing feature label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Small change to existing feature
Projects
None yet
Development

No branches or pull requests

1 participant