[TYPO3-dev] Using optionSplit in own extention

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Thu Apr 19 22:01:45 CEST 2007


Am Thu, 19 Apr 2007 22:48:49 +0300 schrieb =?KOI8-R?B?4s/K3tXLIPDF1NLP?=:

> On 4/19/07, Tapio Markula <tapio.markula at atwebteam.com> wrote:
>>
>> Бойчук Петро
>>
>> > smt like this:
>> > plugin.my_ext_pi1 {
>> > wrapItems = |<separator>  |*|  |<separator> |*| | }
>>
>> yes
>> > But how to use it in my extension?
>>
>> predefine menu - option split is primary for those.
>> _______________________________________________ TYPO3-dev mailing list
>> TYPO3-dev at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
> 
> 
> Yes, I know that optionSplit if for menu. But what is menu - it is list
> of items. I guess I can use optionSplit functionality for items in my
> extension. Or maybe tt_news developers could use?
> 
>> predefine menu - option split is primary for those.
> 
> good idea. Maybe, somehow I can output my items using menu, menu items,
> menu states and so on. Hm, I have to check this possibility. Thank you.
> But I think question is still open.

Guess you search something in this direction:


function main($content, $conf){
        $out = ...
        $out .= $this->cObj->cObjGetSingle($conf[$key], $conf[$key.'.']);
        $out .= ...
        return $return;
    }

Here is the API:

http://typo3.org/fileadmin/typo3api-4.0.0/

Search:

tslib_cObj->cObjGet
tslib_cObj->cObjGetSingle


Regards

Elmar



-- 
Fight the no_cache parameter:
http://t3flyers.wordpress.com/2007/04/06/a-quick-guide-to-proper-caching-
with-tslib_pibase-episode-1/
http://t3flyers.wordpress.com/2007/04/06/a-quick-guide-to-proper-caching-
with-tslib_pibase-episode-2/




More information about the TYPO3-dev mailing list