Hallo, ich habe folgendes Problem:
Ich möchte mein generiertes Menu komplett an ein php script senden es verändern (php ist kein prob.) und dann in das template schreiben. habe allerdings schon alles mögliche ausprobiert und es will nicht.
alles über der ---- linie ist einfach ein normales menu,
darunter ist der php befehl. wie verbinde ich das? kann ja nicht so schwer sein aber ich hab irgendwie ein brett vor dem kopf...
top.includeLibs.some_random_id_string = fileadmin/template/functions.php
temp.menu_1 = HMENU
temp.menu_1.special = directory
temp.menu_1.special.value = 30
temp.menu_1.1 = TMENU
temp.menu_1.1 {
forceTypeValue = 1
NO.allWrap = - |
ACT = 1
ACT.allWrap = - |
}
top.10 = TEMPLATE
top.10 {
template = FILE
template.file = fileadmin/template/top.html
workOnSubpart = DOCUMENT_BODY
subparts.DOCUMENT_MENU < temp.menu_1
}
#------------------------------
top.20 = USER
top.20.userFunc = user_functions->encodeMenu
schönen dank im vorraus