[TYPO3] [TV][FCE] get current value ???
Andreas Jonderko
anj2j at yahoo.de
Thu Feb 16 10:57:59 CET 2006
Hi Nikolas
Your idea is the right one!
The key is to put the "current=1" through the cObj, Ive put it in my
extension in this way:
$this->cvs["projectname"] = $this->cObj->stdWrap
($this->conf['CVS.']["projectname"], $this->conf['CVS.']["projectname."]);
In my TV DS:
I made a simple Input field, but have to change it a little bit:
best regards, and sorry for late answer, was quite busy...
Andreas
<field_cvs type="array">
<tx_templavoila type="array">
<title>CVS Project name:</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>input_h</eType>
<TypoScript>
<![CDATA[
10 < plugin.tx_systemcontrol_pi1
10{
code.alternative = CVS
CVS{
projectname.current = 1
}
}
]]>
</TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>48</size>
<eval>trim</eval>
</config>
<label>CVS Project name:</label>
</TCEforms>
</field_cvs>
Nikolas Hagelstein schrieb:
> Hi,
>> projectname < temp #this gets TEXT
>> projectname < temp.value #this gets <nothing>
>> projectname < temp.data #this gets <nothing>
>> projectname < temp.field #this gets <nothing>
> did you try
> projectname.cObj < temp?
>
> Bye,
> Nikolas
>
More information about the TYPO3-english
mailing list