IRC logs

20150728

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

IRC log range: 20150728*

20150728

  • 03:18:07 <Guest|95418> Good morning everybody. I'm struggling with some flux/fluidcontent stuff right now and was hoping someone in here can help me. I wanna use the flux:form.container element but it always says "Section expected at container but not found ". Anyone an idea what I'm doing wrong?
  • 03:47:25 <xaver> Guest|95418: i never used container, but this message is from T3 core. Maybe provide a gist with code. looks like somehting isn't found
  • 03:48:44 <xaver> around line 68 in typo3/sysext/backend/Classes/Form/Container/FlexFormElementContainer.php
  • 03:49:19 <xaver> also provide version informations of flux fluidcontent and T3
  • 04:37:57 <mneuhaus> so, after a bit of digging around yesterday i now know more about srcset and picture element regarding responsive images
  • 04:38:40 <mneuhaus> those 2 serve to similiar, but different purposes. srcset ist meant to offer different image sizes of the *same* focus and aspect ratio
  • 04:39:20 <mneuhaus> picture element on the other hand is more granular and can offer different focus and aspect ratios to better fit into the specific breakpoints
  • 04:39:40 <mneuhaus> so, i guess both could/should be implemented. i got a basic srcset version running:
  • 04:39:52 <mneuhaus> <v:media.image src="fileadmin/Dummies/Hund-im-Schnee.png" srcset="100,300,600,1200" />
  • 04:41:55 <mneuhaus> and i think it'll create a picture element similar to this:
  • 04:42:31 <mneuhaus> <v:media.picture src="fileadmin/Dummies/Hund-im-Schnee.png" alt="foo">
  • 04:42:31 <mneuhaus> <v:media.source media="(min-width: 1000px)" width="100c" heigh="300c" />
  • 04:42:31 <mneuhaus> <v:media.source media="(min-width: 800px)" width="100c" heigh="100c" />
  • 04:42:31 <mneuhaus> <v:media.source width="50c" heigh="50c" />
  • 04:42:31 <mneuhaus> </v:media.picture>
  • 04:42:59 <Guest|95418> Hi @xaver. Thanks for your reply.
  • 04:43:24 <Guest|95418> Gist: https://gist.github.com/flatchar/4a5daaa9ca67e8b57eca. I use typo3 7.3.1, flux 7.2.1 and fluidcontent 4.2.4. Any ideas? :)
  • 04:44:19 <Guest|95418> well. clever. drop the dot at the end ;) https://gist.github.com/flatchar/4a5daaa9ca67e8b57eca
  • 04:49:48 <Guest|95418> Even the example for Bootstrap Grids on fluidtypo3.org (https://gist.githubusercontent.com/misterboe/34018646f84e4c8a81b6/raw/ColMasterFlex.html) uses Containers but doesn't work for me.
  • 05:20:52 <xaver> Guest|95418: maybe it is broken in v7
  • 05:21:03 <xaver> file a issue :)
  • 05:21:10 <xaver> v7 has a lot of changes
  • 05:24:09 <jmverges> mneuhaus: I like it
  • 06:49:42 <Guest|95418> okay. Thanks @xaver.
  • 08:16:17 <drlimbo> mneuhaus: did u already startet with your responsive image viewhelper? =P
  • 08:17:13 <mneuhaus> yep, already wrote a bit about it this morning
  • 08:17:30 <mneuhaus> i'll post it to you through a dm to not spam this channel:)
  • 08:17:39 <drlimbo> sure, no problem
  • 08:20:30 <mneuhaus> i'll see if i have time to continue tonight
  • 08:21:26 <mneuhaus> srcset is working but code-wise quite ugly i think i'll make a trait for srcset and add it to the 2 existing image viewhelpers (resourse.image + media.image)
  • 08:56:14 <drlimbo> is there a viewhelper to put some "content" in the <head> sections -> like v:asset.script but without script =P
  • 08:56:37 <drlimbo> i need some conditional-comment + script like <!--[if lt IE 9]> .. <script...
  • 08:58:17 <drlimbo> same as typoscript page.headerData
  • 08:59:28 <mneuhaus> from where? a page template, content element, plugin, etc?
  • 09:00:24 <drlimbo> sorry, from fluid page template where i load all scripts and css with v:asset.
  • 09:02:44 <mneuhaus> https://fluidtypo3.org/viewhelpers/vhs/master/Page/HeaderViewHelper.html
  • 09:02:46 <mneuhaus> ?
  • 09:04:27 <drlimbo> haha, its that easy =P thanks mneuhaus
  • 09:04:46 <mneuhaus> you're welcome
  • 09:04:48 <drlimbo> didn't now about page.header - and somehow i didnt found it in the documentary
  • 16:02:14 <Outdoorsman> Does anyone know how can I show all content elements on a page from another page that are filtered by tags each CE was given?
  • 16:29:17 <NamelessCoder> hey Charles.
  • 16:29:41 <NamelessCoder> I think your only option here is to use a controller and the category API
  • 16:30:00 <NamelessCoder> it should allow you to select all records from tt_content which have a particular category or tag
  • 16:30:10 <NamelessCoder> but I'm not sure what the API is...