IRC logs

20150722

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

IRC log range: 20150722*

20150722

  • 04:51:06 <svenDeKa> god morning
  • 04:52:21 <svenDeKa> I am looking for a way to access a flux-parents variables inside a child-elements template.
  • 04:52:48 <svenDeKa> I tried content.info but this returns the pi_flexformfield, but no variables...
  • 04:53:07 <svenDeKa> I wouhld really appreciate a hint, if there is a way.
  • 04:55:17 <svenDeKa> sry, content.info wasnt precise: I mean {v:content.info(contentUid:'{record.tx_flux_parent}')}
  • 05:16:07 <svenDeKa> ok. tried v:render.record. but this doesnt output anything at all... :( -not even if I do <v:render.record record="{uid:35}"/>
  • 05:17:02 <svenDeKa> the idea was to try <v:render.record record="{uid:'{record.tx_flux_parent}'}"/>
  • 05:21:23 <svenDeKa> as mentioned here: https://fluidtypo3.org/community/irc-logs.html?tx_fluidtypo3org_content[date]=20141119&cHash=1addc7ada531144b667e5745b9be95be I tried v:content.render, but <v:content.render contentUids="{0:35}"/> downst geimme anything back,too.
  • 08:33:10 <pedda> hi there
  • 08:33:39 <pedda> does editing of pages != standard page work for you if you use fluidpages in that project ?
  • 08:34:01 <pedda> for instance: external url, if i change the external url and hit save, i get an fluidpages error
  • 08:34:22 <pedda> Fatal error: Cannot use string offset as an array in /var/www/public_www/emil-frey-classics.ch/typo3conf/ext/fluidpages/Classes/Provider/PageProvider.php on line 246
  • 08:34:30 <pedda> ups :P
  • 08:34:51 <pedda> too dumb for pasting error messages privately
  • 08:34:54 <jmverges> I don't get it
  • 09:01:20 <pedda> nvm
  • 09:01:23 <pedda> :)
  • 09:01:41 <pedda> seems as if a certain extension of mine is broken
  • 09:02:02 <pedda> if i disable it, things seem to work
  • 09:32:12 <jmverges> uhm
  • 09:36:17 <Stefanie> 'textpic' and file selection in BE do no longer work after installing vhs/flux/fuidcontent/fluid page - any ideas?
  • 09:36:53 <jmverges> did you install fluidcontent_core?
  • 09:37:08 <Stefanie> yes
  • 09:37:13 <jmverges> there you go
  • 09:37:37 <Stefanie> you mean de-install fluidcontent_core?
  • 09:37:42 <jmverges> https://github.com/FluidTYPO3/fluidcontent_core#special-note-about-the-textpic-text-with-images-content-type
  • 09:43:50 <Stefanie> okay, that explains part of my problem
  • 09:46:18 <Stefanie> however, I can't get fluid content element to allow file selection - I just get an empty window
  • 09:46:27 <Stefanie> <flux:field.inline.fal name="settings.images" multiple="TRUE" />
  • 09:49:35 <pedda> Stefanie put this code in typo3conf/AdditionalConfiguration and set line 3 to TRUE
  • 09:49:36 <pedda> https://gist.github.com/wikipeter/7eb8e00506570044d91b
  • 09:49:48 <pedda> you will see more than a blank page in most cases then
  • 09:50:05 <pedda> jmverges seems as if my issue persists somehow
  • 09:50:25 <pedda> the thing is: i use typoscript to define flux settings for a custom extbase extension's fe plugin
  • 09:51:21 <pedda> the whole typo3 project is a git repository, which guarantees me the same versions of extensions in that project
  • 09:51:36 <pedda> on my local machine, everything works as expected
  • 09:51:42 <pedda> on a remote machine it doesn't
  • 09:52:03 <pedda> the remote machine has a lower php version which is 5.3.10 i think
  • 09:52:13 <pedda> now my issue:
  • 09:52:36 <pedda> if my custom extension is enabled, i can create an fe plugin and see the fields in my plugin settings
  • 09:52:43 <pedda> i hit save and it seems to work
  • 09:52:48 <pedda> but
  • 09:53:35 <pedda> if i define basic.doctypes of EXT:fluidpages in extension manager in order to be able edit non standard typo3 pages in backend while fluidpages is running, my custom extension "breaks"
  • 09:54:14 <pedda> or at least i get plenty of error messages telling me that flux viewhelpers couldn't be loaded by the autoloader
  • 09:56:20 <pedda> i know this is strange...
  • 10:00:01 <Stefanie> pedda now i get:
  • 10:00:01 <Stefanie> Fatal error: Class 'TBE_FolderTree' not found in /html/typo3/typo3_src-6.2.12/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4432
  • 10:03:24 <pedda> you need to scroll down that message until some lines occur, which you recognize, as you're dealing with some feature of typo3 which starts breaking at a certain point
  • 10:05:18 <pedda> you get the point?
  • 10:05:26 <Stefanie> sorry, no
  • 10:05:41 <pedda> Class 'TBE_FolderTree' not found <- the file is missing
  • 10:05:48 <pedda> this is what te error message is saying
  • 10:05:56 <pedda> i can't tell you if it's there
  • 10:06:18 <pedda> you need to check this (most probably the file exists, as you don'T delete random files of the typo3 core)
  • 10:06:22 <pedda> so you need to scroll down
  • 10:06:29 <pedda> and check the messages in detail
  • 10:06:46 <pedda> until some line occurs which you recognize, because you'Re dealing with feature XY of typo3
  • 10:06:53 <pedda> at the moment
  • 10:07:13 <pedda> and that line is mentioning feature XY
  • 10:08:00 <pedda> the lines with the dark background are the ones to check step by step
  • 10:08:18 <pedda> as you can see which values were passed to the code
  • 10:08:28 <pedda> like: 27 FluidTYPO3\Flux\Form\AbstractFormComponent::createField("FluidTYPO3\Flux\Form\Field\SelectViewHelper", "settings.carousel.renderMode", NULL)
  • 10:12:43 <pedda> this way you can narrow down what causes the error
  • 10:19:17 <Stefanie> i'm lost - this is too deep down for a newbee like me... :-(
  • 10:19:38 <pedda> probably
  • 10:19:49 <pedda> what is your current task?
  • 10:20:03 <pedda> add flux field for FAL images in an FCE ?
  • 10:23:22 <pedda> Stefanie?
  • 10:24:12 <Stefanie> yes. and i cannot select a file as the window is empty (or produces the error message when debuggin g)
  • 10:24:43 <Stefanie> when i attach a file instead it is loaded to fileadmin/userupload but does not show in FE
  • 10:25:51 <Stefanie> only workaround i have is to enter the file path and name as string in a flux:field.input :-(
  • 10:29:58 <pedda> no
  • 10:30:19 <pedda> it won't appear magically in frontend unless you use a viewhelper to render a FAL image
  • 10:30:44 <pedda> this is what you're using: https://fluidtypo3.org/viewhelpers/flux/master/Field/Inline/FalViewHelper.html
  • 10:31:06 <pedda> you see this: Example how to get the first file reference from a fluidcontent element, for the flux field named "settings.files": {v:content.resources.fal(field: 'settings.files') -> v:iterator.first() -> v:variable.set(name: 'settings.files')}
  • 10:32:00 <Stefanie> i tried the template
  • 10:32:04 <Stefanie> https://fluidtypo3.org/library/code-examples.html?tx_fluidshare_display[gist]=5&tx_fluidshare_display[action]=display&tx_fluidshare_display[controller]=Gist&cHash=e403004449572e5ede2dd38d6d268f99
  • 10:32:24 <pedda> does this work from scratch for you?
  • 10:32:45 <pedda> if not: 2014-08-25 is a bit older than your flux version probably...
  • 10:33:02 <pedda> or other way round ... your flux version is older than the snippet
  • 10:33:15 <pedda> i need to leave now
  • 10:33:31 <Stefanie> thanks, pedda!
  • 10:36:08 <Stefanie> (got the latest flux version 7.2.1)
  • 12:41:47 <pedda> NamelessCoder around?
  • 12:41:56 <pedda> +still