[Typo3-dev] RTE API question
Martin T. Kutschker
Martin.T.Kutschker at blackbox.net
Thu Apr 1 20:47:39 CEST 2004
Kasper Skårhøj wrote:
> Hmm, I see.
>
> Well, I think that is tough luck.
> Like with the forms and table wizards you have to save first so a
> position in the page tree is establish. Code-wise it becomes too complex
> (more than it already is) to resolve PIDs based on these circumstances.
I tried to use pid 0, which turned out explicitely forbidden by the API.
Now I use an ugly hack. As a pid I provide a real high id hoping no such
page exists. The RTE doesn't choke on the non-existing pid, but It's a
hack. *)
For the purposes of the wizard it may be ok to uses the parents pid. Yes?
Masi
*) I'll do the RTE setup "manually".
More information about the TYPO3-dev
mailing list