IRC logs

20150616

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

IRC log range: 20150616*

20150616

  • 04:41:20 <Vlad1> Hi how are you guys doing? I have multidementional object/array and I want the uid of the first element of the first child. Does any one could please let me know how can I accomplish this
  • 04:42:04 <Vlad1> I have tried with {researcher.museums->v:iterator.first()} but I do not know to read the uid of the returned object
  • 05:00:31 <NamelessCoder> Vlad1 try v:iterator.extract w/ single argument, if necessary chain it with v:iterator.first() - whether or not you need to do that depends on exactly what is in the array and in which order.
  • 05:08:54 <Vlad1> I tried it {researcher.museums->v:iterator.first()->v:iterator.extract(key:'uid',single:TRUE)}
  • 05:09:01 <Vlad1> it did not
  • 05:09:10 <Vlad1> work, it returns null
  • 05:09:48 <Vlad1> thanks anyway i found an other solution
  • 05:09:49 <Vlad1> <f:alias map="{firstMuseum: '{researcher.museums->v:iterator.first()}'}">
  • 05:09:49 <Vlad1> <f:if condition="{firstMuseum.uid}">
  • 05:09:49 <Vlad1> <f:then>
  • 05:09:49 <Vlad1> <div class="museum_uid_{firstMuseum.uid}">
  • 05:09:49 <Vlad1> </f:then>
  • 05:09:49 <Vlad1> <f:else>
  • 05:09:50 <Vlad1> <div>
  • 05:09:50 <Vlad1> </f:else>
  • 05:09:51 <Vlad1> </f:if>
  • 05:09:51 <Vlad1> </f:alias>
  • 05:10:14 <Vlad1> i do not like it but it works
  • 07:35:44 <Jeff|tollwerk> Hey guys, can you tell me how to supply an select-field with a list of items retrieved from a certain db-table in Flux?
  • 07:41:32 <Jeff|tollwerk> Ah okay, it seems that I have to use the releation-viewhelper, gotta try this
  • 07:47:16 <svenDeKa> Hi everybody, I am experiencing a common bug to this: https://github.com/FluidTYPO3/flux/issues/841, but in 6.2.12. does anybody else have experienced that flux:form.section/...object doesnt work in fluidpages-context?
  • 08:03:39 <svenDeKa> ..or am I maybe mistaken to use this feature in that particular context?