[TYPO3-templavoila] Problem TS in TV CASE

Sebastian Böttger sebastian.boettger at gmail.com
Thu Jul 19 13:05:24 CEST 2007


Hi Dmitry


I use it in main TS.

This works:

## lib.title & Co [Begin]

lib.title = TEXT
lib.title.data = register:tx_templavoila_pi1.parentRec.header

lib.titled_bigbox_header = TEXT
lib.titled_bigbox_header.data = register:tx_templavoila_pi1.parentRec.header

lib.titled_bigbox_header2 = TEXT
lib.titled_bigbox_header2.data = 
register:tx_templavoila_pi1.parentRec.header

lib.title_doublecol_header = TEXT
lib.title_doublecol_header.data = 
register:tx_templavoila_pi1.parentRec.header

## lib.title & Co [End]


And this doesn't work:

            
## Plugin tt_news [Begin]

plugin.tt_news {
    archiveTypoLink.parameter.cObject = CASE
    archiveTypoLink.parameter.cObject {
        setCurrent = 1
        key.data = register:tx_templavoila_pi1.parentRec.uid
        34 = TEXT
        34.value = 114
        default = TEXT
        default.value = 198



I inserted 2 tt_news Plugins, and want to use it in different ways. 
Therefore I need to set different archiveTypolink.parameter.
Any ideas?

Best regards,
Sebastian


Dmitry Dulepov schrieb:
> Sebastian Böttger wrote:
>   
>> thing is: I have no clue what the current property is, and i couldn't 
>> findit with google or in the tsref.
>>     
>
> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/1/
>
>   
>> I changed it like:
>>
>> plugin.tt_news {
>>   archiveTypoLink.parameter.cObject = CASE
>>   archiveTypoLink.parameter.cObject {
>>     setCurrent = 1
>>       key.data = register:tx_templavoila_pi1.parentRec.uid
>>
>> ...
>>
>> But there is no effect.
>>     
>
> Where do you use it? register:tx_templavoila_pi1 is available only 
> inside DS record. But "plugin.tt_news" is available only in main TS.
>
>   


More information about the TYPO3-project-templavoila mailing list