Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3] Records from own extension in "insert record" within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi list, I am struggeling with the integration of records from my own plugin in the "insert records" ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi list,
I am struggeling with the integration of records from my own plugin in the "insert records" element. I have t3lib_extMgm::allowTableOnStandardPages('my_extens ion_table'); t3lib_extMgm::addToInsertRecords('my_extension_tab le'); in my ext_tables.php. My records show up in the backend selector box and they get selected but there is no frontend output at all. I was trying to learn from tt_news but I just could not find the right way. Any hints? Matthias _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#2
|
|||
|
|||
|
> I am struggeling with the integration of records from my own plugin in
> the "insert records" element. I have > > t3lib_extMgm::allowTableOnStandardPages('my_extens ion_table'); > t3lib_extMgm::addToInsertRecords('my_extension_tab le'); > > in my ext_tables.php. My records show up in the backend selector box > and they get selected but there is no frontend output at all. I was > trying to learn from tt_news but I just could not find the right way. > Any hints? Did you already setup a frontend output for these records? Some basic TypoScript or pure PHP from a frontend plugin? Somehow TYPO3 has to be told what to do when rendering your records. 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 _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#3
|
|||
|
|||
|
JoH asenau wrote:
>>I am struggeling with the integration of records from my own plugin in >>the "insert records" element. I have >> >>t3lib_extMgm::allowTableOnStandardPages('my_exte nsion_table'); >>t3lib_extMgm::addToInsertRecords('my_extension_t able'); >> >>in my ext_tables.php. My records show up in the backend selector box >>and they get selected but there is no frontend output at all. I was >>trying to learn from tt_news but I just could not find the right way. >>Any hints? > > > Did you already setup a frontend output for these records? > Some basic TypoScript or pure PHP from a frontend plugin? > Somehow TYPO3 has to be told what to do when rendering your records. > > HTH > > Joey > Hi Joey, I thought so, but I didn't know where to hook on. It is PHP from a frontend plugin. So it all starts with the typical function main($content,$conf) ... I suppose I have to tell my class to render the content when called within the insert record element. But how? THX, Matthias _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#4
|
|||
|
|||
|
>>> I am struggeling with the integration of records from my own plugin
>>> in the "insert records" element. I have >>> >>> t3lib_extMgm::allowTableOnStandardPages('my_extens ion_table'); >>> t3lib_extMgm::addToInsertRecords('my_extension_tab le'); >>> >>> in my ext_tables.php. My records show up in the backend selector box >>> and they get selected but there is no frontend output at all. I was >>> trying to learn from tt_news but I just could not find the right >>> way. Any hints? >> >> Did you already setup a frontend output for these records? >> Some basic TypoScript or pure PHP from a frontend plugin? >> Somehow TYPO3 has to be told what to do when rendering your records. >> > I thought so, but I didn't know where to hook on. It is PHP from a > frontend plugin. So it all starts with the typical function > main($content,$conf) ... I suppose I have to tell my class to render > the content when called within the insert record element. But how? > Well - the "insert record" element is just inserting a record and the rendering is done as usual. This means: As long as you didn't setup any rendering for your element (be it PHP or TS or whatever), nothing will appear. What happens if you put something like: return 'My Element'; into function main()? 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 _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#5
|
|||
|
|||
|
JoH asenau wrote:
>>>>I am struggeling with the integration of records from my own plugin >>>>in the "insert records" element. I have >>>> >>>>t3lib_extMgm::allowTableOnStandardPages('my_ex tension_table'); >>>>t3lib_extMgm::addToInsertRecords('my_extension _table'); >>>> >>>>in my ext_tables.php. My records show up in the backend selector box >>>>and they get selected but there is no frontend output at all. I was >>>>trying to learn from tt_news but I just could not find the right >>>>way. Any hints? >>> >>>Did you already setup a frontend output for these records? >>>Some basic TypoScript or pure PHP from a frontend plugin? >>>Somehow TYPO3 has to be told what to do when rendering your records. >>> >> >>I thought so, but I didn't know where to hook on. It is PHP from a >>frontend plugin. So it all starts with the typical function >>main($content,$conf) ... I suppose I have to tell my class to render >>the content when called within the insert record element. But how? >> > > > Well - the "insert record" element is just inserting a record and the > rendering is done as usual. This means: As long as you didn't setup any > rendering for your element (be it PHP or TS or whatever), nothing will > appear. > > What happens if you put something like: > > return 'My Element'; > > into function main()? > > Joey > Hi Joey, sorry, I didn't express myself clearly. My extension does render content - a as plugin it works perfectely when I insert a plugin element into a page. What I am trying now is to display a record with the insert record element as it works e.g. with tt_news. Matthias _______________________________________________ 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-german] rev="external" anstatt target="_blank" | Daniel Selinger | typo3-german@lists.netfielders.de | 0 | 20.04.2007 15:24 |
| [TYPO3-german] Sicherheitsfrage: login mit "key logger" oder"trojan horse" | Achim Gerber JHF IT | typo3-german@lists.netfielders.de | 16 | 26.03.2007 09:08 |
| Re: [TYPO3-german] Sicherheitsfrage: login mit "key logger"oder"trojan horse" | Achim Gerber JHF IT | typo3-german@lists.netfielders.de | 3 | 23.03.2007 16:37 |
| [TYPO3-german] Records "Allowed on pages" | Michael Paffrath | typo3-german@lists.netfielders.de | 0 | 16.02.2007 14:06 |
| Re: [TYPO3] TIMTAW "began to edit this record 0 min ago" | Christoph Köpernick | typo3-english@lists.netfielders.de | 0 | 29.12.2006 16:56 |