IRC logs

20151017

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

IRC log range: 20151017*

20151017

  • 02:02:33 <klaust> hi there, could anybody pls give me a hint in what situations and how to use '\FluidTYPO3\Flux\Core::registerFluidFlexFormContentObject()'
  • 06:52:13 <NamelessCoder> klaust it's for registering a template with a flux form that should get used when editor edits elements whose CType matches what you pass to that function.
  • 06:53:12 <NamelessCoder> use it by providing *all* arguments and manually adding the field you pass, ass a "flex" type in TCA, or use "pi_flexform" and make sure it's shown for that CType
  • 17:40:12 <klaust> @NamelessCoder thanks for your answer. I have been off track, but I think I've got it now.
  • 17:42:01 <klaust> hoped that it would help me with two problems I have:
  • 17:45:16 <klaust> 1) I have built a FCE and would like to incorporate default tt_content fields (e.g. bodytext), but all my self-defined fields are implemented in pi_flexform, even if i name it 'bodytext'
  • 17:48:31 <klaust> 2) I am struggeling with the rendering of the BE preview of my FCE. None of my labels gets rendered in the page module , so that the editor has a very poor insight of what content is contained e.g. in an accordion-fce.
  • 17:50:27 <klaust> Maybe you could point me to some documentation of how to acieve this?
  • 17:56:55 <klaust> NB: I built my provider extension upon fluidcontent_core ;-)
  • 18:18:28 <NamelessCoder> 1) prefix field names with "tt_content." to make it write those fields to the record, but use with care.
  • 18:18:55 <NamelessCoder> 2) add extensionName argument for f:translate or use absolute LLL references
  • 18:19:42 <NamelessCoder> and building your providing on fcc is not necessarily a smart thing to do; it does a lot of special stuff and was intended for the *core* element types
  • 21:23:23 <klaust> once again thanks. 1) will be straight forward now. with care, of course.
  • 21:32:12 <klaust> concerning 2): I don't use f:translate anywhere. the labels are displayed fine when in edit-mode. but in the page module itself the element has only a generic icon and 'Fluid Content' is displayed. not a proper record-title or a preview. as i would expect.