[TYPO3-dev] procFunc für textarea

JoH asenau info at cybercraft.de
Mon Mar 3 18:58:42 CET 2008


>>> yes it did, but it destroys the content, cause it is url encoded.
>>> - I want to get the content from the text file just as it is in the
>>> text field.
>>
>> Why are you using a wizard, when there is "default" for elements of
>> the type "text"?
>> As far as I understood your original question, you want to load text
>> into the textarea just the way items can be loaded into a select box.
>>
>> Since "default" expects a string as a value you can use your own
>> functions there.
>> Just make sure the function returns a string and that's it.
>
> At the end the user has to get the option to load various texts in the
> textarea as a basis for his further work. One way might be to load it
> into the area just like it works for the items. The wizard looks also
> a promising way. ... but up to now both did not work.

Well - this is not what you described in your original posting, since the
items of a selectbox are not create on demand even if you are using
itemsProcFunc.

So what you really want is a set of predefined textblocks the user can
choose from.
After selecting the text this should be filled into the textarea.
So I guess a wizard is the way to go.

Did you check this one already?
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/3/

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com
Jobs: http://www.professionals-only.com






More information about the TYPO3-dev mailing list