[TYPO3-dev] RFC: Make TYPO3 piVars capable
Peter Russ
peter.russ at 4many.net
Wed Oct 10 13:00:38 CEST 2007
--- Original Nachricht ---
Absender: Dmitry Dulepov [typo3]
Datum: 10.10.2007 11:42:
> Peter Russ wrote:
>> I'm using TypoScript: it's sometimes even better ;-)
>
> True :)
>
>> And TYPO3 gives you the flexibility to do so!
>> I can't see any reason why name convention is not handled correctly.
>
> What convention is not handled correctly? I am not aware that typo3 must
> define such vars ;) $_POST have them as array - as they should.
>
i.e define a FORM e.g.
all < tt_content.mailform.20
all {
dataArray {
10 {
label = Suche nach:
type = tx_veranstalterdb_pi1[swords]=input
}
}
}
If you would load the page with ..&tx_veranstalterdb_pi1[swords]=test
this value is not displayed in the input field because
t3lib_div::GPvar('tx_veranstalterdb_pi1[swords]') will never return a
value as this does not exists neither in $_POST nor in $_GET as you
correctly mentioned.
So workaround is the sugguested solution.
--
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
XING: http://www.xing.com/go/invuid/Peter_Russ
More information about the TYPO3-dev
mailing list