[TYPO3-english] Re: Extension tagpack: tagging singleview items of tt_news? // singleItemCloud

vishal tanna vishal.tanna at drcsystems.com
Wed Feb 4 08:14:18 CET 2015


Quote: vishal tanna (vishal05) wrote on Wed, 04 February 2015 08:12
----------------------------------------------------
> Hi 
> I am using Tagpack Extension. I wan to display  the Tagpacks topics on the tt_news singleview same as above discussion.
> 
> MyTyposcirpt on Setup
> 
> plugin.tx_tagpack_pi1 = USER
> plugin.tx_tagpack_pi1 {
>   userFunc = tx_tagpack_pi1->main
>   userFunc {
>     tagcloudElements {
>       #enabledContent = text
>       enabledRecords = pages,tt_news,tt_content
>     }
> 
>     renderObj = COA
>     renderObj {
>       10 = USER
>       10 {
>         userFunc = tx_tagpack_pi1->makeTagCloud
>         tagPidList = 211
>         targetPid = 215
>         minFontSize = 14
>         maxFontSize = 14
>         maxNumberOfSizes = 0
>         fontColor = #828282
>         #tableName = tt_content
>         #singleItemCloud = 1
>         generalStdWrap {
>           wrap = <div class="tx-tagpack-pi1-tagcloud">|</div>
>         }
>         linkBoxStdWrap {
>           wrap = <div class="tx-tagpack-pi1-linkbox"><ul> TOPICS:|</ul></div>
>         }
>         linkStdWrap {
>           wrap = |,
>         }
> 
>       }
>     }
>   }
> }
>  
> tt_content.tagpack_pi1 = COA
> tt_content.tagpack_pi1 {
>   wrap =  <div class="tx-tagpack-pi1-cloudcontainer">|</div>
>   10 < plugin.tx_tagpack_pi1
> }
> 
> 
> And i am trying to use below typoscript  Please help me where i am wrong
> 
> 
> plugin.tt_news.displaySingle {
> title_stdWrap.append < plugin.tx_tagpack_pi1.userFunc.renderObj
> title_stdWrap.append.10 {
> tableName = yourtable
> singleItemCloud = 1
> }
> }
> 
> 
> 
----------------------------------------------------




More information about the TYPO3-english mailing list