IRC logs

20140424

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

IRC log range: 20140424*

20140424

  • 04:42:09 <dominicgarms> Hello
  • 04:42:47 <dominicgarms> I ran into some problems with upgrading the flux_galleria extension after the upgrade of flux 7.0
  • 04:44:16 <dominicgarms> here the link to my repo: https://github.com/dohomi/flux_galleria
  • 04:44:46 <dominicgarms> Currently the flexform configuration is not displayed anymore. I guess the problem depends on provider changes in the 7.x version
  • 04:45:28 <dominicgarms> I updated the .html file to all ViewHelper name changes but still the file is not displayed
  • 04:46:58 <dominicgarms> could somebody give me hints what changes I need to make in ext_tables.php and Classes/Provider/PluginConfigurationProvider.php that flux finds the Configuration and Preview section?
  • 07:19:09 <dominicgarms> I gave it another try with the use of "registerFluidFlexFormPlugin" but still no success
  • 07:19:24 <dominicgarms> https://github.com/dohomi/flux_galleria/blob/master/ext_tables.php
  • 07:19:49 <dominicgarms> would be great if somebody help me out
  • 09:57:51 <randomresult> morning
  • 10:08:43 <Denyerek> Hmmm.
  • 10:08:48 <Denyerek> That VH appears to return "1"
  • 10:09:01 <Denyerek> Not quite as useful as I was expecting it to be
  • 10:10:36 <Denyerek> Ahh
  • 10:10:39 <Denyerek> page.resources.fak
  • 10:10:41 <Denyerek> .fal
  • 10:10:44 <Denyerek> now we're getting somewhere
  • 10:20:47 <Denyerek> Hm.
  • 10:21:08 <Denyerek> So I have an array that is (I think) a FAL array, returned from page.resources.fal
  • 10:21:16 <Denyerek> Question now, is how do I render that ?
  • 10:36:47 <Denyerek> Well
  • 10:36:54 <Denyerek> Now I have two images the same...
  • 10:37:07 <Denyerek> treatIdAsReference=1 got something to render
  • 10:37:21 <Denyerek> But I don't think that's correct, and I don't really understand the documentation on that one.
  • 10:40:15 <Denyerek> Hmm
  • 10:40:34 <Denyerek> by passing in {image.0} instead of {image} I now see the image rendered out twice.
  • 10:56:16 * Denyerek prods randomresult
  • 10:56:56 <Denyerek> https://gist.github.com/Denyerec/beea9f3a863d11c192bf
  • 11:03:05 <Denyerek> Dumping out the $files array in the PHP with a var_dump() seems to indicate there are two files in the $files array, despite there being only one file allocated to the page,
  • 11:07:28 <Denyerek> Ok, now I'm stuck.
  • 11:07:38 <Denyerek> benjaminr, are you there ?
  • 11:07:59 <Denyerek> Ah, I see it was danilobuerger who wrote the class :)
  • 11:16:10 <Denyerek> I'v enow got it rendering by passing {image.0.id}
  • 11:16:14 <Denyerek> but this feels really wrong.
  • 11:26:00 <randomresult> @NamelessCoder u there?
  • 11:27:44 <Defos> is there a type check (helper)? to check if a variable is an array?
  • 11:37:31 <mpevd> hello. i use latest git version of flux 7.0.0. i want to add a field for a database relation, but i can get it only working with a select. so it always displays the select with all records inside. is it possible to use with type "group" ? like here http://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Group/Index.html . So with a box showin
  • 11:37:31 <mpevd> g selected records and the wizard to use select them ?
  • 11:42:29 <mpevd> i found a old code snippet what seems to do this if i check the naming of attributes. but this seems to be removed within the last releases ? <flux:flexform.field.group ...
  • 11:50:12 <Denyerek> hang in there mpevd - someone will help eventually.
  • 11:50:21 <Denyerek> Defos, yes
  • 11:50:22 <Denyerek> One sec
  • 11:52:27 <mpevd> ok, thx
  • 11:53:59 <Denyerek> Defos, I can't seem to find it now, hold on.
  • 11:54:51 <Denyerek> Defos, what do you want to do
  • 11:55:02 <Denyerek> I mean, what will happen if the item is NOT an array
  • 11:55:06 <Denyerek> or what will happen if it IS
  • 12:52:55 * Denyerek continues to terrorise danilobuerger with improper use of viewhelpers
  • 12:55:52 <randomresult> Denyerek good luck
  • 12:55:57 <randomresult> so quiet these days.
  • 12:56:44 <randomresult> did u manage to have an condition to render a section only if there is content in it?
  • 12:57:25 <randomresult> i want to render a section only if <v:page.content.render column="1" > has at least one element
  • 12:58:15 <Denyerek> All my column sections are sliders
  • 12:59:02 <Denyerek> So I've not had to struggle with an empty one yet
  • 12:59:16 <Denyerek> One of "the 4" should be able to tell you, eventually :)
  • 12:59:29 <Denyerek> I'm still not sure if my hacked-together CE is sane or not
  • 12:59:41 <Denyerek> I mean, it works, but I've probably violated some local laws getting there ;)
  • 13:12:52 <mpevd> hello. i use latest git version of flux 7.0.0. i want to add a field for a database relation, but i can get it only working with a select. so it always displays the select with all records inside. is it possible to use with type "group" ? like here http://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Group/Index.html . So with a box showin
  • 13:12:52 <mpevd> g selected records and the wizard to use select them ? i found a old code snippet what seems to do this if i check the naming of attributes. but this seems to be removed within the last releases ? <flux:flexform.field.group ...
  • 13:13:35 <Denyerek> Still standing outside in the rain with us eh mpevd ? :D
  • 13:13:37 <Denyerek> #fightClub
  • 13:13:40 <mpevd> =)
  • 13:13:58 <Denyerek> ./j fedext.fightclub
  • 13:14:08 <Denyerek> We could queue there.
  • 13:14:37 <mpevd> i'm in
  • 13:15:05 <mpevd> but its empty
  • 13:15:27 <Denyerek> 1st in the queue ;)
  • 13:15:41 <mpevd> Different question, someone knows a way how to limit object amount inside a section ?
  • 13:15:47 <Denyerek> Need any help with photoshop ?
  • 13:15:53 <mpevd> nope, only flux :)
  • 13:15:55 <Denyerek> That I *can* sort you out with
  • 13:16:04 <Denyerek> Shame.
  • 13:16:12 <Denyerek> That was my chance to shine ;)
  • 13:17:03 <Denyerek> I don't think you can... There's no controlling params for flux:section
  • 13:17:08 <Denyerek> and I can't see where else you'd achieve that.
  • 13:17:24 <Denyerek> Perhaps chuck it on the git repo as a feature request
  • 13:17:42 <Denyerek> Obviously in whatever renders the section in the template you could configure to render only 3 items, say
  • 13:17:55 <Denyerek> (Just have a count and exit in the loop)
  • 13:18:03 <Denyerek> If you've got editors that insist on overpopulating the place .
  • 13:20:15 <mpevd> yupp. thats the way i use it now. we got a multicolumn field, so you can use it with 1-5 columns. but if someone tries to add another 6th column it is still possible. could only get it working with an condition in backend so if you have more than allowed objects it displays a readonly field with a message. in fe it limits the output
  • 13:20:29 <mpevd> but would be cool if there was a way to control it directly :)
  • 13:23:32 <Denyerek> Would be cool to see the code for that
  • 13:23:39 <Denyerek> I'm still only a whitebelt
  • 13:23:40 <Denyerek> :)
  • 13:34:47 <xaver> i need a form ext and formage is not ready or? i need 2 cols and and firstcol first row spitted again. (no formhandler!) and powermail is it with a a little bit dirty code possible. But powermail is total overkill. (Customer won't interact with the ext)
  • 13:36:30 <Denyerek> Is it just for a contactform ?
  • 13:36:42 <Denyerek> or do they need to be able to customise it ?
  • 13:36:57 <Denyerek> sp_bettercontact can store data to the DB, allows custom fields and has templateable output.
  • 13:37:07 <Denyerek> I had to make two small tweaks to allow it to work on 6.2
  • 13:47:38 <Torsten> Hey... I'm using v:if.client.isMobile in a v:page.header view helper. Seems like the header part is cached and the isMobile test is only executed once
  • 14:00:18 <soee> v:iterator.extract wont return value bu default ? i have to assing it to some variable ?
  • 14:05:47 <Denyerek> Torsten, I saw the isMobile just today I think, and I could have sworn it was marked to be deprecated.
  • 14:25:17 <Torsten> Denyerek thanks. I'll look into a proper replacement.
  • 15:05:58 <randomresult> Denyerek Torsten this works only for un-cached environments
  • 15:06:21 <randomresult> you can use TS instead to set a variable
  • 15:06:29 * randomresult hiddes himself from danilobuerger
  • 15:06:42 <randomresult> in here, they hate agent-sniffing
  • 15:06:43 <soee> what would be the way to get valid page uid from setting array
  • 15:06:57 <soee> where it is define like: pages_21 ?
  • 15:06:58 <randomresult> <v:page.info ?
  • 15:07:29 <randomresult> v:page info field id
  • 15:08:23 <soee> does it support: pages_21 ?
  • 15:13:34 <soee> it does not :)
  • 15:33:01 <Harpagophyt> fluid.grid - if i have just one contentarea do i use fluid.grid?
  • 15:44:22 <Defos> What do you guys suggest for creating forms? form, formhandler, powermail?
  • 16:26:53 <cedricziel> Defos: depends on complexity and customizability you need
  • 16:27:16 <cedricziel> Harpagophyt: flux:grid renders the content area-so yes
  • 16:27:56 <Harpagophyt> thx
  • 16:51:34 <alexander_dick> hi guys. Is it possible to loop over an array of page IDs and get the flexform settings for each page?
  • 16:53:55 <alexander_dick> including proper inheritance if I query a subpage with no specific settings
  • 17:06:16 <alexander_dick> Basically I need a function like getPageConfiguration($pid);
  • 17:06:34 <alexander_dick> @NamelessCoder
  • 18:40:57 <floxx> is there a way to visually group fields in a flux form?
  • 19:09:52 <cedricziel> floxx: use either a container or a sheet
  • 19:27:55 <Harpagophyt> http://getbootstrap.com/components/#navbar is there a partial available?
  • 19:29:05 <cedricziel> yes, in EXT:speciality from the bootstrap-package
  • 19:29:36 <cedricziel> but i recommend constructing it on your own to get in the groove. it's actually very easy
  • 19:31:38 <Harpagophyt> hmm, i have no idea ... ;-)
  • 19:36:18 <Harpagophyt> https://github.com/Ecodev/bootstrap_package/blob/master/htdocs/typo3conf/ext/speciality/Resources/Private/Partials/NavigationSub.html
  • 19:43:30 <cedricziel> yes Harpagophyt; constructing such beast on your own takes no time when you no what you're doing-make sure you understand before you proceed
  • 19:43:50 <cedricziel> *know
  • 19:44:29 <Harpagophyt> hehe, don't know if i am able to understand it ...
  • 19:48:32 <Denyerek> Did I miss everyone ?
  • 19:48:37 <Denyerek> I need someone to look at something...
  • 19:48:47 <Denyerek> cedricziel, you still about ?
  • 19:49:46 <Denyerek> https://gist.github.com/Denyerec/46c3e512c09b1147d173
  • 19:49:51 <Denyerek> I need to know if this is best-practice
  • 20:48:21 * Denyerek drops down a trail of breadcrumbs for danilobuerger and cedricziel
  • 23:17:00 <Denyerek> https://gist.github.com/Denyerec/46c3e512c09b1147d173
  • 23:17:06 <Denyerek> Can anyone tell me if this is dangerous/bad/insane ?