In my TYPO3 project, I create a page menu with the vhs extension viewhelper v:page.menu.
Problem is, access restricted pages are hidden in this menu - but I need them to be shown.
I know that there is a way to do this in a typoscript menu:
lib.mainMenu {
1 = TMENU
1 {
showAccessRestrictedPages = 100
showAccessRestrictedPages.addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID###
...
But can I somehow get the same result with the viewhelper? Or do I have to create a typoscript menu for this purpose.
从3.0版开始在VHS中受支持,方法是使用showAccessRestricted
, classAccessGranted
和classAccessProtected
参数。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.