I have a HMENU and a login area. Inside the HMENU there is a login-area on menu level 3. All pages beneath this level 3 should be called with protocol https.
How can I change the protocol of the links in the menu? I could do this with a typoscript condition:
[PidInRootline = XXX]
lib.menu.3.NO {
# ... what comes here?
}
[global]
I searched the web and there was this patch on a Typo3 ticket system which introduced forceAbsoluteUrl and forceAbsoluteUrl.scheme, but how do I get this into the HMENU?
edit
I know that I cannot choose the menu with a typoscript condition like this. Since this menu will only show, if the PIDInRootline is true, it’s ok.
I am also concerned about the links to the pages not protected from out of the protected pages. Every combination of config.baseUrl and config.absRefPrefix I tried fails in that there shall be links to the protected area with https protocol and to the public area with http protocol, regardless of whether I’m in the public or protected area.
This will not work the way as you showed (sorry for bad news, but at least you’ll save your time)
[PidInRootline = XXX]doesn’t check the target’s UID but UID of the page where you are at the moment.I think, you’ll need to write small extension for creating custom menu branch for https items, and combine it with the standard HMENU using
COA