daily pastebin goal
33%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. config.contentObjectExceptionHandler = 0
  2. # Default PAGE object:
  3. page = PAGE
  4. page.10 = FLUIDTEMPLATE
  5. page.10.file = fileadmin/template.html
  6. page.10 {
  7.   dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
  8.   dataProcessing.10 {
  9.     table = pages
  10.     pidInList = 1
  11.     as = subPages
  12.     orderBy = pages.sorting
  13.     dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
  14.     dataProcessing.10 {
  15.       references.fieldName = media
  16.     }
  17.     dataProcessing.20 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
  18.     dataProcessing.20 {
  19.       table = tt_content
  20.       as = inhalte
  21.       pidInList.field = uid
  22.     }
  23.   }
  24.   dataProcessing.20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
  25.   dataProcessing.20 {
  26.     #special = directory
  27.     #special.value = <parent page uid>
  28.     levels = 2
  29.     as = mainMenu
  30.     dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
  31.     dataProcessing.10 {
  32.       references.fieldName = media
  33.     }
  34.   }
  35. }
  36.  
  37. HTML:
  38. <f:debug>{_all}</f:debug>
  39. <ul>
  40.   <f:for each="{subPages}" as="page">
  41.     <li>
  42.       <f:for each="{page.files}" as="file">
  43.         <f:image image="{file}" width="320" height="280" />
  44.       </f:for>
  45.       <f:link.page pageUid="{page.data.uid}">{page.data.title}</f:link.page>
  46.     </li>
  47.   </f:for>
  48. </ul>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top