IRC logs

20141102

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

IRC log range: 20141102*

20141102

  • 04:05:56 <jmverges> hi there
  • 08:22:17 <jmverges> good morning
  • 09:00:23 <jmverges> hey mates, I'm trying to use <v:content.render column="11" pageUid="settings.layoutPage"/> or <v:content.render column="11" pageUid="{settings.layoutPage}"/> and none of them are working, what is the correct form?
  • 11:24:59 <thierry> Hi
  • 11:25:58 <thierry> Can a Fluid Content Element be instianciated via PHP ?
  • 11:27:04 <thierry> My need is following: a grid column can have a different width. Then, the rendering of the contained elements is dependent of the width of its container.
  • 11:28:21 <thierry> That means, from my point of view, to have a plugin in between that "detect" the width of the column, and then dynamically call the inside element with a "width" parameter.
  • 11:28:38 <thierry> Perheaps I'm a thinking to complicated ...
  • 11:49:59 <NamelessCoder> thierry consider using v:variable.register.set
  • 11:50:16 <NamelessCoder> I know, not pretty exactly, but it works exactly that way
  • 11:50:50 <thierry> OKay, will try that. I've already read http://stackoverflow.com/questions/24690804/how-the-get-the-parent-element-of-a-fce-in-fluid-powered-typo3/24802503#24802503 as an idea.
  • 11:51:18 <NamelessCoder> true, you can also parse out the flux form values from the parent element
  • 11:52:02 <thierry> But after getting the parent record, I'll have to "parse" it to find the width of the col
  • 11:52:05 <NamelessCoder> benefit of THAT solution would be that your special rendering only works with direct children of the parent. With registers you could have the specially formatted children at any nested depth inside the parent
  • 11:53:26 <thierry> OK, I'll try it tomorrow, let's go outside by sunny Sunday ! Thanks for the support
  • 11:53:52 <NamelessCoder> yw :)