IRC logs

20150901

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

IRC log range: 20150901*

20150901

  • 03:35:28 <braguzz> hi I have some problem with fluidcontent_core
  • 03:35:28 <braguzz> Paolo Bragagni [9:30 AM]
  • 03:35:28 <braguzz> I add two flux filelds 'Header Class' and 'wrapinheader'
  • 03:35:28 <braguzz> when I start a new content, headerclass selection is filled with the contant that I have inserted in ext setup,
  • 03:35:28 <braguzz> but when I edited the content, I get 'Invalid value', ecc..
  • 03:58:13 <braguzz> going crazy with this
  • 04:01:59 <bottoni> braguzz I think some more details would be helpful. Did you already post a gist or the like to see your code?
  • 04:02:27 <braguzz> I post it in slack.
  • 04:02:30 <braguzz> wait
  • 04:03:27 <braguzz> http://pastebin.com/9FUH0CWw
  • 04:03:43 <braguzz> I put this in setup section of my template
  • 04:07:27 <bottoni> I think classNames and classNamesDefault are the only valid TS nodes below header,container,image, ...
  • 04:07:55 <bottoni> you cannot invent new ones since they won´t be processed
  • 04:09:04 <bottoni> ok, there are more just check the original TS of fluidcontent_core
  • 04:09:30 <braguzz> I'm doing it
  • 04:10:03 <braguzz> I've only add something inside the header part.
  • 04:11:02 <braguzz> it wotks when I add content, but when I edit content that I've inserted, I got not the list
  • 04:11:21 <braguzz> for example if I insert wrapinheader = No,Yes
  • 04:11:46 <braguzz> when I insert new content I see a dropdown with No and Yes
  • 04:12:23 <braguzz> if I insert Yes and save, when I reedit that content I see only 'Yes' in dropdown
  • 04:14:57 <bottoni> All that´s done in header is selecting the heading level (1-6). It sounds like your new values No,Yes are somehow used as a replacement for the integer values 1-6 and that´s maybe why the error message reads 'Invalid value'
  • 04:16:10 <braguzz> mmm, I dont think heading level are there
  • 04:16:51 <braguzz> my primary idea is to insert some other variable
  • 04:17:21 <bottoni> that´s the default. Selecting the level and adding classes. Adding Fluid variables is not possible from there
  • 04:17:46 <braguzz> are you sure?
  • 04:18:08 <bottoni> I would suggest building own content elements FluidTYPO3 offers all to do it without effort. And from there you are totally free to build what you want
  • 04:18:54 <braguzz> yes but I want that user can choose to wrap header
  • 04:19:12 <braguzz> with a class
  • 04:19:33 <bottoni> yes I´m quite sure since I didn´t read sth like that until now. Maybe someone here can correct me. But I think what I described is the scope of the fluidcontent_core TS
  • 04:20:28 <braguzz> someone some days ago told me that this is the way to do
  • 04:20:44 <bottoni> You can´t achieve the styling by making the class available the default way?
  • 04:22:35 <braguzz> I'd like that the user choose to wrap or not the header so he choose h2 and headline-right
  • 04:22:59 <braguzz> result should be <div class="headline-right"><h2>title</h2></div>
  • 04:23:36 <braguzz> it should work probably I miss something in constant or in setup TS
  • 04:28:59 <bottoni> I could imagine reading {settings.header.className} and adding the wrapping conditionally with Fluid. So you would add settings.header.classNames = wrapinheader ore maybe something more readable in your TS
  • 04:30:10 <braguzz> my idea was that
  • 04:30:48 <braguzz> but I'd like that user can choose it
  • 04:31:03 <braguzz> no every h2 should wrapped by that class
  • 04:31:12 <braguzz> (for example)
  • 04:32:31 <bottoni> ok there would be no select box with yes/no but at least your markup would be possible that way
  • 04:33:17 <braguzz> yes but where the user choose?
  • 04:35:22 <braguzz> I think that fluidcontent_core should achieve my situation
  • 04:36:08 <braguzz> It is only a fluidtypo3 ext so it should follow the rules of FT3
  • 04:36:55 <bottoni> Insid tab 'Appearance' is the tab 'header' where you find your classNames
  • 04:39:00 <braguzz> so yiou tell me that is not possble to add my own settings.header.myown ?
  • 04:39:27 <braguzz> you know that or is only your sopposition?
  • 04:39:31 <braguzz> suppo
  • 04:41:27 <bottoni> you can add your classes in settings.header.classNames comma separated
  • 04:42:46 <braguzz> sure I can but is not very elegant.I could insert wrappeddiv-headline-right ecc and that wrapping conditionally
  • 04:43:14 <robsonrobi> Hello together.
  • 04:43:21 <braguzz> but is not very elegant. are you sure that we cant in other way?
  • 04:43:38 <robsonrobi> Can anybody help me with a FLUX question?
  • 04:43:48 <braguzz> mmm
  • 04:44:18 <bottoni> I don´t know of any other way than building your own content element outside fluidcontent_core
  • 04:44:30 <braguzz> I'm very a noob
  • 04:44:57 <braguzz> can you try my setup in one of your env?
  • 04:47:14 <robsonrobi> I have a custom FCE build with flux. In the configuration exist an inline FAL an multiple input fields. My goal is, when i localize the element, i do not want the FAL be localized, instead the original FAL of the mother language should be used. i recognized the attribute "localizationMode" = 'keep' but it has no effect. Am i missgin soetinh, can an
  • 04:47:15 <robsonrobi> ybody assist?
  • 04:47:43 <robsonrobi> I have a custom FCE build with flux. In the configuration exist an inline FAL and multiple input fields. My goal is, when i localize the element, i do not want the FAL be localized, instead the original FAL of the mother language should be used. i recognized the attribute "localizationMode" = 'keep' but it has no effect. Am i missing something, can
  • 04:47:43 <robsonrobi> anybody assist?
  • 04:47:50 <braguzz> not me.. :(
  • 04:48:24 <robsonrobi> i do not know how to move on with that topic...
  • 04:48:27 <braguzz> I've understood your problem and is enough for me ;)
  • 04:48:29 <bottoni> Did that and it is as expected. I don´t see anything selectable in backend since settings.header.wrapinheader won´t be processed in any way
  • 04:49:12 <braguzz> but why it works when I add new content?
  • 04:50:08 <braguzz> look at that https://slack-files.com/T024TUMLZ-F09T263RN-fb9cae2d45
  • 04:51:10 <bottoni> I can´t tell it has no effect with exting content and with new content on my side
  • 04:52:04 <braguzz> have you inserted in setup with [global] ?
  • 04:52:27 <bottoni> yes
  • 04:52:47 <braguzz> remove the view part
  • 04:54:11 <bottoni> why?
  • 04:56:04 <braguzz> I think you havent the templates there
  • 05:09:06 <braguzz> argh
  • 05:09:33 <braguzz> thank you anyway bottoni, but I still think that I can do it in that way
  • 05:10:00 <braguzz> but if in a couple of days cant solve it, I follow your approach.. ;)
  • 05:10:46 <bottoni> Would be nice to know if it works for me too, good luck
  • 05:12:25 <braguzz> let us read the manual ;)
  • 05:12:39 <drlimbo> good morning
  • 05:13:26 <braguzz> you know.. when everithing else fail, read the manual
  • 05:13:32 <drlimbo> after upgrading flux-family all my FCE's doesn't have an icon =( is there something new? i thought without specyfy an icon, all will use the default icon
  • 05:25:00 <bottoni> braguzz and if it still fails, read the code
  • 05:25:40 <braguzz> ;)
  • 05:51:13 <braguzz> http://www.stackoverflow.dluat.com/questions/28676694/edit-headlines-header-level-fluid-powered-typo3-fluidcontent-core-instead-of-c
  • 05:51:19 <braguzz> @bottoni
  • 05:54:05 <bottoni> yes thats the standard way to do things
  • 05:55:22 <bottoni> maybe there´s a problem with your templates so you would have to post these
  • 05:55:45 <bottoni> a gist containing everything relevant is always best
  • 06:06:26 <braguzz> :( argh
  • 06:22:27 <robsonrobi> no idea at all ? I have a custom FCE build with flux. In the configuration exist an inline FAL and multiple input fields. My goal is, when i localize the element, i do not want the FAL be localized, instead the original FAL of the mother language should be used. i recognized the attribute "localizationMode" = 'keep' but it has no effect. change the
  • 06:22:27 <robsonrobi> file reference in the source show render that new image in the translation Am i missing something, can anybody assist?
  • 07:32:59 <jost> Can someone tell me, how well workspaces are supported in the newest versions of flux and fluidcontent? Especially when using nested content?
  • 07:39:11 <drlimbo> im also interested in that question jost
  • 07:39:38 <drlimbo> i think me had a project with flux and fluidcontent WITH workspaces, and i don't remember any problems
  • 07:40:05 <jost> drlimbo: I have a case here, where virtually nothing works
  • 07:40:22 <jost> Either I am doing something wrong, or the compatibility is not so great
  • 07:40:38 <drlimbo> i think we didnt had problems
  • 07:40:42 <drlimbo> what u mean with nested content?
  • 07:40:49 <drlimbo> FCE with a container who contains another FCE?
  • 07:40:59 <jost> yes, and possibly some other content element
  • 07:41:06 <jost> plugin or something
  • 07:41:33 <drlimbo> yes, we use the same there
  • 07:42:07 <drlimbo> for example, we use a 50% - 50% FCE with two containers containing elements and plugins
  • 07:42:26 <drlimbo> it just looks a bit messy if you have a lot of changes made to "publish"
  • 07:43:00 <jost> We've had problems especially with moving content elements around, they frequently got lost... and they did get lost in live and draft at the same time, while only editing in draft
  • 07:44:11 <jost> and when trying to publish or discard the changes later, exceptions occurred (about missing templates or content elements)
  • 07:44:58 <drlimbo> mhh crazy
  • 07:45:35 <drlimbo> i just had the problem with missing templates on another project, because the FCE's was organized in Subfolders whats not working anymore
  • 08:05:47 <braguzz> I also have the problem of the missing icons.
  • 08:05:49 <braguzz> after upgrading flux-family all my FCE's doesn't have an icon
  • 08:23:34 <jost> braguzz: at some version the way you set the icons changed
  • 08:24:25 <bottoni> see the derecated warning: https://fluidtypo3.org/viewhelpers/flux/master/FormViewHelper.html
  • 08:24:35 <bottoni> deprecated
  • 08:24:58 <jost> the icon="..." attribute was removed, instead you need to set the icon in the "options"-attribute: options="{icon: '{v:extension.path.resources(path: \\'Images/contentelement-icon.png\\')}'}
  • 08:25:13 <jost> "
  • 09:30:45 <drlimbo> yes jost, but if i don't set an icon-option, shouldt the default icon be displayed?
  • 09:31:24 <jost> there is a default icon?
  • 09:40:23 <braguzz> I have this <flux:form id="ListaImmagini" options="{useTypoScript: 0, group: 'Unify', icon: '{f:uri.resource(path: \'Source/Icons/icon-twitter.png\')}'}">
  • 09:40:29 <braguzz> but icon is not displayed
  • 09:43:21 <bottoni> I remember having issues once with the path being relative to typo3/ try setting absolute: 1 for a test
  • 09:46:52 <bottoni> or use vhs as jost suggested
  • 09:59:23 <drlimbo> mh yes bottoni - but i prefer NOT setting an icon and use the default icon.. this worked until i updated the flux-family
  • 09:59:48 <drlimbo> looks like i have to set all icons to default in ever fce =P
  • 10:10:15 <braguzz> I have this problem https://github.com/FluidTYPO3/flux/issues/891
  • 11:40:31 <braguzz> I cant get it work
  • 13:01:27 <xaver> braguzz: try to debug it
  • 13:01:53 <xaver> it looks like in v6 it can't call the icon utility from flux (if exists)
  • 13:03:16 <xaver> createIcon in fluidcontent -> Flux utility - if condition is TRUE, but gets no result