IRC logs

20160318

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

IRC log range: 20160318*

20160318

  • 08:40:50 <Guest|33766> Hi guys. Can someone tell me what's going wrong..?
  • 08:40:50 <Guest|33766> I'm trying to create a new BE module using fluidbackend.
  • 08:40:50 <Guest|33766> But, I have that error message now: Module 'ModuleName' is not configured.
  • 08:40:50 <Guest|33766> <flux:form id="example">
  • 08:40:50 <Guest|33766> <!-- The options that govern integration -->
  • 08:40:50 <Guest|33766> <flux:form.option name="Fluidbackend" value="{
  • 08:40:50 <Guest|33766> moduleGroup: 'web',
  • 08:40:51 <Guest|33766> modulePosition: 'after:web',
  • 08:40:51 <Guest|33766> modulePageTree: 1 />
  • 08:40:53 <Guest|33766> <!-- The fields that the form will contain -->
  • 08:40:53 <Guest|33766> <flux:field.input name="inputfield" />
  • 08:40:53 <Guest|33766> </flux:form>
  • 10:02:13 <drlimbo> good afternoon
  • 10:06:10 <drlimbo> is there a way to inherit flux:field to subpages?
  • 10:06:56 <drlimbo> sure i tried inherit="1"
  • 10:07:41 <drlimbo> ah, cache problem - so inherit seems to work =P
  • 10:11:05 <drlimbo> now there are two settings, one for the actual page, one for subpages - is there a way to hide the flux:field for subpages?
  • 10:12:44 <cweiske> no
  • 10:13:07 <drlimbo> oh, thats bad =(
  • 10:14:47 <drlimbo> is there a workaround maybe like hiding with css or something cweiske?
  • 10:15:05 <cweiske> I did not try it
  • 10:15:39 <drlimbo> with enabled="{record.is_siteroot}" i can only show them on root pages
  • 10:16:21 <drlimbo> is there a new debug setting to show the actual error instead of "Oops, an error occurred! Code: xxx"
  • 10:16:58 <cweiske> the general typo3 debug settings
  • 10:17:11 <cweiske> http://cweiske.de/tagebuch/typo3-cli_dispatch-debugging.htm#conclusion
  • 10:19:04 <drlimbo> aah, this one i forgot =P thanks!
  • 10:20:14 <Sergey> Hi guys. I have a small question.
  • 10:20:14 <Sergey> Inside fluidbackend/Classes/Controller/AbstractBackendController.php
  • 10:20:14 <Sergey> We have
  • 10:20:14 <Sergey> * @var \TYPO3\CMS\Backend\Form\FormEngine
  • 10:20:14 <Sergey> */
  • 10:20:14 <Sergey> protected $formHandler;
  • 10:20:15 <Sergey> But in 7.x that class was removed ? Is there any replacement ?
  • 10:33:04 <drlimbo> another question cweiske you can help me maybe
  • 10:33:27 <drlimbo> if have a TypoScript var like settings.template_colors.blue
  • 10:33:44 <drlimbo> and in the template, i'd like to use a variable to get the typoscript value
  • 10:34:21 <drlimbo> something like that: {settings.template_colors.{TemplateColor}} when {TemplateColor} is blue to access {settings.template_colors.blue}
  • 10:36:42 <cweiske> did you try to nest a f:cObject into your variable name?
  • 10:38:22 <drlimbo> im not sure i understand you correctly, i just tried {v:variable.typoscript(path: 'settings.template_colors.{TemplateColor}') -> f:debug()}
  • 10:39:11 <cweiske> but settings.template_colors.* is a flux variable, rigth?
  • 10:39:20 <cweiske> then it should more be
  • 10:39:54 <cweiske> {settings.template_colors.{v:variable.typoscript(path: 'lib.TemplateColor')}}
  • 10:40:33 <drlimbo> im setting plugin.tx_EXTNAME.settings.template_colors.blue in Typoscript, so i can access settings.template_colors.blue in Fluid after
  • 10:40:46 <cweiske> ok
  • 10:41:35 <cweiske> how do you access settings.template_colors.blue?
  • 10:41:48 <cweiske> simply with {settings.template_colors.blue}?
  • 10:41:59 <drlimbo> correct
  • 10:42:18 <cweiske> then you don't have to care if the variable is typoscript or not
  • 10:42:21 <drlimbo> but i'd like to replace .blue with a variable {TemplateColor} containing "blue" for example
  • 10:42:30 <cweiske> did you try {settings.template_colors.{TemplateColor}}?
  • 10:43:26 <drlimbo> yup i tried cweiske so exact this will be rendered in frontend and not replaced with the variable (looks like parsing didn't work)
  • 10:43:34 <cweiske> or do <v:variable.get name="settings.template_colors.{TemplateColor}"/>
  • 10:44:03 <drlimbo> yes baby, v:variable.get works
  • 10:44:36 <drlimbo> thanks a lot cweiske
  • 11:26:59 <drlimbo> is Drag nDrop in Page-Tree disabled in Typo3 7.6.4 or is something broken?
  • 11:34:28 <cweiske> it's enabled by default
  • 11:35:36 <drlimbo> mh crazy, isn't working here
  • 12:04:47 <wag51> Hi. I'm using flux 7.2.0 on TYPO3 6.2.x and I would like to create a flexible content with an introduction content area + a section in which I could put several content areas
  • 12:05:41 <wag51> I created the flux:form.section but I don't know what to put in it: I tried a flux:form.object with a flux:form.content inside but it makes an error
  • 12:06:45 <cweiske> https://fluidtypo3.org/viewhelpers/flux/master/Form/SectionViewHelper.html
  • 12:07:34 <cweiske> also see https://fluidtypo3.org/viewhelpers/flux/master/GridViewHelper.html
  • 12:09:03 <cweiske> maybe the latter is for you
  • 12:09:09 <cweiske> if you want to put any content elements into it
  • 12:10:30 <wag51> trying...
  • 12:16:36 <wag51> If I make a flux:form.section > flux:form.object > flux:grid > flux:grid.row > flux:grid.column it makes this error: Illegal string offset 'el'
  • 12:20:16 <cweiske> no section for that
  • 12:20:18 <cweiske> no form for that
  • 12:21:18 <wag51> don't understand what you're saying :\