[TYPO3-core] RFC #15166: Bug: CONTENT TypoScript object ignoring translations of pages table

Stefan Galinski sgalinski at df.eu
Thu Aug 5 19:45:50 CEST 2010


Maxim Mishyn wrote:

> Problem:
> When using CONTENT TS object ignores languages overlay when you try to

Hi Maxim,

Thanks for the improvement!

+1 on reading and testing with trunk

Attached is a second version that fixes the CGL on the old code line and 
adds a more strict type check.

The following typoscript code can be directly used in the introduction 
package for testing. At least in my older version... ;-)

page.10.subparts.mainContent {
  stdWrap.cObject = COA
  stdWrap.cObject {
    10 = CONTENT
    10 {
      table = pages
      select {
        pidInList = 4
        orderBy = sorting
      }
      
      renderObj = TEXT
      renderObj.field = title
      renderObj.wrap = |<br/>
    }
  }
}

-- 
Stefan Galinski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15166_v2.diff
Type: text/x-patch
Size: 1160 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100805/9fae6a1a/attachment.bin>


More information about the TYPO3-team-core mailing list