FluidTYPO3 / vhs

TYPO3 extension VHS: Fluid ViewHelpers
https://fluidtypo3.org
Other
190 stars 229 forks source link

v:menu.list pages dynamicly generated #1867

Closed wtdesign closed 11 months ago

wtdesign commented 11 months ago

Is there a way to generate a menu based only on the parentID? At the moment I have do write all page-IDs in a comma seperated list.

`

`
NamelessCoder commented 11 months ago

The v:menu.list ViewHelper is designed to require the full list of pages that should be rendered, and will only render those specific pages in the specific order they were provided.

v:menu on the other hand supports the kind of function you seem to need:

<v:menu levels="4" pageUid="{parentPageUid}" />
wtdesign commented 11 months ago

Thank you. That works :)