[TYPO3-ttnews] tx_news FLUID condition for category

d.ros projects at r-system.de
Tue Jan 29 11:27:34 CET 2013


Even this

<f:debug>{newsItem.categories}</f:debug>

     <f:for each="{categories}" as="category" iteration="it">
         <p>Loop: {it.index}</p>
         <f:debug>{category}</f:debug>
         <f:if condition="{0:category.item.uid} == {0:'1'}">
             <f:if condition="{0:settings.templateLayout} == 
{0:'Disqus'}">
                 <div id="disqus_thread"></div>
             </f:if>
         </f:if>
     </f:for>


brings no output within the loop.

Except this:

Tx_Extbase_Persistence_LazyObjectStorageprototype object (1 items)
    000000000eb3169a00000000ac891288 => 
Tx_News_Domain_Model_Categoryprototypepersistent entity (uid=1, pid=187)

I´m still in News Detail view and the Category Name from the partial 
render up above in the Template works flawless.

Greets



More information about the TYPO3-project-tt-news mailing list