Last active
October 18, 2018 03:10
-
-
Save mhuber84/dce2b09f5ef17ec596bdd938f56811ff to your computer and use it in GitHub Desktop.
Set USERDEF1 (or USERDEF2) in a language menu on record detail pages if the record is not translated. #TYPO3
Hi,
thank you very much for submitting this script. Unfortunately I am having troubles in making it work on one of my (TYPO3 7.6.23) sites. I must admit that I do not have much of experience as far as utilities like this are concerned. Can you tell me where I have to save the MenuUtility.php file? Do i have to "declare" or "register" it somewhere too?
Thanks a lot and have a nice day
Works fine (TYPO3 6.2 and tx_news 3.2.8) for untranslated records, but unfortunately USERDEF1/USERDEF2 ist not set if the translated record does NOT exist in the standard language. Can you confirm this?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example: On a news detail page the language menu items should not be shown for languages the current news record is not translated to.
#TYPO3