IRC logs

20140628

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

IRC log range: 20140628*

20140628

  • 10:06:15 <xaver> hi from t3c berlin :)
  • 10:08:04 <pedda> moin moin everybody
  • 10:13:44 <pedda> pedda: can someone explain to me why i never managed to use the as: 'myTemplateVar' attribute on any viewhelper successfully by now ?
  • 10:13:49 <pedda> no matter which vh i pick.. as: 'someVarName' seems to be never set
  • 10:14:01 <pedda> do i need to enable some switch before i am able to use this kind of setting fluid template variables?
  • 10:16:40 <pedda> something like {v:content.resources.fal(field: 'images', as: 'test')} never works out if i do {test -> f:debug()}
  • 10:16:41 <FT3BOT1> ¯\_(ツ)_/¯
  • 10:17:57 <soee> hi xaver, lot of people there on t3c ?
  • 10:18:21 <pedda> t3c = t3con?
  • 10:25:02 <xaver> typo3camp
  • 10:25:11 <xaver> soee: all tickets booked
  • 10:25:48 <soee> xaver: cool, what re the topics you are on there ?
  • 10:27:23 <pedda> hey guys would you mind to give me some hint on the as: attribute on several vh's ?
  • 10:34:17 <pedda> 10:16:40
  • 10:34:20 <pedda> @soee
  • 10:34:41 <pedda> something like {v:content.resources.fal(field: 'images', as: 'test')} never works out if i do {test -> f:debug()}
  • 10:34:42 <FT3BOT1> ¯\_(ツ)_/¯
  • 10:36:37 <pedda> the result is NULL
  • 10:37:05 <pedda> same things happen if i try to use the page.menu vh or any other of them
  • 10:41:11 <soee> pedda: correct me if im wrong but https://github.com/FluidTYPO3/vhs/blob/development/Classes/ViewHelpers/Resource/Record/AbstractRecordResourceViewHelper.php#L188
  • 10:41:26 <soee> it renders child content using this variable
  • 10:41:34 <soee> so if you use inline nitation, thers no child content
  • 10:41:42 <soee> *notation
  • 10:41:48 <pedda> (facepalm)
  • 10:41:51 <pedda> in this case
  • 10:42:20 <pedda> does *as* work only for child content in general ?
  • 10:42:26 <soee> think so
  • 10:42:34 <pedda> this would explain a lot :P
  • 10:42:37 <soee> use {v:content.resources.fal(field: 'images')->v:var.set(name : 'test')}
  • 10:42:50 <pedda> as i try to stick to inline notation as often as possible
  • 10:42:58 <pedda> exactly, thats my "workaround"
  • 10:42:59 <soee> this way you will have it as you want
  • 10:43:28 <pedda> but i was just wondering what is wrong with the as attribute and my way of using it
  • 11:00:04 <pedda> did one of you already use system categories in combination with fce's?
  • 23:50:25 <soee_> what is replacement for this VH http://fluidtypo3.org/viewhelpers/vhs/master/Iterator/ContainsViewHelper.html ?