[TYPO3-irre] RTE in child elements overwrites field in parent element

Oliver Hader oh at inpublica.de
Mon May 7 08:25:59 CEST 2007


Hi Ingmar,

Ingmar Schlecht wrote:
> Hi Olly,
> 
> would it be possible to use random indexes instead of just a count?
> 
> I mean, what if you just set the RTE index to something like 9283 or
> such random numbers for IRRE elements?

Some (="many" *g*) things have to be changed. Currently there are lots
of iterations which step through all RTEs in the array. So if you have a
random integer of e.g. "123456" all from 0 to this value will be processed.

I thought about a more specific and explicit allocation of field to RTE
like "RTEarea['<table>_<uid>_<field>']" like it's done for TCEforms
fields. But this would also cause many changes because the identifier is
currently seen as integer only in JavaScript. But this would be a clean
solution and you always have a relationship between TCEforms field and
RTE instances.

This was also the reason for my RFC on the Core-List for moving the JSON
function from t3lib_TCEforms_inline to t3lib_div as a more common place,
because it would be required here.


olly
-- 
Oliver Hader
http://inpublica.de/


More information about the TYPO3-project-irre mailing list