[TYPO3-german] https Links in tmenu erzwingen

Christian Platt christian.platt at pharmaline.de
Sun Aug 27 09:26:30 CEST 2017


Hallo,

in einem Menü sollen alle links per https:// erreichbar sein.


lib.footer = COA
lib.footer {

    10 = HMENU
    10 {
        special = list
        special.value =1,2,3,4,5

        1 = TMENU
        1 {
            wrap = |</ul></section>
            noBlur = 1
            expAll = 1
            NO {
                allWrap = <section class="footernav"><ul><li>|</li> |*| </ul></section><section class="footernav"><ul><li>|</li>
            }
        }

        2 = TMENU
        2 {
            NO {
                allWrap = <li>|</li>
            }
        }
    }
}

Allerdings werden die Links im Tmenu als http:// ausgegeben.

Bei Typolinks kannn man das  mit

 typolink.forceAbsoluteUrl = 1
 typolink.forceAbsoluteUrl.scheme = https

erzwingen….

Wie kann ich dem Tmenu beibringen, dass alle Links mit https beginnen müssen….

Bisher probiert habe ich (ohne Erfolg)

NO {
                allWrap = <section class="footernav"><ul><li>|</li> |*| </ul></section><section class="footernav"><ul><li>|</li>
            	stdWrap.typolink.forceAbsoluteUrl = 1
       		stdWrap.typolink.forceAbsoluteUrl.scheme = https
   }


Wer kann mir da auf die Sprünge helfen oder habe ich einen Denkfehler.?


Christian


More information about the TYPO3-german mailing list