在TYPO3 4.5中,如何通过Typoscript访问存储在$ _POST(在二维数组中)的值?如何通过输入框获取多维后期值?
的print_r($ _ POST)看起来是这样的:
我已经试过这样:
20 = TEXT
20.data = GP:[tx_powermail_pi1][uid1517]
也
20.value.data = GP:[tx_powermail_pi1][uid1517]
,但它并不做任何输出。如何正确的语法?
在TYPO3 4.5中,如何通过Typoscript访问存储在$ _POST(在二维数组中)的值?如何通过输入框获取多维后期值?
的print_r($ _ POST)看起来是这样的:
我已经试过这样:
20 = TEXT
20.data = GP:[tx_powermail_pi1][uid1517]
也
20.value.data = GP:[tx_powermail_pi1][uid1517]
,但它并不做任何输出。如何正确的语法?
您可以使用GP:stuff|key
像这样:
10 = TEXT
10.data = GP:tx_powermail_pi1|uid1517
参见:http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.5.0/view/1/2/#id1037388 (搜索的getText)
不错,我也发现了这个链接HTTP ://www.typo3lexikon.de/index.php?id = 108(德文) – Urs
GPvar:已被弃用,这就是为什么我用GP: – Urs