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

Content element "menu_sitemap" with wrong TypoScript configuration #955

Closed
2 tasks done
SventB opened this issue Nov 16, 2020 · 2 comments
Closed
2 tasks done

Content element "menu_sitemap" with wrong TypoScript configuration #955

SventB opened this issue Nov 16, 2020 · 2 comments
Labels

Comments

@SventB
Copy link
Contributor

SventB commented Nov 16, 2020

Bug Report

Prerequisites

  • Can you reproduce the problem on TYPO3 v10.4 LTS
  • Did you perform a cursory search

Description

This configuration is wrong, because there's no field "pages" for content element typ "menu_sitemap":

tt_content.menu_sitemap {
    dataProcessing {
        10 {
            special = list
            special.value.field = pages

I think this TypoScript is better:

            special = directory
            special.value.data = leveluid:0

This configuration also has the advantage, that the Root Page ("Congratulations") isn't shown.

@SventB SventB added the bug label Nov 16, 2020
@gilbertsoft
Copy link
Collaborator

This configuration also has the advantage, that the Root Page ("Congratulations") isn't shown.

Don't get this, here nothing changes. But agree, the value is wrong.

I would prefer simply using nothing (default 0) instead.

@SventB
Copy link
Contributor Author

SventB commented Dec 3, 2022

This configuration also has the advantage, that the Root Page ("Congratulations") isn't shown.

Don't get this, here nothing changes.

The page "Congratulations" isn't shown with my TS configuration. This page is absolutely not required here:

sitemap

benjaminkott added a commit that referenced this issue Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants