TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] FlexForm

This is a discussion on [TYPO3] FlexForm within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi at all, I'm planning to program a backend module. In the module it should be possible to define ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 19.08.2008, 09:47
Marco Weber
Gast
 
Beiträge: n/a
Standard [TYPO3] FlexForm

Hi at all,

I'm planning to program a backend module.
In the module it should be possible to define Flexform XML form-fields
to extend the backend module's existing form fields.
i.E.

<T3DataStructure>
<meta>
<langDisable>1</langDisable>
<!-- <langChildren>1</langChildren>!-->
</meta>
<sheets>
<pluginCONFIG>
<ROOT>
<TCEforms>

<sheetTitle>LLL:EXT:myext1/pi1/locallang.xmlluginCONFIG</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<category>
<TCEforms>

<label>LLL:EXT:myext1/pi1/locallang.xml:categoryid</label>
<config>
<type>input</type>
<size>30</size>
</config>
</TCEforms>
</category>
</el>
</ROOT>
</pluginCONFIG>
</sheets>
</T3DataStructure>



The Backend Module should then parse the Flexform XML and output the
(additional) forms.
I guess there is already a method in typo3 that does transform a
flexform xml file into HTML source.

Does anyone know it's name? Or know how to do it?

This would help me a lot.

Thanks in advance for your reply.

See you
Marco Weber

_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 19.08.2008, 10:05
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] FlexForm

Hi!

Marco Weber wrote:
> I guess there is already a method in typo3 that does transform a
> flexform xml file into HTML source.
>
> Does anyone know it's name? Or know how to do it?


There is no one single method for it. You have to use t3lib_TCEforms but this is not trivial task.

--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extens...velopment/book
In the blog: http://typo3bloke.net/post-details/s...d_in_the_code/
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 19.08.2008, 10:28
Marco Weber
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] FlexForm

Hi,

First of all, thanks for your reply
> There is no one single method for it. You have to use t3lib_TCEforms but this is not trivial task.
>

Good to know...
But somewhere there must already be the code, rite?
( Frontend plugins, that include flexform xml fields. )

Does anyone know where to find that code block in the typo3 source?

My idea would then be to copy & modify & paste it...


See You
Marco Weber
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 19.08.2008, 11:14
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] FlexForm

Hi!

Marco Weber wrote:
> But somewhere there must already be the code, rite?
> ( Frontend plugins, that include flexform xml fields. )


The only read fields, they do not create forms from flexforms in the frontend. If you mean forms for plugins in backend, such forms are created by t3lib_TCEforms class.

> Does anyone know where to find that code block in the typo3 source?


Class name is above. You should be able to find it. If not, there is no chance you can handle TCEforms.

> My idea would then be to copy & modify & paste it...


I had same ideas when I first started with TYPO3 From my experience: be ready to copy/paste and modify half of TYPO3 then

--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extens...velopment/book
In the blog: http://typo3bloke.net/post-details/s...d_in_the_code/
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 19.08.2008, 13:22
Marco Weber
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] FlexForm

Ok thanks...

i will start at t3lib_TCEforms class

just in case i will find i way, i gonna post it here...


Dmitry Dulepov [typo3] schrieb:
> Hi!
>
> Marco Weber wrote:
>
>> But somewhere there must already be the code, rite?
>> ( Frontend plugins, that include flexform xml fields. )
>>

>
> The only read fields, they do not create forms from flexforms in the frontend. If you mean forms for plugins in backend, such forms are created by t3lib_TCEforms class.
>
>
>> Does anyone know where to find that code block in the typo3 source?
>>

>
> Class name is above. You should be able to find it. If not, there is no chance you can handle TCEforms.
>
>
>> My idea would then be to copy & modify & paste it...
>>

>
> I had same ideas when I first started with TYPO3 From my experience: be ready to copy/paste and modify half of TYPO3 then
>
>


_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] rte in a flexform StephenBungert typo3-english@lists.netfielders.de 2 08.07.2008 16:42
[TYPO3-dev] DTD/Scheme for Flexform Peter Russ typo3-dev@lists.netfielders.de 14 31.05.2007 13:27
[TYPO3] Example with flexform Livius Agrippa typo3-english@lists.netfielders.de 6 09.05.2007 20:29
[TYPO3-dev] How to get information from a flexform? Brian Bendtsen typo3-dev@lists.netfielders.de 2 17.04.2007 13:51
[TYPO3-dev] Flexform Pagebrowser Mark Schmidt typo3-dev@lists.netfielders.de 2 10.01.2007 23:09


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:41 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74