IRC logs

20150315

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

IRC log range: 20150315*

20150315

  • 03:31:36 <jmverges> good morning
  • 03:51:20 <bjo3rn> good morning jmverges
  • 03:55:58 <jmverges> do you know which repository is on charge of documentation of https://fluidtypo3.org/viewhelpers/flux/development/Grid/ColumnViewHelper.html#arguments
  • 03:56:04 <jmverges> ?
  • 03:57:33 <bjo3rn> those are rendered automatically from the docblocks
  • 03:57:41 <jmverges> from VHS?
  • 03:57:54 <bjo3rn> flux
  • 03:58:09 <bjo3rn> your link points to a flux viewhelper
  • 03:59:02 <jmverges> uhm
  • 04:00:05 <bjo3rn> yes? ;)
  • 04:00:23 <jmverges> but the arguments are not the same as the variables right?
  • 04:00:44 <bjo3rn> variables?
  • 04:01:05 <jmverges> I think that could be great to have this in somewhere: <flux:form.variable name="allowedContentTypes" value="fluidcontent_content" />
  • 04:01:05 <jmverges> <flux:form.variable name="Fluidcontent" value="{allowedContentTypes: 'my_extension:Test.html'}" />
  • 04:02:03 <jmverges> Should it be explained here? https://fluidtypo3.org/documentation/templating-manual/templating/creating-templates/grid.html ?
  • 04:02:08 <bjo3rn> hm. this can already be achieved with typoscript.
  • 04:02:16 <jmverges> how?
  • 04:02:23 <bjo3rn> ...or am I missing the point here?
  • 04:03:30 <bjo3rn> what are you trying to achieve? those variable viewhelpers do exist.
  • 04:03:56 <jmverges> I don't know, I'm creating like a workflow for creating elements: First you need to choose between FCE A and FCE B and the once that one of them is added you can create C,D,E,F and then you can create G,H, etc
  • 04:04:11 <bjo3rn> aha, I see.
  • 04:05:41 <jmverges> so in Page doktype Layout, you can only introduce FCC Container. Into FCC Container you only can Introduce Row, Nav, ect, and in those elements then you can insert Text,Image or Menu (for example)
  • 04:05:59 <bjo3rn> makes sense, yes
  • 04:06:20 <bjo3rn> it's possible to limit the child content elements to certain types, right?
  • 04:07:32 <jmverges> yes
  • 04:08:07 <bjo3rn> how?
  • 04:08:31 <jmverges> https://gist.github.com/jmverges/ee575de1f8db246fe107
  • 04:09:02 <jmverges> I published it yesterday on https://fluidtypo3.org/library/code-examples.html but is not added
  • 04:09:39 <jmverges> this is the only way that I know
  • 04:09:51 <jmverges> Torsten85, explain it to me yesterday
  • 04:11:03 <jmverges> bjo3rn, there isn't documentation arround as I know
  • 04:11:39 <bjo3rn> not to my knowledge, no. your q no is where to add some?
  • 04:11:44 <bjo3rn> *now
  • 04:11:50 <jmverges> yes
  • 04:11:57 <bjo3rn> hm
  • 04:12:21 <bjo3rn> I'd say this is fluidcontent related
  • 04:12:34 <bjo3rn> or flux
  • 04:12:59 <bjo3rn> the grid is provided by flux so I think flux is the winner ;)
  • 04:13:30 <jmverges> but should be added in documentation repository or where?
  • 04:14:09 <bjo3rn> IMHO it should appear here: https://fluidtypo3.org/documentation/templating-manual/templating/creating-templates/grid.html
  • 04:14:56 <bjo3rn> and that's content which is not available in a repo :/
  • 04:15:19 <jmverges> yes, it is in documentation repository
  • 04:15:27 <jmverges> or not?
  • 04:15:48 <bjo3rn> meh, yes. just found it. https://github.com/FluidTYPO3/documentation/blob/rewrite/3.Templating/3.2.CreatingTemplateFiles/3.2.5.Grid.md
  • 04:16:03 <bjo3rn> that's where I'd add it, yes.
  • 04:16:24 <jmverges> let's try to do something about it, ok? I'm not the best english speaker
  • 04:16:34 <jmverges> so I'm going to write something first
  • 04:17:09 <bjo3rn> that's what PRs are for ;)
  • 04:17:19 <bjo3rn> go right ahead.
  • 04:38:13 <jmverges> well, lets do it
  • 04:42:53 <jmverges> let' see, at least I'm practicing the steps for colaboration that are in the contribution guide
  • 04:44:39 <bjo3rn> that's already looking quite good I think
  • 04:45:08 <bjo3rn> I'll add some comments, ok?
  • 04:45:09 <jmverges> I hope to not have language issues lol
  • 04:45:11 <jmverges> sure
  • 04:45:48 <bjo3rn> hehe, there are only two native speakers lurking around here AFAIK Denyerec and Outdoorsman
  • 04:45:55 <bjo3rn> so don't worry
  • 04:47:35 <jmverges> I was taking a look to: https://github.com/FluidTYPO3/documentation/issues/40 what does it do options="{preview: {mode: 'append')}"> with modes being either append, prepend or none. ?
  • 04:48:23 <Denyerec> Hey guys
  • 04:48:31 <Denyerec> My English Awesomlent Is!
  • 04:48:56 <jmverges> good morning Denyerec
  • 04:50:40 <bjo3rn> Denyerec, Sir, thou shall read jmverges PR please =)
  • 04:51:11 <bjo3rn> brb, breakfast break.
  • 04:51:28 <jmverges> yes please, So if I did a commit, now, should I do other commit or fix the first commit?
  • 04:52:00 <Denyerec> It's perfectly reasonable. A little clumsy, but nothing that stands out.
  • 04:52:12 <Denyerec> (I know many, many English people who can't write like that)
  • 04:53:10 <jmverges> so it is not bad at all :D
  • 04:57:21 <jmverges> let me know about how proceed to fix it
  • 05:21:41 <jmverges> are you there?
  • 05:51:39 <bjo3rn> jmverges I'm back.
  • 05:51:40 <FT3BOT> Welcome back bjo3rn!
  • 05:52:39 <bjo3rn> jmverges about documentation#40
  • 05:52:40 <FT3BOT> Issue 40: Chapters about previews must be updated https://github.com/fluidtypo3/documentation/issues/40
  • 05:53:02 <bjo3rn> do you want to work on that? otherwise I'd take it.
  • 05:57:38 <jmverges> bjo3rn, I don't know about previews
  • 05:58:20 <jmverges> bjo3rn, could you explain me what should I do with the PR? other commit appliying the changes that you said or fix my first commit? (I don't know how to do the second)
  • 05:59:04 <bjo3rn> I'd prefer amending: update your commit, amend the changes and force push.
  • 05:59:26 <jmverges> but I pushed it
  • 06:00:03 <bjo3rn> yes. simple to the changes locally. commit again with --amend (https://www.atlassian.com/git/tutorials/rewriting-history/git-commit--amend/) and force push git push --force
  • 06:00:12 <bjo3rn> *simply do
  • 06:00:44 <jmverges> let see
  • 06:02:02 <bjo3rn> this is also called 'squashing': combining several commits into one single by resetting and committing again
  • 06:04:11 <jmverges> so it is just git commit --amend && git push --force without -m "whatever" ?
  • 06:04:50 <jmverges> git commit --amend --no-edit && git push --force
  • 06:05:02 <bjo3rn> yep
  • 06:07:51 <bjo3rn> yay!
  • 06:10:09 <jmverges> it is done
  • 06:10:28 <jmverges> the bad part is that is done by [email protected]
  • 06:14:56 <bjo3rn> hehe
  • 06:15:42 <bjo3rn> git commit --amend --author "New Author Name <[email protected]>"
  • 06:15:49 <bjo3rn> and force push again
  • 06:17:09 <bjo3rn> to prevent that for the next time do: git config --global user.name "John Doe"
  • 06:17:13 <bjo3rn> and
  • 06:17:25 <bjo3rn> git config --global user.email "[email protected]"
  • 06:18:44 <jmverges> yes, I did it
  • 06:18:50 <jmverges> it is nice
  • 06:19:03 <jmverges> this is not in the contribution guide
  • 06:19:38 <bjo3rn> the username/email settings?
  • 06:19:46 <jmverges> What to do when you do a PR and you need to fix the commit
  • 06:20:03 <bjo3rn> ah, ok. this can become a little hairy at times.
  • 06:20:21 <bjo3rn> so it's hard to write a definitive guide for that. depends on the circumstances.
  • 06:21:01 <jmverges> yes, but this information about git commit --amend --no-edit && git push --force could be useful, right?
  • 06:21:54 <bjo3rn> that's true.
  • 06:24:11 <bjo3rn> ok, I'm out for now. kid needs attention. see you later.
  • 06:24:55 <jmverges> have a nice day, I'm going to a birthday party in a few minutes.
  • 06:45:31 <jmverges> see you later folks
  • 15:18:30 <Akii> NamelessCoder: are you coming to t3dd?
  • 19:00:31 <Outdoorsman> fluidbootstraptheme has a content element called ImageGallery. Currently it forces every image to be square in development version :(
  • 19:09:10 <NamelessCoder> Outdoorsman I think the boostrap gallery component thingie expects that, but I'm not sure...
  • 19:09:33 <Outdoorsman> arg... annoying
  • 19:10:10 <NamelessCoder> better check, if it's an issue in fluidbootstraptheme it can be fixed ;)
  • 19:11:11 <Outdoorsman> I see they created a v2.0 branch. Do you know which one I should be working with... v2.0 or development?
  • 19:11:48 <Outdoorsman> mrboe asked me to submit my templateRootPaths.0 fix to v2.0 but I don't see him around to ask.
  • 19:12:28 <NamelessCoder> in that case I think the v2 branch might be their prepping for flux 7.2
  • 19:13:37 <Outdoorsman> That might be... I was thinking it might be for TYPO3 7.x too??? Don't know.
  • 19:14:01 <NamelessCoder> yeah, I'd expect both :)
  • 19:14:20 <NamelessCoder> as usual, the best experience with ft3 extensions is on the latest stable core
  • 19:16:34 <Outdoorsman> Sigh... true. But I run into issues and then end up going back to the dev branch. In the end it seems that I'm spending more time debugging than getting work done. If that's what I did for a living that would be fine ha ha.
  • 19:18:51 <Outdoorsman> Right now I'm making a website mobile friendly. I create a four column row in fluidbootstrap theme and try to drag the content elements into it and they disappear. So I've spent much of today recreating each element in the columns and then deleting the old ones... quite time consuming for the amount of content on this website.
  • 19:19:03 <NamelessCoder> for what it's worth, your input also helps both us and other users - and we very much appreciate that!
  • 19:19:36 <NamelessCoder> branch:development involves a bit of "caveat emptor" but the feedback we get is really invaluable
  • 19:20:41 <Outdoorsman> I'm slowly getting better at submitting pull requests too I guess. I'm just not familiar with workflow there yet.
  • 19:20:57 <NamelessCoder> if you did not know already: any elements that, for whichever reason, lose their relationships, you can find in list view and in the tab "Relations" you *should* be able to select the right content area name if that's the relation that was lost.
  • 19:21:58 <Outdoorsman> When that happens, I go to list view click cut and then paste back into somewhere that it will show... the column it came from, etc.
  • 19:22:35 <NamelessCoder> ah yes that too should solve the problem
  • 19:22:46 <NamelessCoder> using typo3 7.1?
  • 19:22:55 <Outdoorsman> 6.2.10
  • 19:23:18 <Outdoorsman> Sounded like there were still issues with 7.x that were not worked out yet so am holding off a bit longer.
  • 19:23:41 <NamelessCoder> most of my attention on the drag-n-drop stuff was focused on 7.1 but I didn't expect the changes to affect 6.2
  • 19:23:43 <Outdoorsman> ...issues with fluidbootstraptheme, and a few of the FluidTYPO3 extensions.
  • 19:25:06 <Outdoorsman> I saw this issue so haven't said anything thinking it was just being worked on: https://github.com/FluidTYPO3/flux/issues/573
  • 19:25:32 <Outdoorsman> Is that the one that's likely the culprit?
  • 19:27:17 <NamelessCoder> honestly I'm not sure what the state is. The issue there was an attempt to make sense of the remaining cases, but how much of it has been solved by other efforts is unknown (at least to me)
  • 19:28:01 <NamelessCoder> what I do know is that the drag-n-drop works on this 7.1 testing setup including some of the cases that didn't when I last looked at the issue in the link
  • 19:28:43 <NamelessCoder> I haven't gone into translation behavior on 7.1 yet
  • 19:32:18 <Outdoorsman> So is this the ImageGallery they were trying to imitate?
  • 19:32:19 <Outdoorsman> https://blueimp.github.io/Bootstrap-Image-Gallery/
  • 19:36:45 <NamelessCoder> again not sure, but I *think* the aim is to only include the bootstrap code components (and only those that actually make sense as content)
  • 19:37:07 <Outdoorsman> Which I'd agree with.
  • 19:37:16 <NamelessCoder> so I don't think it's that gallery they emulate - I'd expect it to be a core bootstrap component that's basically just markup and very simple
  • 19:37:46 <Outdoorsman> I just didn't see it in the core... I'll look some more, you don't need to do that.
  • 19:39:30 <NamelessCoder> there's the media list component - that one I know expects square imgs
  • 19:39:51 <Outdoorsman> Different name... maybe that's it... I'll look
  • 19:39:54 <NamelessCoder> there's also some sort of image grouping containers, but not a gallery as such
  • 19:40:20 <NamelessCoder> and if it's those image things then I am pretty sure that any aspect ratio is supported by bootstrap itself
  • 19:40:37 <NamelessCoder> at least, I used those in a project where the image size couldn't be trusted