IRC logs

20141228

Logs from channel #fedext on freenode - our official support channel.

IRC log range: 20141228*

20141228

  • 18:16:54 <Nurbs> Hi! Is it possible to access fluidpages settings from TS? I would like to render e.g. settings.pageClass in <body class="..."> using page.bodyTagCObject instead of using <div class="{settings.pageClass}">
  • 18:17:23 <Nurbs> With settings.pageClass being defined similar to this example: https://fluidtypo3.org/documentation/templating-manual/templating/creating-templates/page-template.html
  • 18:33:35 <NamelessCoder_> Nurbs I think you can reference values stored in flexform data fields using a special typoscript syntax; check the official typo3 documentation for how to assign a TEXT ts object's value property to contain the value of current record, and then the documentation on syntax for referencing a specific value when the field value you are reading is stored in a flexform.
  • 18:45:31 <Nurbs> I see. This means reading from tx_fed_page_flexform or tx_fed_page_flexform_sub using XPATH, I suppose; somewhat complicated by having to handle inheritance within the page tree. Maybe tomorrow, but thansk :)
  • 20:14:12 <TYPO3ua> Hello, all!
  • 20:14:26 <TYPO3ua> I have code:
  • 20:14:43 <TYPO3ua> <f:for each="{javascript}" as="script" iteration="iteration">
  • 20:14:45 <TYPO3ua> <v:asset name="0" external="0" allowMoveToFooter="0" fluid="1" rewrite="0" standalone="1" variables="{_all}">
  • 20:14:52 <TYPO3ua> <script type="text/javascript" src="{script.js.file}"></script>
  • 20:14:58 <TYPO3ua> </v:asset>
  • 20:15:04 <TYPO3ua> </f:for>
  • 20:15:11 <TYPO3ua> Output: Nothing
  • 20:15:22 <TYPO3ua> What is wrong and why?
  • 20:15:47 <TYPO3ua> Can someone help me?
  • 20:17:46 <TYPO3ua> When I do so:
  • 20:18:06 <TYPO3ua> <f:debug><script type="text/javascript" src="{script.js.file}"></script></f:debug>
  • 20:18:15 <TYPO3ua> Output:
  • 20:18:47 <TYPO3ua> Extbase Variable Dump '<script type="text/javascript" src="files/site/js/jquery-1 .11.0.min.js"></script>' (81 chars)
  • 20:19:11 <TYPO3ua> Extbase Variable Dump '<script type="text/javascript" src="files/site/js/html5shi v.js"></script>' (73 chars)
  • 20:19:54 <TYPO3ua> and two items empty
  • 20:20:09 <TYPO3ua> Extbase Variable Dump '<script type="text/javascript" src=""></script& gt;' (47 chars)
  • 20:20:23 <TYPO3ua> Extbase Variable Dump '<script type="text/javascript" src=""></script& gt;' (47 chars)
  • 20:20:44 <TYPO3ua> Can someone help me?
  • 20:39:57 <TYPO3ua> anybody here?
  • 20:40:27 <TYPO3ua> Can someone help me?