TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] Records from own extension in "insert record"

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" ...


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 14.05.2007, 15:49
Matthias Kurz
Gast
 
Beiträge: n/a
Standard [TYPO3] Records from own extension in "insert record"

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
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 14.05.2007, 15:57
JoH asenau
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Records from own extension in "insert record"

> 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
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 14.05.2007, 18:15
Matthias Kurz
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Records from own extension in "insert record"

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
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 14.05.2007, 19:55
JoH asenau
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Records from own extension in "insert record"

>>> 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
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 15.05.2007, 08:00
Matthias Kurz
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Records from own extension in "insert record"

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
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-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


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:02 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