IRC logs

20141029

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

IRC log range: 20141029*

20141029

  • 07:00:00 <jmverges> good morning mates
  • 07:02:17 <jmverges> hi Momodedf
  • 07:03:52 <Momodedf> hello there
  • 07:04:11 <jmverges> ;)
  • 07:07:26 <randomresult> morning
  • 07:10:23 <jmverges> morning randomresult
  • 07:11:35 <jmverges> did you try xaver's Vagrant?
  • 08:13:41 <Momodedf> I've just started with fluidcontent_core is there any way to add a custom label for my variant in the select ?
  • 09:10:28 <gbod> Hehe, jmverges and his vagrant box - kinda Groundhog Day-ish.
  • 09:13:03 <jmverges> gbod, ;D
  • 09:13:36 <jmverges> I'm sick of it. I just want to finish it and start to develop that is my work !
  • 09:15:46 <gbod> jmverges: All I can say about it is that it runs really smooth on my machines, well, after switching from rsync to folder sharing. But that's a homgenic machine park with only fruit logo styled computers.
  • 09:16:04 <Akii> hehe
  • 09:16:58 <jmverges> gbod, I don't understand why is slow in my machine
  • 09:17:07 <jmverges> is a new computer
  • 09:17:16 <Akii> just wanted to suggest getting a faster computer :P
  • 09:17:37 <jmverges> Akii, you will be surprised
  • 09:17:40 <jmverges> about my machine
  • 09:17:59 <Akii> unless it's a quantum computer I'm not that much surprised tbh
  • 09:18:32 <jmverges> hahahaha
  • 09:18:50 <jmverges> okey okey I mean that I have ssd 32gb ram and i7
  • 09:19:11 <jmverges> this machine was thought for AV production
  • 09:19:13 <Akii> but you're not using a ram disk, right?
  • 09:19:21 <Akii> that would speed things up
  • 09:19:37 <jmverges> what ram disk?
  • 09:19:41 <jmverges> what is that?
  • 09:20:26 <jmverges> the vagrant machine that I used once for other frameworks works fine
  • 09:20:28 <Akii> well.. it's like your normal HDD but it's completely in RAM
  • 09:20:39 <jmverges> omg...
  • 09:21:07 <jmverges> I don't need that
  • 09:21:13 <jmverges> for a vagrant
  • 09:21:25 <jmverges> should be something related with configuration
  • 09:21:38 <Akii> :D
  • 09:22:36 <jmverges> mates, I promise to not be every day asking shit once that I get this vagrant working fine
  • 09:24:38 <Akii> I'd help you if I could :)
  • 09:28:16 <jmverges> Akii, thank you mate
  • 09:29:19 <Akii> can you use nfs? or do you already? (I think that was suggested yesterday as well)
  • 09:29:37 <jmverges> I'm using nfs
  • 09:29:52 <jmverges> I unmount /vagrant
  • 09:29:53 <Akii> so it's more CPU related then?
  • 09:30:00 <jmverges> I have no idea
  • 09:30:08 <jmverges> how could I know that?
  • 09:30:42 <jmverges> I'm doing a top
  • 09:31:16 <Akii> well I'm no pro, but I'd look at how much the CPU is used
  • 09:31:24 <Akii> how many CPUs are there btw?
  • 09:31:27 <jmverges> and VBox process is taking between 20% and 40% of my cpu
  • 09:31:54 <jmverges> Intel® Core™ i7-4770K CPU @ 3.50GHz × 8
  • 09:32:14 <Akii> I mean in the VM
  • 09:32:26 <Akii> if you only give it one core or smth
  • 09:32:37 <Akii> (shouldn't matter too much but you never know)
  • 09:33:04 <jmverges> no I'm giving access to all cpu cores
  • 09:33:08 <Momodedf> Yeah ! my first pull request :D
  • 09:33:16 <jmverges> and a 1/4 of my memory
  • 09:33:26 <jmverges> my machine ram I mean
  • 09:33:36 <Akii> Momodedf: build failed.. not a good sign
  • 09:33:52 <Momodedf> oh ? how di you see that ?
  • 09:34:06 <Akii> it's on the page that was just linked
  • 09:36:20 <Momodedf> oh, I'm kind of new to git world, I dont know what Travis is
  • 09:36:56 <Akii> travis is some continuous integration stuff.. never played around with that myself but I'd guess it runs tests that failed
  • 09:37:02 <Akii> did you run tests? ^^
  • 09:37:23 <Momodedf> manualy
  • 09:38:08 <Xatenev> Momodedf: Travis automatically builds the project to test your commits (like jenkins for example if you know that?)
  • 09:38:29 <Akii> https://travis-ci.org/FluidTYPO3/fluidcontent_core/jobs/39357431
  • 09:38:36 <Akii> codesniffer
  • 09:38:46 <Akii> FluidTYPO3 coding standards got ya
  • 09:39:10 <Momodedf> I dont but I'm reading on the subject right now
  • 09:39:18 <Momodedf> Ok i'll check it out
  • 09:39:19 <Xatenev> 131 | ERROR | Whitespace found at end of line lol
  • 09:39:24 <Akii> hihihi
  • 09:39:29 <Xatenev> powned
  • 09:39:30 <Xatenev> xD
  • 09:39:39 <Akii> I love that such things are enforced though
  • 09:39:49 <Akii> nothing is worse than poorly formatted code
  • 09:39:56 <Akii> well besides of buggy code
  • 09:40:32 <jmverges> phpstorm, autoformat on commit :p
  • 09:41:53 <gbod> brain 0.9beta does it for me
  • 09:41:58 <Akii> two of the things I'll never let phpstorm do: format my code, commit / push to git
  • 09:42:00 <Momodedf> I guess i found it, there is a tabulation at the line after function declaration, i'm looking for a tool to run the check now
  • 09:42:47 <jmverges> why not Akii ?
  • 09:42:52 <Momodedf> its automatic on eclypse :-/
  • 09:44:30 <jmverges> I try to write properly however if PhpStorm is there, why not use it?
  • 09:45:46 <gbod> Akii but if you configured your PhpStorm right, the reformating works well.
  • 09:46:08 <Akii> ye I guess
  • 09:50:15 <Momodedf> codesniffer run check
  • 09:50:26 <Momodedf> oops, missed
  • 10:07:19 <Xatenev> lold
  • 10:07:24 <Xatenev> I got this fluid form
  • 10:07:37 <Akii> is it responsive?
  • 10:07:41 <Xatenev> http://pastebin.com/SvFW4c8M
  • 10:07:49 <Xatenev> so simple
  • 10:07:58 <Xatenev> but I dont get to the create action
  • 10:08:04 <Xatenev> in my EventController - whats worng there o>o
  • 10:08:24 <Akii> where do you land instead?
  • 10:08:32 <Xatenev> list view
  • 10:08:47 <Xatenev> Tho the create action normally redirects to the list after it created it
  • 10:09:04 <Xatenev> but i got var_dump("TEST"); and exit; as first statements inside createAction
  • 10:09:05 <Akii> well then insert a breakpoint or die() in there
  • 10:09:09 <Xatenev> did
  • 10:09:21 <Xatenev> but I dont get there.. Lold
  • 10:09:44 <Akii> what does the action url look like in the rendered form?
  • 10:10:19 <Xatenev> /events/?my_ext_pi2[action]=create&cHash=19968526303f640121a8e7193bbec123
  • 10:10:34 <Xatenev> Maybe the action is not allowed? Ima check
  • 10:10:42 <Akii> I just assume you don't have a hidden field in those FormFields that has a name="action" and value="list"
  • 10:10:49 <Akii> that would throw an exception
  • 10:10:55 <Akii> normally
  • 10:11:11 <Xatenev> no hidden field here
  • 10:12:00 <Xatenev> yea the create action isnt listed in ext_localconf
  • 10:12:01 <Xatenev> like i thought
  • 10:12:04 <Xatenev> lets see if it owrks now..
  • 10:12:18 <Akii> could be cache
  • 10:12:52 <Xatenev> cleared using install tool
  • 10:12:53 <Xatenev> so shud be same
  • 10:12:58 <Xatenev> Mhm still not working
  • 10:16:58 <Xatenev> ha works great now :p
  • 10:17:09 <Xatenev> somebody didnt register the action in the flexform >.<
  • 10:17:21 <Akii> O.o
  • 10:23:47 <Xatenev> Is there an easy way to get some kind of calendar
  • 10:23:52 <Xatenev> for powermail date fields?
  • 10:30:36 <jmverges> you can create one, can't you?
  • 10:31:30 <jmverges> I don't know how works powermail 2>
  • 10:31:44 <jmverges> however with 1.x it was simple
  • 10:32:19 <Xatenev> Dunno how
  • 10:32:37 <Xatenev> If u know how - tell meh! :D
  • 10:32:42 <jmverges> I don't remember now
  • 10:36:10 <jmverges> I didn' work for the last two years with TYPO3 and I'm just trying to get a vagrant now
  • 10:40:20 <gbod> Let's create a jmverges-award for putting the term vagrant in every single sentence mankind can imagine. *scnr* Come on, xaver, show some mercy.
  • 10:41:02 <Akii> not every sentence
  • 10:41:14 <Akii> but sure every second has vagrant in it
  • 10:41:37 <gbod> hehe
  • 10:43:47 <Momodedf> YEAH !fluidtypo3 condig standards check !
  • 10:44:10 <Akii> NamelessConder
  • 10:44:12 <Akii> ^^
  • 10:44:14 <Momodedf> I'm living an adventure every day :D
  • 10:56:01 <jmverges> gbod, I think that is not a xaver problem
  • 10:56:32 <gbod> Well, maybe he has some hints for you.
  • 10:56:44 <jmverges> I'm sharing with nfs
  • 10:56:53 <jmverges> and I'm sharing a big folder
  • 10:57:43 <gbod> Maybe he's currently on the nfs thing. I don't know for sure.
  • 10:58:08 <jmverges> I read that nfs is faster
  • 10:59:07 <gbod> Do you share the whole T3 system? Or the ext folder only?
  • 10:59:14 <jmverges> whole
  • 10:59:38 <gbod> But why? Even typo3temp.
  • 11:00:10 <jmverges> I'm sharing www
  • 11:00:22 <jmverges> I need to have more than one project in the machine
  • 11:00:50 <gbod> Take more than on vagrant box. One for each project.
  • 11:01:03 <jmverges> workmates don't want
  • 11:01:30 <gbod> Ah, it's a social problem note a vagrant one.
  • 11:01:34 <jmverges> hahahahaha
  • 11:01:40 <gbod> -note + not
  • 11:01:42 <gbod> :)
  • 11:02:53 <Akii> well just offer both: slow as f*ck and single boxes
  • 11:03:17 <jmverges> how could the amount of files affects?
  • 11:04:10 <gbod> syncing takes time
  • 11:04:25 <jmverges> nfs?
  • 11:05:13 <jmverges> besides, how could that affect to a http petition?
  • 11:16:51 <jmverges> 31299 juanman+ 20 0 3378780 2,029g 1,987g S 52,9 6,5 8:35.05 VBoxHeadless
  • 11:17:07 <jmverges> so is that, is just the amount of files
  • 11:17:13 <jmverges> omfg
  • 12:01:00 <randomresult> is there a way to make the RTE in a FCE respecting the global settings. My FCe show all the buttons and options. when using a normal textelemet (CSC) my settings work.
  • 12:01:25 <cedricziel> if you need virtualisation, use a slim docker container, other than that, vagrant sucks big time regarding the amount of files generated
  • 12:03:05 <cedricziel> another way would be to cut the sync and use rsync with --delete as shared folder option
  • 12:18:06 <jmverges> xaver, I'm so sorry about all the noise that I created mate.
  • 12:18:29 <jmverges> at the end I have it working fine
  • 12:35:02 <Guest|76229> anybody here with fluidpages experience? i configured everything like in the manual, but my custom content element only appears in backend, but nothing happens in the frontend. the section main in my content element does not render
  • 12:35:52 <Guest|76229> when i remove \FluidTYPO3\Flux\Core::registerProviderExtensionKey('iq_gruppe', 'Page');\FluidTYPO3\Flux\Core::registerProviderExtensionKey('iq_gruppe', 'Content');
  • 12:36:16 <Guest|76229> page layout renders still fine, this is wired
  • 12:37:56 <cedricziel> hi oschulz ;)
  • 12:39:15 <oschulz> hi
  • 12:41:59 <cedricziel> is this just an issue with your custom fluidcontent element, or is it affecting the rendering of all your elements?
  • 12:42:22 <oschulz> i have only one CE for testing
  • 12:42:31 <oschulz> the page rendering works fine
  • 12:42:55 <cedricziel> please insert another element above or below it and check if that one gets rendered
  • 12:43:02 <oschulz> i also added an ContentController in my extension
  • 12:43:09 <oschulz> yes this one gets renderd
  • 12:43:28 <oschulz> also the heading field of the CE gets renderd, but not its content
  • 12:43:36 <cedricziel> which extensions are you using in what version?
  • 12:44:06 <oschulz> "fluidtypo3/fluidcontent": "4.1.0",
  • 12:44:06 <oschulz> "fluidtypo3/fluidcontent_core": "dev-development#26826cfae452da140756b35300f4b5256df0ddbf",
  • 12:44:06 <oschulz> "fluidtypo3/fluidpages": "3.1.1",
  • 12:44:06 <oschulz> "fluidtypo3/flux": "7.1.0",
  • 12:44:06 <oschulz> "fluidtypo3/vhs": "2.1.2"
  • 12:45:02 <cedricziel> alright; do you use fluidcontent_core?
  • 12:45:05 <NamelessCoder> update fluidcontent_core and make sure you ran the extension manager upgrade script. Make sure your page template uses VHS and has at least one v:content.render referring to your column
  • 12:45:12 <cedricziel> thx NamelessCoder
  • 12:45:50 <oschulz> i will have a try
  • 12:57:02 <oschulz> nothing changes, i cleared all caches, reinstalled fluidcontent_core
  • 13:04:25 <NamelessCoder> css_styled_content not installed? you made sure you included the static TS for fluidcontent_core and your provider extension?
  • 13:05:20 <NamelessCoder> and you are *sure* you ran the extension manager update script for fluidcontent_core - little green cycle arrow?
  • 13:12:47 <Guest|19166> Hey guys ^^ I got a problem with jumplinks in fluid templates.
  • 13:13:27 <Guest|19166> Everytime when i click on the i get an exception : #1187176359: The action name must be a valid string, array given (Array)
  • 13:14:47 <oschulz> Update script for fluidcontent_core
  • 13:14:47 <oschulz> No update necessary.
  • 13:20:14 <oschulz> ok, i tried it all, cleared the chaches, nothing works
  • 13:21:20 <oschulz> another question is why all labels are in backend empty? when i want to select my CE i have to select an empty label
  • 13:25:50 <Guest|19166> have anyone here an answer for my problem?
  • 13:32:18 <oschulz> sry, never tried jumplinks, did you set controller and action paramter?
  • 13:32:48 <oschulz> also try to delete all caches including Cache directory in typo3temp
  • 14:54:53 <beo6> i dont know what i did wrong but i suddenly get the error: Fatal error: Call to a member function getSingle() on a non-object in /var/www/clients/client1/web100/web/typo3conf/ext/fluidpages/Classes/Controller/AbstractPageController.php on line 104
  • 14:55:35 <beo6> i only worked on one extension. But even when i remove it now the error stays
  • 14:56:28 <beo6> ah. maybe i am in the wrong channel. sorry
  • 15:04:03 <NamelessCoder> beo6 most likely need to clear all caches, possibly need to do it from install tool
  • 15:04:24 <NamelessCoder> and/or you updated fluidpages to a new minor version without also updating flux
  • 15:13:40 <ruben> Hello, i'am currently using this snippit to get the grid of a content element:
  • 15:13:41 <ruben> $grid = $this->configurationService->getGridFromTemplateFile(
  • 15:13:48 <papillon6> Hi! I'm struggling with the language_fallback with fluidpages/fluidcontent. config.sys_language_mode is set to 'content_fallback;1,0' and config.sys_language_overlay = 1, but no content is shown on translated pages. Did i miss something?
  • 15:14:20 <ruben> but i cant get the content-areas out of $grid
  • 15:16:31 <NamelessCoder> ruben assuming you pass the correct template file and configuration section name, $grid will be an instance of FluidTYPO3\Flux\Form\Container\Grid with children attached.
  • 15:18:06 <NamelessCoder> ruben there are two ways to process this data: using the OOP, $rows = $grid->getRows(), $columns = $row->getColumns() and so on. Alternatively call $asArray = $grid->build(); and access the resulting array. Depending on your use case the second solution may be faster on your end, but the first solution should perform better if you only need to read for example names of all columns.
  • 15:18:49 <NamelessCoder> ruben note: beware you don't step in the trap of using flux:form.content inside flux:grid.column; this is deprecated. See blog at https://fluidtypo3.org
  • 15:21:18 <papillon6> Does fluidpages/fluidcontent support language_fallback at all?
  • 15:28:42 <beo6> NamelessCoder: thx. updated everything except Flux. Now still same error in frontend and additionally the error Undefined class constant 'OPTION_ICON' in /var/www/clients/client1/web100/web/typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php on line 382 in backend.
  • 15:28:55 <NamelessCoder> flux is not updated
  • 15:29:17 <beo6> how do you mean?
  • 15:29:59 <NamelessCoder> since Flux 7.1.0 this constant exists: https://github.com/FluidTYPO3/flux/blob/7.1.0/Classes/Form.php#L39
  • 15:29:59 <gbod> beo6 You should update flux too
  • 15:30:22 <NamelessCoder> if you update fluidcontent/fluidpages without also updating flux you risk breakage, especially if minor versions differ
  • 15:30:47 <beo6> i checked. according to the ext manager i have 7.1.0 installed
  • 15:31:30 <beo6> might be there a problem when i update everything to the dev branch?
  • 15:32:13 <NamelessCoder> https://github.com/FluidTYPO3/fluidcontent/blob/development/Classes/Service/ConfigurationService.php#L30 and https://github.com/FluidTYPO3/fluidcontent/blob/development/Classes/Service/ConfigurationService.php#L382 - in other words, it all checks out if your versions match.
  • 15:33:05 <NamelessCoder> if you have opcode caching make sure you flush it
  • 15:35:41 <papillon6> content is rendered with vhs - <v:content.render ...> this viewhelper has an attribute "hideUntranslated", but it seems to have no effect on my problem. well, the documentation says default behaviour is to show untranslated elements. Don't have a clue what's wrong here. Any suggestions? (Using current git-versions of vhs/fluidpages/fluidcontent)
  • 15:37:58 <beo6> ok. backend works again. Now i get the error: Fatal error: Access to undeclared static property: FluidTYPO3\Flux\Service\FluxService::$friendlySeverities in /var/www/clients/client1/web100/web/typo3conf/ext/flux/Classes/Service/FluxService.php on line 433 in frontend
  • 15:38:57 <NamelessCoder> something is throwing an error bug you also found a bug it seems
  • 15:38:58 <beo6> ah wait. the error also comes on pages with content in the backend
  • 15:40:21 <ruben> NamelessCoder i've got the columns allready but there are the flux.contents in the columns, can i access these ones without migrating the templates to the "new" way?
  • 15:41:18 <NamelessCoder> ruben no, you can't. flux:form.content generates a new grid and will conflict with flux:grid
  • 15:45:33 <beo6> NamelessCoder: i added protected static $friendlySeverities = array(); to FluxService. Now i get the frontend again. It looks horrible but maybe something in flux etc. has changed
  • 15:46:11 <NamelessCoder> hard to know without knowing what "horrible" means
  • 15:46:41 <Akii> music by justin bieber, that's horrible
  • 15:47:25 <beo6> i think it is a problem with the css. so nothing big i think
  • 15:47:37 <batjony> guys i am trying to install the latest fluid dev extensions
  • 15:47:59 <batjony> and I see fluidpages wants flux 7.1.1
  • 15:48:01 <beo6> yeah. seems it does not load the css for that part of the pagetree.
  • 15:48:10 <batjony> but the latest flux is 7.2.0
  • 15:48:52 <batjony> why I cant use flux 7.2.0 together with the latest fluidpages ?
  • 15:49:20 <NamelessCoder> 7.2.0 is dev, you can ignore the version dependency warning
  • 15:51:46 <batjony> NamelessCoder: actually the Extension Manager doesnt allow it
  • 15:52:16 <batjony> there is no warning
  • 15:52:46 <batjony> if you have flux 7.2.0 and try to install the latest fluidpages, the extension manager overwrites flux with 7.1.1
  • 15:53:16 <batjony> most likely i should use some CLI command to install it
  • 15:53:41 <NamelessCoder> dependencies deschmendencies
  • 15:54:36 <batjony> oki doki
  • 15:58:54 <NamelessCoder> much broken, not wow, very sad, un-yay
  • 16:05:07 <beo6> NamelessCoder: fixed broken, very wow. so happy. :)
  • 16:05:47 <Akii> such speed
  • 16:05:53 <batjony> NamelessCoder: nice, i have a special fluid riddle for you :)
  • 16:06:01 <batjony> One fluid content element + one fluid page template cost 1.10 EURO.
  • 16:06:03 <batjony> One page template costs 1 EURO more than one fluid content element.
  • 16:06:05 <batjony> How much costs one fluid content element ?
  • 16:06:12 <batjony> you have 1 min :)
  • 16:08:13 <NamelessCoder> what is this, 2nd grade?
  • 16:08:32 <batjony> common :) is not so hard :)
  • 16:08:42 <NamelessCoder> I don't get the question :p
  • 16:08:50 <beo6> i think i know it
  • 16:09:17 <NamelessCoder> I mean, I get the math but not why you ask?
  • 16:10:10 <papillon6> Hm, i tracked the language-fallback-problem down. Deinstalled fluidpages and voilà: fallback works like a charme. fluidcontent-elements do "fallack" also.
  • 16:10:18 <batjony> just for a variety :)
  • 16:10:31 <NamelessCoder> aaah NOW I get it hehe
  • 16:10:57 <batjony> NamelessCoder: whats your riddle's answer
  • 16:11:27 <NamelessCoder> but batjony you really should charge more for your work
  • 16:11:49 <beo6> :)
  • 16:12:12 <beo6> NamelessCoder: you too. i love your work.
  • 16:12:28 <NamelessCoder> you really want me to take 2nd grade again? Your extremely cheap and probably machine manufactored content element costs €0.10
  • 16:13:09 <batjony> NamelessCoder: you are wrong :) 0.10 is not the correct answer :)
  • 16:13:16 <gbod> Ah, homework lesson?
  • 16:13:17 <Akii> ye just wanted to say, too simple
  • 16:13:18 <batjony> 0.05
  • 16:13:38 <Akii> I feel bad that I couldn't solve it..
  • 16:13:53 <danilobuerger> something Akii cant solve?
  • 16:13:56 <Akii> like I can but not the math way
  • 16:14:04 <Akii> setting up a function and such
  • 16:14:06 <batjony> guys what are you doing :) its a simple math :)
  • 16:14:08 <danilobuerger> what did i miss?
  • 16:14:14 <Akii> yes
  • 16:14:19 <Akii> never been good at it
  • 16:14:31 <gbod> danilobuerger: 1.05 + 0.05 = 1.10
  • 16:14:50 <danilobuerger> oh i know that problem ;-)
  • 16:14:55 <NamelessCoder> I'll just stick to shit that's more complicated than that
  • 16:15:07 <NamelessCoder> good thing I'm not in the 2nd grade anymore, huh
  • 16:15:18 <beo6> but one page template is 1 and not 1.05
  • 16:15:33 <batjony> One page template costs 1 EURO more than one fluid content element.
  • 16:15:38 <beo6> ah wait. crap
  • 16:15:38 <NamelessCoder> no, the dog is buried in the word "more"
  • 16:15:48 <beo6> yeah. noticed it
  • 16:16:09 <beo6> thats the reason i hate math hidden in text. :)
  • 16:16:40 <batjony> dont worry most of the students in Oxford answered 0.10 for similar riddle
  • 16:17:51 <batjony> btw the fluidcontent_core dependencies also expect 7.1.* of flux
  • 16:17:52 <Akii> that's no excuse
  • 16:18:49 <bamo> i got a problem with fluid_content_grids. No frontend output , what can i do against that?
  • 16:19:08 <Akii> ye totally forgot all the transformations one can do
  • 16:21:08 <NamelessCoder> I'm out, later!
  • 16:21:21 <Akii> cya
  • 16:21:30 <batjony> чао
  • 16:29:11 <bamo> My Problem with fluid_content_grids is that i cant see anything in the frontend. At the backend is everything allright. I did include the static template of fluid_content_grids.
  • 16:29:45 <morgenthau> Hi everyone!
  • 16:30:04 <bamo> anyone here an idea ?
  • 16:30:51 <morgenthau> I have a problem with the vhs media.extension viewhelper and the uri.image viewhelper, maybe someone here can help
  • 16:31:03 <oschulz> i made a fresh install with builder for a provider extension, the main section still does not render
  • 16:31:23 <morgenthau> I have the following line in a tx_news template:
  • 16:31:26 <morgenthau> <v:media.extension file="{f:uri.image(src:'{mediaElement.uid}' ,treatIdAsReference:1)}"></v:media.extension>
  • 16:31:39 <oschulz> bamo, i have exactly the same problem
  • 16:32:00 <morgenthau> It doesn't work, because v:media.extension doesn't accept a url beginning with a /
  • 16:32:40 <morgenthau> Anyone any idea how to get rid of the / at the beginning of the url?
  • 16:33:11 <morgenthau> Or how v.media.extension might accept the output of f:uri.image?
  • 16:36:41 <gbod> bamo: Which flux version?
  • 16:37:03 <denis-fluid> Good evening. :-)
  • 16:37:31 <denis-fluid> I got a question regarding the usage of the RTE editor with the flux.text
  • 16:37:48 <denis-fluid> The output gets escaped all the time. How can I avoid that?
  • 16:38:13 <gbod> bamo: You mean the EXT: fluid_content_grids?
  • 16:44:01 <danilobuerger> denis-fluid f:format.raw
  • 16:44:52 <denis-fluid> danilobuerger: Ok that works now. But when using f:format.raw it doesn't output me a simple <p>lorem…</p>. It only outputs the "lorem…". The paragraph tag is missing.
  • 16:45:47 <denis-fluid> On the other hand when adding a simple list to the RTE. The output is correct.
  • 16:46:02 <danilobuerger> maybe you are not saving the <p> in rte
  • 16:47:00 <cedricziel> an rte field would be parsed with f:format.html so it gets rendered through a parseFunc
  • 16:47:05 <denis-fluid> In the RTE I can see the paragraph tag when switching to the code mode. But in the output every p is dropped.
  • 16:47:14 <denis-fluid> (RTE is default)
  • 16:47:38 <cedricziel> {myText -> f:format.html()}
  • 16:48:01 <cedricziel> that way the rte config from tsconfig and from the parsefunc is taken into account and links are parsed etc..
  • 16:48:52 <denis-fluid> Ok I will try that.
  • 16:49:05 <beo6> {myText -> f:format.html(parseFuncTSPath: 'lib.parseFunc_RTE')}
  • 16:49:29 <beo6> but i think lib.parseFunc_RTE is the default
  • 16:50:11 <denis-fluid> So this should be fine: <f:format.html>{text}</f:format.html>
  • 16:51:49 <beo6> yes. but {text -> f:format.html()} is shorter
  • 16:52:31 <denis-fluid> beo6: Yeah. :-) Thank you very much.
  • 16:52:44 <denis-fluid> Got it working now. (TYPO3 noob :D)
  • 16:53:27 <beo6> np. but also thank cedricziel ;)
  • 16:53:46 <denis-fluid> cedricziel and danilobuerger: Thank you very much! :-)
  • 16:54:00 <cedricziel> glad it works. which approach?
  • 16:54:07 <denis-fluid> {text -> f:format.html()}
  • 16:54:12 <cedricziel> ;)
  • 16:54:20 <denis-fluid> Or the more verbose thing: <f:format.html>{text}</f:format.html>
  • 16:54:21 <denis-fluid> :-)
  • 16:54:44 <cedricziel> the more verbose thing is likely to be wrecked by auto-reformatin in your IDE
  • 16:54:59 <beo6> depends on the IDE
  • 16:55:08 <cedricziel> therefore you should choose the more compact one
  • 16:55:20 <denis-fluid> Finally I did :-)
  • 16:55:41 <cedricziel> if your IDE adds spaces to <f:format.html> {text} <.... you'll get empty p's
  • 16:56:15 <morgenthau> Or is there any other easy way to output the file extension of a tx_news media asset? (besides v.media.extension)
  • 16:58:04 <gbod> morgenthau if it's only the slash in front of the src you can <v:format.trim /> it
  • 17:00:39 <oschulz> hey all, i made a fresh install of fluidpages and fluidcontent, i made an provider extionsion via builder, included all typscript via template record... whe the heck the contnent elements doesent render in frontend ?
  • 17:02:21 <Akii> oschulz: well do you render the columns in the page template?
  • 17:02:26 <morgenthau> gbod, thanks for the hint! unfortunately, i can't find any good examples online. Could you tell me how to use it?
  • 17:03:07 <oschulz> yes, normal content elements appear as normal
  • 17:03:19 <oschulz> just the custum elements doesent render
  • 17:03:55 <Akii> do you render something in the Main section of your custom content elements?
  • 17:04:14 <oschulz> yes i render just the text "foo"
  • 17:05:06 <oschulz> i can create the CE as normal in BE... the section Main is ignored
  • 17:05:54 <gbod> oschulz: Layout is set?
  • 17:06:12 <oschulz> yes, layout is set
  • 17:06:31 <bamo> gbod flux 7.1 and yes
  • 17:06:32 <oschulz> it references to Layouts/Layout.html
  • 17:07:55 <gbod> bamo: if fluid_content_grid is the version from Github then it needs an ancient version of flux and maybe vhs. :) give https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme a try
  • 17:08:14 <gbod> bamo: Mainly for the Grids
  • 17:08:18 <morgenthau> gbod, i think i understand v:format.trim now. Problem is: If i tell it, to trim all / , then the path will be messed up.
  • 17:08:58 <morgenthau> it will be fileadminuseruploadsomedirfilename.txt instead of fileadmin/userupload/somedir/filename.txt
  • 17:09:22 <morgenthau> Or am I getting it wrong?
  • 17:10:22 <gbod> morgenthau: Yes, there must be something wrong.
  • 17:10:39 <gbod> Some code, please
  • 17:11:21 <gbod> oschulz: And in the Layouts/Layout.html the section 'main' gets rendered?
  • 17:12:15 <oschulz> yes, i also created an dummy extension via builder ...
  • 17:12:35 <oschulz> this extension also doesent work
  • 17:13:05 <morgenthau> gbod: actually, I'm not getting anything. {v:format.trim(content: '{f:uri.image(src:'{mediaElement.uid}' treatIdAsReference:1)}, characters: '/')}
  • 17:15:55 <gbod> morgenthau: if I try this {v:format.trim(content: '/foo/bar/baz.gif', characters: '/')} I get foo/bar/baz.gif
  • 17:17:57 <Akii> seems like some escaping is missing
  • 17:18:06 <Akii> \'{mediaElement..
  • 17:18:15 <gbod> Yep
  • 17:18:18 <Akii> y u no chain?
  • 17:18:33 <oschulz> hrmpf, can anbyodx plese check if the extenison wokrs?
  • 17:18:34 <Akii> {f:uri.image() -> v:format.trim(}
  • 17:18:40 <morgenthau> me no good with fluid :(
  • 17:18:51 <morgenthau> ah, i'll try
  • 17:19:07 <gbod> oschulz: Is the a way you gist your code https://gist.github.com/
  • 17:19:27 <oschulz> "fluidtypo3/fluidcontent": "4.1.0",
  • 17:19:27 <oschulz> "fluidtypo3/fluidcontent_core": "1.0.0",
  • 17:19:27 <oschulz> "fluidtypo3/fluidpages": "3.1.1",
  • 17:19:27 <oschulz> "fluidtypo3/flux": "7.1.1",
  • 17:19:27 <oschulz> "fluidtypo3/vhs": "2.1.3",
  • 17:19:27 <oschulz> "fluidtypo3/builder": "0.14.0"
  • 17:19:40 <Akii> {palm -> face}
  • 17:22:53 <oschulz> https://gist.github.com/tv-schulz/75f30b42c1090fcf1e10
  • 17:26:27 <morgenthau> Akii: Great tip, it works now
  • 17:26:35 <morgenthau> gbod: Thanks, it works now!
  • 17:26:43 <Akii> yay!
  • 17:29:50 <wagner51> Hi all. When saving a basic TYPO3 content in a BE page. I have the error #1404736585: No content template found
  • 17:29:59 <wagner51> RuntimeException thrown in file
  • 17:30:46 <wagner51> home/klee/www/typo3conf/ext/fluidcontent/Classes/Provider/ContentProvider.php in line 173
  • 17:31:54 <oschulz> @gbod sometihng found?
  • 17:31:56 <wagner51> I use a Fluidpage template for this page, and I set "Fluidpages" for BE layout
  • 17:32:29 <danilobuerger> wagner51 check database, whats in tx_fed_fcefile for that uid?
  • 17:33:27 <gbod> oschulz: Nope, looks okay
  • 17:35:16 <wagner51> I don't have the field 'tx_fed_fcefile' in the 'pages' table
  • 17:35:33 <danilobuerger> wagner51 i thought you where talking about a content element not a page?
  • 17:37:02 <gbod> oschulz. Gets the column rendered in the page template?
  • 17:37:33 <wagner51> Yes sorry. In content element, nothing in tx_fed_fcefile.
  • 17:37:54 <gbod> oschulz is there something like <v:content.render column="0"/> in it?
  • 17:38:17 <gbod> I just copied your code and the FCE gets rendered in frontend.
  • 17:38:47 <Akii> le cache?
  • 17:38:55 <danilobuerger> wagner51 well there you have it, if for that content element there is nothing in tx_fed_fcefile then it cant find a content template. you need to assign one in the backend by editing the content element and selecting one in the select box "Fluid Content type"
  • 17:39:09 <danilobuerger> Akii its always cache or configuration
  • 17:39:24 <Akii> and it's always asked at the end :D
  • 17:40:15 <Guest|47843> Hey guys, i build a FCE with a grid row to put contents in. How can i make it possible to close this fce in the backend? Dont know how to explain exactly. But with "templavoila" it was possible to toggle the contents inside a FCE. Someone knows what i mean? :D
  • 17:40:33 <gbod> Akii It must be asked in the end otherwise it won't be the solution :D
  • 17:40:41 <Akii> interesting theory
  • 17:41:56 <gbod> Guest|47843 What do you mean with toggle? On and Off?
  • 17:42:44 <wagner51> @danilobuerger You say I have to select 'Special > Fluid content' in the content type list? But if I want a simple text content?
  • 17:43:09 <Guest|47843> @ gbod i mean to hide and show the contents
  • 17:43:54 <danilobuerger> Guest|47843 of the preview in the backend?
  • 17:44:55 <gbod> Guest|47843 ehem, put content into your container an then there should be your toggle buttons.
  • 17:45:00 <cedricziel> would be easier to diagnose if there was a pastebin
  • 17:46:31 <Guest|47843> yes the preview no there is no button :x
  • 17:46:37 <gbod> Guest|47843 Do you mean hiding it just in the backend to get more screen estate?
  • 17:47:29 <beo6> Guest|47843: it was hiding the content with javascript. nothing fancy.
  • 17:47:54 <Guest|47843> yes. i have in the preview section of my fce "flux:widget.grid". in This grid i put contents and with templaVoila it was possible to close and open this grid
  • 17:48:14 <danilobuerger> actually Guest|47843 that feature seems to be broken
  • 17:48:30 <beo6> never knew what this could be for. When i edit a page normally i want to see the content. :)
  • 17:48:46 <Guest|47843> @beo6 cause my contents are too long
  • 17:48:54 <gbod> beo6 but sometimes there are loads of them
  • 17:49:00 <Guest|47843> @beo6 just to close this contents which i wont edit
  • 17:49:04 <beo6> just scroll
  • 17:49:09 <Guest|47843> lol
  • 17:49:19 <beo6> ;)
  • 17:49:32 <Guest|47843> but it helps for the organisation of contents
  • 17:49:36 <danilobuerger> Guest|47843 please file a bug report @ fluidpages...
  • 17:50:24 <beo6> bye @ all
  • 17:50:42 <Akii> cya
  • 17:51:02 <Guest|47843> @danilobuerger okay... but can you tell me the correct bug? :D cant describe it
  • 17:52:00 <danilobuerger> sure t3-page-ce is never set to active on hover since custom typo3pageModule.js is not included anymore since the backend override was removed thus hiding the content toggle forever
  • 17:53:34 <Guest|47843> oh wow ok :) Thank you very much!
  • 18:00:22 <wagner51> danilobuerger I updated flux, fluidpages and fluidcontent and my error message has gone... for the moment ;)
  • 18:05:42 <oschulz> gbod, yes there is <v:content.render column="0"/> in page template
  • 18:06:22 <oschulz> when i enter an header in FCE its rendered
  • 18:22:41 <cedricziel> oschulz: could you please pass a pastebin?
  • 18:23:22 <cedricziel> i see youre having trouble, but my magic bowl is getting cleaned atm
  • 18:23:30 <cedricziel> ;)
  • 21:49:17 <erredeco> Hi there everyone
  • 21:49:40 <erredeco> I've just discovered some moments ago that the extension "view" conflicts with powermail 2.1.5
  • 21:50:11 <erredeco> I explain better: it conflicts with the overlay implementation of Powermail
  • 21:50:38 <erredeco> (overlay = alternative path for partials with fallback)