Die TYPO3 Mailingliste - nicht fragen: lesen!
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 ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
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.xml luginCONFIG</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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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 |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| 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 |