[TYPO3-english] Changing templavoila fields (typoscript path) by my own extension

Arne Reith liste at bitbricks.de
Fri Apr 10 14:26:59 CEST 2009


Hello Dmitry,

thank you for your answer. (and the great book about extension 
development, I like it very much :)

I don't know if I understand you. But I think the USER Object, to get 
the content of an extension, is not that what I need.

I have an extension wich loads data from different construction machines 
and generates a list and a single view. The plugin is inserted as 
pagecontent. This works very fine.

Well, I can make another plugin (or function in the same plugin) only to 
put the title in the page title with something like that:

lib.main_header = USER
lib.main_header {
     userFunc = tx_constmachines_pi2->getHeader
}

but than I have to select all the things from the database again. And 
this is very inefficient, because I have selected all these things 
already in the main method of the main plugin.

I simply want to access other elements of the page content from my 
extension.

Or is there a way to call some methods in the plugin, inserted as page 
content, from the typo script setup. This would solve my problem too.

All the best,

Arne

Dmitry Dulepov schrieb:
> Hi!
> 
> ArneReith wrote:
>> can everybody give me a hint?
> 
> Set lib.main_header to USER and whatever you want there :)
> 


-- 
bitbricks
softwaresolutions for intra- and internet

Arne Reith
Inhaber

Hagenstraße 11
32825 Blomberg
Deutschland

Tel.: +49 (0) 5235 994853
Fax.: +49 (0) 5235 994854

www.bitbricks.de

Inhaber:
Arne Reith


More information about the TYPO3-english mailing list