This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| typo3:allgemein [2012/06/01 21:02] – external edit | typo3:allgemein [2015/10/02 09:02] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Allgemeines zu Typo3 ====== | ====== Allgemeines zu Typo3 ====== | ||
| + | |||
| + | ===== Useful code ===== | ||
| + | |||
| + | Debug your controller: | ||
| + | |||
| + | \TYPO3\CMS\Extbase\Utility\DebuggerUtility:: | ||
| + | |||
| + | ===== TYPOSCRIPT zu " | ||
| + | |||
| + | < | ||
| + | ### Menü ### | ||
| + | lib.infonavi = HMENU | ||
| + | lib.infonavi { | ||
| + | special = directory | ||
| + | special.value = PID | ||
| + | wrap = | | ||
| + | | ||
| + | ### FIRST LEVEL | ||
| + | 1 = TMENU | ||
| + | 1 { | ||
| + | NO { | ||
| + | doNotLinkIt = 1 | ||
| + | wrapItemAndSub=< | ||
| + | stdWrap.cObject = CASE | ||
| + | stdWrap.cObject { | ||
| + | key.field = doktype | ||
| + | default = TEXT | ||
| + | default { | ||
| + | typolink.parameter.field = uid | ||
| + | field = title | ||
| + | stdWrap.htmlSpecialChars = 1 | ||
| + | } | ||
| + | ### IF IS SHORTCUT | ||
| + | 4 = TEXT | ||
| + | 4 { | ||
| + | field = title | ||
| + | typolink.parameter.field = shortcut | ||
| + | } | ||
| + | ### IF IS EXTERNAL URL | ||
| + | 3 = TEXT | ||
| + | 3 { | ||
| + | field = title | ||
| + | typolink.parameter.field = url | ||
| + | typolink.extTarget.field = target | ||
| + | } | ||
| + | | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| ===== TYPO3 Template Generator ===== | ===== TYPO3 Template Generator ===== | ||
| Line 47: | Line 99: | ||
| ==== Skript ==== | ==== Skript ==== | ||
| - | < | + | < |
| #!/bin/sh | #!/bin/sh | ||