IRC logs

20140522

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

IRC log range: 20140522*

20140522

  • 10:10:05 <bjo3rn> mrboe: you there?
  • 10:10:12 <mrboe> sure
  • 10:10:22 <mrboe> i just wait for u ;)
  • 10:11:16 <bjo3rn> hehe
  • 10:11:32 <bjo3rn> re your issue with uncache
  • 10:11:56 <bjo3rn> sounds like the bug with content length
  • 10:12:08 <bjo3rn> can you try to disable this?
  • 10:12:19 <mrboe> yes - i created a FCE to render random content
  • 10:12:22 <bjo3rn> config.contentLenghtHeader = 0 or so
  • 10:12:34 <mrboe> it works fine bevor i updated yesterday
  • 10:12:45 <bjo3rn> updated from/to?
  • 10:12:53 <mrboe> already set
  • 10:13:07 <bjo3rn> what did you update?
  • 10:13:16 <mrboe> 6.2.1 > 6.2.2
  • 10:13:26 <bjo3rn> hm .oO
  • 10:13:27 <mrboe> and (one sec)
  • 10:15:15 <jlumpe> guys: anybody having issues using the core updater?
  • 10:15:29 <jlumpe> it downloads the update fine, but fails to extract it (i did it manually using the shell now, just wondering)
  • 10:15:50 <bjo3rn> never tried that
  • 10:15:52 <mrboe> my vhs was from the 14.4
  • 10:16:17 <mrboe> and is now on the commit i postet on the issue
  • 10:16:57 <mrboe> sorry - i dont have the exact commit of the branches bevore update
  • 10:17:12 <mrboe> but i know that all FT3 EXt was from 14.4
  • 10:17:19 <bjo3rn> that is the latest commit in dev branch
  • 10:17:39 <mrboe> yes i updated to that
  • 10:17:57 <bjo3rn> can you rollback to 2b88a6f?
  • 10:18:09 <bjo3rn> (just for testing=
  • 10:18:10 <bjo3rn> )
  • 10:18:17 <mrboe> yes
  • 10:19:03 <bjo3rn> git reset --hard 2b88a6f
  • 10:22:16 <mrboe> ok
  • 10:22:22 <mrboe> im on that commit
  • 10:22:27 <mrboe> cleared all caches
  • 10:22:33 <mrboe> still breaks FE
  • 10:22:47 <mrboe> this is my FCE https://gist.github.com/misterboe/069555e987d6d89daf04
  • 10:24:08 <bjo3rn> ok, if you disabled the contentLength header this commit is not responsible
  • 10:24:34 <bjo3rn> can you raise the error display level in a way?
  • 10:24:48 <jlumpe> guys: how to remove elements from a flux flexform? (default fields like header etc)
  • 10:25:03 <bjo3rn> a blank frontend usually means not displayed exception
  • 10:25:27 <bjo3rn> I only know about header, jlumpe
  • 10:25:56 <bjo3rn> see https://worksonmymachine.org/blog/custom-rendering-of-default-headlines-in-fluidtypo3
  • 10:29:17 <jlumpe> bjo3rn: thanks! i will take a look and maybe i can figure out how to remove other fields as well :)
  • 10:30:42 <bjo3rn> which fields do you mean except header?
  • 10:30:54 <jlumpe> bjo3rn: i actually want to modify the form in the backend
  • 10:31:16 <jlumpe> for example
  • 10:31:17 <jlumpe> header
  • 10:31:17 <bjo3rn> ok, maybe with permissions then
  • 10:31:19 <jlumpe> typoe
  • 10:31:22 <jlumpe> type
  • 10:31:24 <jlumpe> alignment
  • 10:31:30 <jlumpe> link
  • 10:31:38 <jlumpe> all those fields i do not need for my custom CE
  • 10:31:52 <bjo3rn> permissions it is then
  • 10:31:58 <bjo3rn> I think
  • 10:32:02 <jlumpe> also i'd like to remove the "appearance" sheet
  • 10:32:07 <jlumpe> + relations
  • 10:32:11 <jlumpe> and categories haha
  • 10:32:22 <jlumpe> ah, so that'S not configurable? :/
  • 10:32:24 <bjo3rn> next time a whitelist, easier
  • 10:32:27 <bjo3rn> ;)
  • 10:32:29 <jlumpe> :D
  • 10:32:43 <jlumpe> i basically only want the plugin options
  • 10:33:43 <mrboe> i think wordpress dont have all that fields ;)
  • 10:34:03 <bjo3rn> besides some other things it doesn't have ^^
  • 10:34:10 <bjo3rn> I
  • 10:34:16 <jlumpe> lol mrboe
  • 10:34:41 <jlumpe> i don't mind those fields
  • 10:34:52 <jlumpe> but maybe the customer will get a bit confused, that's why i'm checking if i can change anything
  • 10:34:56 <jlumpe> if not, that's how it is
  • 10:35:28 <bjo3rn> I'd say control those fields via excludefields in a be user group
  • 10:35:45 <mrboe> TCEFORM.tabellenname(z.b. pages).feldname (z.b. target).disabled = 1
  • 10:35:52 <bjo3rn> ah!
  • 10:36:04 <bjo3rn> or like so.
  • 10:36:15 <bjo3rn> nice hint
  • 10:36:20 <Guest|35656> Good morning guys. I built a dropdown menu with 3 levels. I used the v.page.menu.directory viewhelper. Is there a possibility to turn off the dropdown? thx
  • 10:36:23 <mrboe> never used that
  • 10:36:30 <mrboe> only found it some time ago
  • 10:36:55 <jlumpe> mrboe: a ok, i might give that a try :) the only thing is: i only want to for custom fluidtypo3 CEs
  • 10:37:10 <bjo3rn> Guest|35656: what do you mean with "I built a dropdown... how can I turn off the dropdown?" ;)
  • 10:37:45 <mrboe> @jlumpe i think you have to put this in the User settings TS
  • 10:37:47 <Guest|35656> uhm :D i have 3 navigations on my site. Two with dropdown and one with only the mainlevel.
  • 10:37:50 <mrboe> when im right
  • 10:38:00 <jlumpe> ah ok
  • 10:38:06 <bjo3rn> the viewhelpers don't create dropdowns...?
  • 10:38:39 <mrboe> what? there is no dropdown viewhelper
  • 10:38:46 <Guest|35656> na it works
  • 10:38:58 <bjo3rn> maybe dropdown is not what you mean exactly?
  • 10:39:06 <bjo3rn> do you mean levels?
  • 10:39:10 <Guest|35656> i just want to have the first level
  • 10:39:12 <Guest|35656> :p
  • 10:39:14 <bjo3rn> aha!
  • 10:39:16 <bjo3rn> ;)
  • 10:39:23 <bjo3rn> add levels="1"
  • 10:39:43 <Guest|35656> i have entry="1", pages="613" levels="1"
  • 10:39:49 <Guest|35656> *entryLevel
  • 10:40:32 <bjo3rn> can you please gist/paste your template code?
  • 10:40:43 <bjo3rn> security bulletin: powermail again. ^^
  • 10:41:08 <Guest|35656> <v:page.menu.directory entryLevel="1" pages="613" levels="1" classLast="navi-last" classFirst="navi-first" classCurrent="navi-current">
  • 10:41:08 <Guest|35656> <f:render partial="MooxLayout" section="MooxMainNavigation" arguments="{_all}" />
  • 10:41:08 <Guest|35656> </v:page.menu.directory>
  • 10:41:14 <Guest|35656> oh god,
  • 10:42:36 <bjo3rn> Guest|35656: "oh god"?
  • 10:43:03 <Guest|35656> it was about my paste in here :p
  • 10:43:17 <Guest|35656> can u see some mistakes in my code?
  • 10:43:43 <bjo3rn> no, but I can't see what's inside that partial ;) please use pastebin or gist.github.com
  • 10:44:35 <cedricziel> i wonder if you forgot an "as" argument
  • 10:44:54 <bjo3rn> look who just sneaked in ^^
  • 10:45:27 <cedricziel> who? me? just watching.. walk by-there's nothing to see here.. ;)
  • 10:45:47 <Guest|35656> https://gist.github.com/anonymous/5d5bf2f2c7acd617b5aa
  • 10:46:25 <bjo3rn> maybe this (hands over 10$ bill) will help your memory, cedricziel?
  • 10:46:30 <bjo3rn> ^^
  • 10:47:55 <Guest|35656> if it doesnt work i need to make a other partials with no dropdown function :p
  • 10:47:58 <bjo3rn> ehm, Guest|35656, there are several more v:menu tags inside that partial
  • 10:48:14 <Guest|35656> i dont need them?
  • 10:48:42 <bjo3rn> you may, but those need to have levels set as well, don't they?
  • 10:49:12 <bjo3rn> chances are ofc I don't get the logic inside your partial at a first glance ;)
  • 10:49:18 <jlumpe> lol i updated one of my installations to 6.2.2 literally 1 hour ago..
  • 10:49:24 <jlumpe> now another update comes out
  • 10:49:43 <Guest|35656> its a navigation with superfish and bootstrap
  • 10:49:53 <cedricziel> ehm, aaahh, i slowly start to remember... or.. ehm no-unfortunately not. -.-
  • 10:50:03 * bjo3rn is allergic against bootstrap
  • 10:50:07 <bjo3rn> ^^
  • 10:50:08 <Guest|35656> :D
  • 10:50:13 <Guest|35656> why that?
  • 10:50:23 <bjo3rn> just kidding, personal taste
  • 10:50:26 <bjo3rn> anyway
  • 10:50:27 <Guest|35656> hehe okay
  • 10:50:28 <jlumpe> i prefer foundation ;)
  • 10:50:44 <Guest|35656> well so i just need to make a second navigation with only one level inside
  • 10:50:49 <cedricziel> bjo3rn: is a selfmade man
  • 10:50:52 <mrboe> @jlumpe u prefer wordpress!!
  • 10:50:52 <bjo3rn> I guess so, yes
  • 10:51:06 <jlumpe> mrboe: lol
  • 10:51:21 <jlumpe> suddenl i'm the WP guy here? :P
  • 10:51:28 <bjo3rn> cedricziel: is a all-internet-downloader
  • 10:51:30 <mrboe> sure
  • 10:51:32 <bjo3rn> ^^
  • 10:51:34 <Guest|35656> okay i will go this way then. But thank you rly! :)
  • 10:51:48 <bjo3rn> yw, good luck and ask anytime
  • 10:53:05 <cedricziel> rofl.. hello NSA-sorry for the inconvenience.. bjo3rn is talking about maven/ivy repos
  • 10:54:02 <Guest|35656> thx :)
  • 10:54:30 <mrboe> http://hmpg.net/downloadwww.gif
  • 10:54:33 <bjo3rn> that plus download a gazillion packages with npm/yeoman/bower/insert-tool-here to build a freaking html page. lol!
  • 10:54:54 <bjo3rn> nice, mrboe!
  • 10:57:54 <bjo3rn> cedricziel: you arrive like a minute after/before me in stuttgart?
  • 11:00:05 <BenjaminR> hey guys
  • 11:00:16 <jlumpe> ho
  • 11:00:23 <bjo3rn> yo!
  • 11:01:09 <bjo3rn> is the number of if statements in a template a problem or the nesting depths?
  • 11:01:21 <bjo3rn> re performance
  • 11:03:01 <jlumpe> bjo3rn: i think there was a blogpost somewhere about deep nesting in fluid being a performance problem in general
  • 11:03:32 <bjo3rn> ok, thx
  • 11:04:40 <bjo3rn> extbase y u no haz Twig?
  • 11:20:36 <cedricziel> bjo3rn: y u no craft custom adapt0r?
  • 11:20:50 * bjo3rn is thinking about it this very moment
  • 11:21:36 <jlumpe> curious how you'd go about that
  • 11:21:48 <cedricziel> there's an interface to be implemented
  • 11:21:51 <jlumpe> write a custom viewhelper which parses nested twig sntax?
  • 11:21:55 <jlumpe> ah
  • 11:22:02 <bjo3rn> eek!
  • 11:22:06 <cedricziel> then you could inject your own view
  • 11:22:22 <bjo3rn> any hints where to look re that interface?
  • 11:22:37 <cedricziel> sure
  • 11:22:38 <cedricziel> http://typo3.org/api/typo3cms/
  • 11:22:39 <cedricziel> :p
  • 11:22:45 <bjo3rn> ah! thanks!
  • 11:22:50 <bjo3rn> ^^
  • 11:23:01 <cedricziel> http://typo3.org/api/typo3cms/interface_t_y_p_o3_1_1_c_m_s_1_1_extbase_1_1_mvc_1_1_view_1_1_view_interface.html maybe?
  • 11:24:17 <bjo3rn> hypothetical q: is it possible to disable fluid at all?
  • 11:25:04 <cedricziel> hmm, not entirely as core devs sometimes in a hurry hard wire references and instantiate custom view objects from a fluid view
  • 11:25:06 <bjo3rn> no, it isn't. would mean a lot of overriding
  • 11:25:37 <cedricziel> but.. theres this thing where you can swap out implementations
  • 11:25:57 <bjo3rn> something similar is done in flux, right=
  • 11:25:58 <bjo3rn> ?
  • 11:26:03 <cedricziel> didnt use it yet, but it should take you like 80% far
  • 11:26:12 <cedricziel> yes
  • 11:26:19 <bjo3rn> standalone view is overridden iirc
  • 11:26:45 <bjo3rn> no, exposed template view
  • 11:27:27 <bjo3rn> phew. that's out of my scope I'm afraid. but you need to keep dreaming ^^
  • 11:28:40 <cedricziel> there's nothing keeping you from pushing _all into a custom viewhelper
  • 11:29:48 <bjo3rn> yeah, but extbase -> fluid -> twig?
  • 11:30:03 <bjo3rn> no, thanks
  • 11:30:17 <cedricziel> in your own extensions
  • 11:30:31 <cedricziel> should be straightforward i think
  • 11:30:43 <bjo3rn> I want it in ft3 ;)
  • 11:30:56 <cedricziel> and then again it doesnt matter if you boot twig as there's a new view object anyways
  • 11:31:20 <bjo3rn> come again please? ^^
  • 11:31:47 <cedricziel> what, where?
  • 11:32:14 * bjo3rn doesn't understand what you are saying
  • 11:32:35 <Guest|73757> Hello, everyone. I'm new to typo3 and i want to use fce in my typo3 6.2.2, so i found Fluid Powered TYPO3 but how can i use this ?
  • 11:33:09 <Guest|73757> I wanted an alternative to TemplaVoila
  • 11:34:59 <bjo3rn> Guest|73757: you might want to have a look at https://worksonmymachine.org/blog/fluidtypo3-quickstart
  • 11:35:21 <bjo3rn> but be aware that this guide is a little outdated
  • 11:35:29 <cedricziel> my last point was only about custom extensions
  • 11:35:43 <bjo3rn> the naming of flux' viewhelpers has changed since versino 7.0
  • 11:35:52 <bjo3rn> versino? si! version
  • 11:36:27 <bjo3rn> cedricziel: and then again it doesnt matter if you boot twig as there's a new view object anyways
  • 11:36:32 <bjo3rn> ???
  • 11:37:03 <cedricziel> yes. in your own controller, there's the method initializeView invoked implicitly where a new view engine object is booted.
  • 11:37:21 <cedricziel> override that thing and put twig in $this->view
  • 11:37:26 <bjo3rn> aha
  • 11:37:46 <bjo3rn> should work with fluidcontent/-pages?
  • 11:38:15 <bjo3rn> anyway, this is a "jugend forscht" project for sure ^^
  • 11:38:27 <Guest|73757> bjo3rn thanks ;)
  • 11:38:32 <bjo3rn> yw
  • 11:38:36 <cedricziel> dunno, but i highly suspect we access a lot of methods that would be private if anybody in php actually used private/protected
  • 11:39:08 * bjo3rn hates private methods
  • 11:39:12 <cedricziel> as I think about it.. hmhm..
  • 11:39:23 <cedricziel> there's nothing better than a good Facade :)
  • 11:39:31 <bjo3rn> my words
  • 11:39:34 <bjo3rn> ^^
  • 11:40:09 <cedricziel> if the facade allowed you to fully interact with with the private stuff, as it should.. then there'd be no problem.
  • 11:40:12 <bjo3rn> and TYPO3 is well known for implementing best practice patterns
  • 11:40:31 <cedricziel> but as i said.. i dont think t3 people like it that way
  • 11:40:44 <georg_t> hi guys!
  • 11:40:50 <bjo3rn> hi
  • 11:40:54 <cedricziel> hola Monsieur
  • 11:41:22 <bjo3rn> cedricziel is polyglot
  • 11:41:27 <bjo3rn> ^^
  • 11:42:17 <cedricziel> not really-i just watched the 5th season of weed yesterday where they speak spanish a lot.. and i tend to adapt what i hear ^^
  • 11:42:55 <georg_t> I need some help with flux:wizard.suggest - can't get it work in an fluidcontent element
  • 11:43:17 <cedricziel> we'd like to see your template then
  • 11:43:28 <cedricziel> or at least the relevant part
  • 11:44:22 <jlumpe> is that wizard like a textbox where i type for example the name of a record and i get suggestions back?
  • 11:45:02 <georg_t> Yes. First step is to create a link to a page
  • 11:45:04 <georg_t> <flux:field.select name="pageId" items="{}">
  • 11:45:04 <georg_t> <flux:wizard.suggest table="pages" />
  • 11:45:04 <georg_t> </flux:field.select>
  • 11:45:22 <cedricziel> basically it looks like <flux:field.input><flux:wizard.suggest table="foo"/></flux:field.input>
  • 11:45:58 <cedricziel> q: why do you put an empty object in items?
  • 11:48:43 <georg_t> because items is required
  • 11:49:28 <jlumpe> cedricziel: is is possible to use the wizard to relate extbase models?
  • 11:49:45 <georg_t> I stumbled upon https://github.com/FluidTYPO3/flux/issues/283 where NamelessCoder said "suggest wizard works with select and group".
  • 11:50:17 <georg_t> group is deprecated, so I used select
  • 11:51:06 <georg_t> > to relate extbase models - I'll check this
  • 11:53:38 <cedricziel> hm, good q. i usually use input fields for that
  • 11:54:17 <cedricziel> if you need multiple selects, you seem to require a controller action which gives you an instance of QueryResult
  • 11:54:20 <cedricziel> bjo3rn?
  • 11:54:26 <cedricziel> is that true?
  • 11:57:06 <georg_t> input field would be OK. But suggest wizard always querys table tt_content
  • 11:58:36 <cedricziel> then there's something fishy ^^
  • 11:59:13 <cedricziel> before we go on, what version of flux do you use?
  • 11:59:29 <georg_t> latest dev
  • 11:59:44 <georg_t> flux, fluidcontent & TYPO3
  • 12:00:00 <georg_t> <flux:field.relation name="myId" table="tx_myext_domain_model_something" foreignTableField="uid" /> does work
  • 12:00:18 <cedricziel> heh. great.
  • 12:00:40 <georg_t> <flux:wizard.suggest table="tx_myext_domain_model_something" /> inside flux:field.input does not work
  • 12:01:14 <cedricziel> relation with pages, does that work?
  • 12:02:26 <georg_t> sorry. no. thats the answer to "is is possible to use the wizard to relate extbase models?"
  • 12:03:02 <georg_t> I checked if the models are configured correctly. TCA and Extbase/Fluid do work
  • 12:04:38 <georg_t> and yes. relation with pages in an fluidcontent element do work.
  • 12:08:26 <Guest|73757> bjo3rn: I did the first part and getting this when i open the extension manager "typo3_src-6.2.2/typo3conf/ext/quickstart//composer.json"."
  • 12:08:53 <Guest|73757> No composer manifest file found at
  • 12:09:37 <bjo3rn> sorry, I passed out.
  • 12:09:48 <cedricziel> the new package manager, which was introduced way after that article was written, requires you to place a composer manifest in the root of your extension
  • 12:09:48 * bjo3rn reads the log, sec
  • 12:10:10 <cedricziel> it can be very simple, just look at our extensions which contain one
  • 12:11:02 <bjo3rn> I seriously have to update those articles :/
  • 12:11:30 <Guest|73757> ok...i try this
  • 12:11:42 <bjo3rn> what is true, cedricziel?
  • 12:11:50 <cedricziel> a boolean value
  • 12:11:59 <georg_t> sometimes
  • 12:12:04 <bjo3rn> what is 42?
  • 12:12:19 <bjo3rn> oh, speaking of which: sunday is towel day!
  • 12:12:25 <cedricziel> always == true
  • 12:12:28 <cedricziel> oh hell yeah
  • 12:12:44 <cedricziel> i'll bring one fancy nineties one if my fiance didnt kill it
  • 12:13:08 <bjo3rn> I have a "Ute, Schnute, Kasimir" towel. no kidding.
  • 12:13:38 <bjo3rn> but srsly, you asked "is that true?" above.
  • 12:17:04 <cedricziel> for select field which requires items argument ( you seem to require a controller action which gives you an instance of QueryResult)
  • 12:17:25 <cedricziel> if he wants to have a suggest wizard for pages
  • 12:17:30 <cedricziel> i have 0 clue
  • 12:20:28 <Guest|73757> i wrote this {
  • 12:20:29 <Guest|73757> "name": "fluidtypo3/quickstart",
  • 12:20:29 <Guest|73757> "description": "The quickstart package from FluidTYPO3",
  • 12:20:29 <Guest|73757> "type": "typo3-cms-extension",
  • 12:20:29 <Guest|73757> "version": "1.0.0"
  • 12:20:29 <Guest|73757> }
  • 12:21:12 <Guest|73757> and it doesnt show up in the extension list and i get some weird code showed up in the extension manager
  • 12:23:29 <bjo3rn> cedricziel 0 * 2 is still 0 :/
  • 12:25:58 <georg_t> perhaps I#m on the wrong way: as I really like fluidcontent I put together some tables which could be filled via the BE and wanted to get rid of all the plugin stuff.
  • 12:26:31 <georg_t> Instead I created a fluidcontent element which should point to one db entry and output the result
  • 12:28:04 <georg_t> as said above: using flux:field.relation it works
  • 12:28:52 <bjo3rn> Guest|73757 are you using TER versions of the extensions?
  • 12:28:53 <georg_t> but flux:field.relation lists all db entries orderd by uid (order bsy is ignored because of "select uid from...")
  • 12:31:10 <Guest|73757> i think yes....
  • 12:31:38 <bjo3rn> well, how did you install them? with the extension manager?
  • 12:31:59 <Fizelchen> Hi there
  • 12:32:07 <Fizelchen> I have a problem with flux and cal
  • 12:32:29 <Guest|73757> jes
  • 12:32:32 <Guest|73757> yes
  • 12:32:37 <Fizelchen> i have build my own fce and the show up nicely in the new content wizard tab
  • 12:32:49 <Fizelchen> the same with fluid_content
  • 12:32:53 <bjo3rn> Guest|73757 ok, then you should install ext:builder as well
  • 12:33:06 <Fizelchen> when i install cal, the tab disappears
  • 12:33:17 <Fizelchen> and the last tab seen is the plugin tab
  • 12:33:29 <Fizelchen> is that a problem/bug in cal?
  • 12:33:45 <bjo3rn> Guest|73757 using this ext you can create a skeleton 'provider extension' which should ease things for you.
  • 12:33:56 <bjo3rn> Guest|73757 see http://fluidtypo3.org/documentation/templating-manual/templating/provider-extension/generating-extensions.html
  • 12:34:45 <cedricziel> oh bjo3rn: infomail re t3cs incoming
  • 12:35:03 <bjo3rn> yes, they mention the towelday as well ^^
  • 12:35:52 <cedricziel> hidden but true :9
  • 12:36:08 <cedricziel> oh, quite obvious
  • 12:36:10 <cedricziel> right
  • 12:36:12 <cedricziel> yay!
  • 12:37:45 <bjo3rn> Fizelchen I never used cal but I can't think of any connection. I assume you cleared all caches you can get a grip on=
  • 12:37:52 <bjo3rn> ?
  • 12:38:09 <bjo3rn> and does the tab reappear after disabling cal?
  • 12:38:28 <cedricziel> cal is like a dinosaur and caused many problem ever since trying to use it
  • 12:39:08 <bjo3rn> last updated 25.4.2014
  • 12:39:18 <Fizelchen> yes, the tab reappears
  • 12:39:34 <georg_t> then it's cal :)
  • 12:39:42 <Fizelchen> thought so
  • 12:39:50 <bjo3rn> there's a version constraint for cal 6.0.99?
  • 12:39:59 <Fizelchen> what better alternative are there for a calendar ext
  • 12:40:04 <BenjaminR> Guys i need to hide content_options (Appearance Tab) for editors but it isnt an exclude field, is it?
  • 12:40:11 <BenjaminR> danilobuerger maybe
  • 12:40:14 <Fizelchen> (i know, wrong chat for that ;-) )
  • 12:41:15 <cedricziel> BenjaminR: should be manageable through ts
  • 12:41:23 <bjo3rn> BenjaminR what about TCEFORM.tabellenname(z.b. pages).feldname (z.b. target).disabled = 1 (c) mrboe
  • 12:42:36 <bjo3rn> ah, no, a tab not a field
  • 12:42:40 <bjo3rn> forget it
  • 12:45:06 <bjo3rn> BenjaminR yet it should work. to disable a tab you need to disable all of its fields.
  • 12:45:17 <cedricziel> exactly
  • 12:46:46 <bjo3rn> that's layout, spaceBefore, spaceAfter and section_frame I guess
  • 12:48:40 <BenjaminR> spaceBefore? lets have another look at it :D
  • 12:48:48 <BenjaminR> i though its contentoptions :D
  • 12:49:11 <bjo3rn> no, spaceBefore. works, I just tested it :D
  • 12:49:20 <cedricziel> normally there are class names or ids attache in the markup where you can inspect it
  • 12:49:28 <cedricziel> *attached
  • 12:49:38 <BenjaminR> ok thanks - looking right now
  • 12:49:44 <bjo3rn> that or the value of the label tag
  • 12:49:52 <bjo3rn> for attribute i.e.
  • 12:49:58 <bjo3rn> "for"
  • 12:50:54 <BenjaminR> sorry but not experienced with it. when fx header level is settings.header.type
  • 12:51:09 <BenjaminR> is it a exclude field or have to use the disabled thing
  • 12:51:48 <BenjaminR> or settings.container.additionalClassNames
  • 12:52:10 <BenjaminR> talking about the settings coming with fcc
  • 12:52:43 <bjo3rn> hm, fcc, no idea :/
  • 12:53:20 <cedricziel> anyone who can point me to valuable resources about the Builder pattern?
  • 12:54:35 <bjo3rn> why?
  • 12:56:40 <cedricziel> bc i have a rather complex entity and would like to have a convenient way to create it apart from constructor overloading
  • 12:56:58 <cedricziel> a single factory is not enough either :/
  • 12:57:08 <BenjaminR> bjo3rn: TCEFORM.tt_content.content_options.disabled = 1 ty
  • 12:57:24 <randomresult> anyone of you working with phpstorm 8?
  • 12:59:46 <BenjaminR> oO 8??
  • 13:00:04 <cedricziel> EAP
  • 13:00:31 <bjo3rn> cedricziel which part would take the constructor arguments? the concrete builders or the director?
  • 13:01:29 <bjo3rn> as I see it the director 'simply' connects several factories?
  • 13:02:37 <cedricziel> that part is a design question specific to your model i think.
  • 13:03:14 <cedricziel> in general, the question is: when should builder be used, an when are simple factories more appropriate
  • 13:04:21 <bjo3rn> I'd say builder makes the model more flexible re extensibility?
  • 13:04:48 <bjo3rn> no idea really :/
  • 13:04:55 <cedricziel> it would allow to separate creation from the anemic model, right?
  • 13:05:24 <bjo3rn> yes, that's how I understand it. but it's computer science ^^
  • 13:05:37 <cedricziel> and would free my business logic from needing to know the internals of the model interconnections
  • 13:05:40 <cedricziel> hmhm
  • 13:07:34 <bjo3rn> this blog post explains quite well I think http://www.heikomaass.de/2008/08/23/effective-java-builder-pattern/
  • 13:08:34 <bjo3rn> (note the immutable part)
  • 13:08:54 <bjo3rn> 'telescoping constructors'. wtf?
  • 13:13:58 <hans> hi there!
  • 13:14:17 <bjo3rn> mahlzeit hans :)
  • 13:14:21 <hans> stilll working on a teaser list of contents added on subpages!
  • 13:14:34 <hans> bjo3rn: tach :)
  • 13:14:43 <bjo3rn> ^^
  • 13:15:48 <hans> i looked at the viewhelper: page.content.render, its just posible to fetch content of one page and optional slide up to the root
  • 13:16:18 <hans> but i see no solution by the present viewhelpers to fetch content from subpages
  • 13:16:46 <bjo3rn> you can fetch page uids first using the menu viewhelper
  • 13:17:49 <hans> ok, but when i want to grap content of the i will use the page.content.render vh, but then i alwasy get for example 2 (limit) of the singel pages
  • 13:18:14 <hans> but i want to sort and order the content of all defined pages as a whole!
  • 13:18:52 <hans> i would need somthing like this : <v:page.content.render pageUids="118,119 .."
  • 13:18:58 <hans> even if i use the menu
  • 13:19:07 <hans> or am i missing something?!
  • 13:19:14 <bjo3rn> are those page uids hardcoded or configurable via ts?
  • 13:19:32 <hans> i havend defined this by now
  • 13:20:09 <bjo3rn> assuming you have those uids as an array you can iterate over it and invoke content.get/render each time.
  • 13:20:24 <bjo3rn> not the perfect way performance wise but...
  • 13:20:44 <hans> in the end i want to define one root page, and all subpages and there content are grpped
  • 13:21:24 <hans> yes ok, but i want lets say the 5 (limit) latest added contents of subpage1 subpage2 subpage3.
  • 13:21:36 <hans> if i iterate i can order them!
  • 13:22:10 <bjo3rn> custom extension or content controller maybe?
  • 13:22:37 <hans> hm, i allready began to implement this solution, seems the only way by now!
  • 13:22:46 <bjo3rn> content controller?
  • 13:23:24 <hans> i made a copy of the viewhelper page.content.render
  • 13:23:48 <hans> i thing i´ll will modify this one, to my own viewhelper!
  • 13:23:48 <BenjaminR> Any experiences regarding html5 autocomplete (which is highly related to field name= and fluid field name conventions
  • 13:24:14 <bjo3rn> beware: page.content.render is no more since 1.8.5 it's now content.render
  • 13:25:18 <hans> ok, on my installetion ther is still the vhs 1.8.4 version present; but i dont thing that this makes a diffrence at the moment!
  • 13:26:06 <bjo3rn> no, that's true.
  • 13:26:21 <bjo3rn> BenjaminR: I didn't know such thing exists :S
  • 13:26:32 <BenjaminR> which?
  • 13:26:40 <BenjaminR> autocomplete?
  • 13:26:40 <bjo3rn> html5 autocomplete
  • 13:26:48 <BenjaminR> i see :)
  • 13:26:51 <BenjaminR> http://wiki.whatwg.org/wiki/Autocomplete_Types
  • 13:26:55 <bjo3rn> there are a lot of hidden gems in html5 it seems
  • 13:27:05 <BenjaminR> Info an Kunde: HTML5 Autocomplete ist eng verstrickt mit dem Input "name"-Attribut. Extbase hat seinen eigenen fest definierten Naming Convetions für Controller Action Parameter und damit für Feldnamen. Es scheint das passt nicht gut zusammen. Mehr aber keine exakten Aussagen hier: http://wiki.whatwg.org/wiki/Autocomplete_Types
  • 13:34:38 <cedricziel> ?
  • 14:03:36 <hans> ok managed to modified the viewhelper in a hacky way :-o
  • 14:11:31 <hans> another thing: i got a row of images displaying them with vh: for
  • 14:11:41 <hans> how do i only get the first one ?
  • 14:12:30 <hans> <v:media.image src="{gallery.0.image.file}" .. didn´t work :-/
  • 14:16:16 <cedricziel> hans: v:iterator.first
  • 14:16:47 <hans> have done it with {gallery.1.image.file}
  • 14:16:52 <hans> thx!
  • 14:17:14 <cedricziel> q: are those flexform objects?
  • 14:17:44 <hans> <flux:flexform.object name="image">
  • 14:17:51 <hans> yes
  • 14:18:18 <cedricziel> then you'll get juggled indexes overtime when you fx delete a object from the section
  • 14:18:26 <cedricziel> i'd use iterator.first
  • 14:20:02 <jlumpe> cedricziel: are you using fx as a non-standard abbreviation for for example? (e.g.) :)
  • 14:20:17 <jlumpe> i always see that popping up, but i don't know what you guys mean when you use it
  • 14:20:28 <cedricziel> right, sorry for the inconvenience
  • 14:20:31 <jlumpe> aaah ok
  • 14:20:39 <jlumpe> nono, not an issue, just wondering :)
  • 14:26:10 <hans> cedricziel: ok thx, i´ll correct my markup!
  • 14:31:11 <cedricziel> you're welcome i just think that's more fool proof as flexforms bite when they're angry ;)
  • 14:32:37 <hans> :-)
  • 15:05:32 <cedricziel> I'd need an advice from any of the experts in the room:
  • 15:06:20 <cedricziel> in an ideal world: what would translation for records look like in the persistence layer?
  • 15:14:45 <hans> cedricziel: sry, but can you show me the version with v:iterator.first that would work like this: {gallery.1.image.file} ?
  • 15:15:42 <jlumpe> is there a viewhelper, with which i can do a while loop?
  • 15:16:14 <cedricziel> {gallery -> v:iterator.first() -> v:var.set(name="firstImage"))
  • 15:16:47 <cedricziel> otherwise i'm confused about variable variables and their current status. benjaminr or bjo3rn might know more
  • 15:23:07 <bjo3rn> +1 for cedricziel's example
  • 15:28:43 <hans> didn´t work for me :-( : <v:media.image src="{gallery -> v:iterator.first().image.file}" alt="{record.header}" width="auto" height="auto" class="img-responsive" />
  • 15:28:47 <hans> ???
  • 15:38:11 <bjo3rn> didn't work means...?
  • 15:38:29 <hans> src="/"
  • 15:39:00 <bjo3rn> ah, closer look.
  • 15:39:13 <bjo3rn> v:iterator.first().image.file is incorrect
  • 15:39:32 <bjo3rn> you need the intermediate variable
  • 15:40:00 <bjo3rn> like cedricziel posted: {gallery -> v:iterator.first() -> v:var.set(name="firstImage")} and then use {firstImage.image.file}
  • 15:42:18 <hans> hm, ok the first part is inline style, where can i set it, now its displayed as text and not rendert!
  • 15:42:43 <hans> current version: {gallery -> v:iterator.first() -> v:var.set(name="firstImage")} <v:media.image src="{firstImage.image.file}" alt="{record.header}" width="auto" height="auto" class="img-responsive" />
  • 15:57:35 <bjo3rn> name: "firstImage" instead of name="..:"
  • 15:57:50 <bjo3rn> cedricziel did it wrong ^^
  • 15:58:02 <bjo3rn> and I repeated it ^^
  • 15:58:17 <cedricziel> oh, fuck..
  • 15:58:21 <cedricziel> yeah, inline syntax
  • 15:59:30 <hans> yes cool, works now :-)
  • 15:59:44 <cedricziel> coolio
  • 15:59:47 <hans> thx alot!!!
  • 15:59:55 <cedricziel> you're very welcome :)
  • 16:00:01 <Romm> Hey there :)
  • 16:00:16 <cedricziel> what up? :)
  • 16:00:57 <Romm> Guys, I'm searching for an already made TYPO3 PageRepository, do you know if I can find this ?
  • 16:01:17 <cedricziel> do it yourself
  • 16:01:19 <cedricziel> ^^
  • 16:01:34 <Romm> Hey cedricziel, too much work to do here, hard to get everything on :D
  • 16:01:37 <Romm> Erf
  • 16:01:54 <cedricziel> Page is a very generic type and is highly dynamic depending on your currently loaded extensions
  • 16:02:02 <Romm> You know where I could find an example ? I really need to link to the medias
  • 16:02:08 <Romm> (images)
  • 16:02:27 <cedricziel> can you give it 2 minutes and explain the use case a bit?
  • 16:03:20 <Romm> Yup
  • 16:05:26 <Romm> We are begining the build of a generic extension, named pagelist, which allows to easily list a set of pages. The goal is the same as tt_news or news does, but we use pages instead. I'd like to have a PageRepository in my controller which automatically build an object of a specific page's fields, including mm like medias.
  • 16:05:43 <Romm> Then give it to my Fluid view and do whatever I want, of course. :p
  • 16:06:26 <Romm> If you have some tips, I'll take it. =)
  • 16:06:53 <bjo3rn> what about \TYPO3\CMS\Frontend\Page\PageRepository() for starters?
  • 16:07:23 <cedricziel> i may sound reluctant, but for me it doesnt make sense :)
  • 16:07:40 <cedricziel> and the repo is close to useless unless you have a proper domain object
  • 16:07:54 <Romm> Oh
  • 16:08:05 <Romm> Then how should I get my data from database ?
  • 16:08:38 <Romm> (I feel like a noob :'( )
  • 16:08:54 <cedricziel> are you familiar with extbase persistence?
  • 16:09:19 <Romm> I wouldn't say familiar
  • 16:09:35 <cedricziel> in general, you have domain object that's a POPO
  • 16:09:39 <Romm> But I used it several times already, but for my own domains
  • 16:10:06 <cedricziel> it has all the properties in it a single record you retrieve owns-including getters and setters
  • 16:10:26 <Romm> Yup, that's what I'm used to
  • 16:10:57 <cedricziel> cool-those objects get serialized and deserialized to and fom the database via the repository
  • 16:11:13 <cedricziel> so the repo is the place for queries
  • 16:11:23 <cedricziel> and that's where it gets hard:
  • 16:11:52 <cedricziel> your domain object can _only_ have properties that already exist in the database
  • 16:12:32 <cedricziel> in your case this seems to be the case-but you cant cover anything thats in there-that's where i got sceptical :)
  • 16:12:35 <Romm> Yeah, no problem with this, we only need existing properties
  • 16:13:13 <Romm> Hmm
  • 16:13:37 <Romm> I think I have some difficulties to understand where you want me to "go" ^^
  • 16:14:41 <Romm> First of all, how the hell can I get back the media references from a classic page ?
  • 16:14:41 <cedricziel> just a bit of a background
  • 16:14:53 <cedricziel> i'm afraid there is no page domain model
  • 16:15:03 <Romm> Yeah so that's the problem ?
  • 16:15:09 <cedricziel> put simple
  • 16:15:31 <Romm> Why does the core not give us a premade model with all already existing parameters ?
  • 16:15:36 <cedricziel> check the file bjo3rn pointed you to and then go from that :)
  • 16:15:58 <cedricziel> as page is a highly dynamic entity. that's the thing
  • 16:16:09 <cedricziel> s/as/because
  • 16:16:19 <Romm> But we could extend the domain ourselves, couldn't we ?
  • 16:16:44 <Romm> (btw thanks bjo3rn :p )
  • 16:16:46 <cedricziel> the TCA model is complete, so you could craft a simple model very quickly, yes
  • 16:17:08 <cedricziel> oh yes, that's another reason:
  • 16:17:37 <cedricziel> pages is a model you only need in the backend which relies on TCA and therefore TCEForms which doesnt use extbase at all :)
  • 16:17:53 <Romm> That's too bad :(
  • 16:18:02 <cedricziel> i know thats a bit shizo, but that's how it is :/
  • 16:18:23 <bjo3rn> that's legacy ;)
  • 16:18:28 <Romm> Well I wont take more of your time, thanks for all of this, always a pleasure to find helpful people here
  • 16:18:45 <cedricziel> you're very welcome as always :)
  • 16:18:48 <Romm> <3
  • 16:18:53 <cedricziel> if you find other rough edges-just ask
  • 16:31:45 <Romm> (7^_^)7 I finally managed to get a media from a page with \\TYPO3\\CMS\\Core\\Resource\\FileRepository
  • 16:32:14 <Romm> Was pretty classic though
  • 16:32:14 <cedricziel> :)
  • 16:32:20 <cedricziel> nice!
  • 16:32:51 <Romm> Now I need to get a proper page model
  • 16:33:15 <Romm> The PageRepository previously linked does not return objects, that's really disturbing :'(
  • 16:33:35 <Romm> I guess I'll make my own one, that's just a waste of time but it could have been worst
  • 16:33:43 <cedricziel> like i said, yes
  • 16:33:49 <Romm> h@h@h@
  • 16:36:17 <cedricziel> sad but true :/
  • 16:39:14 <cedricziel> nice thing: we have around a third idling users here as there are over at #typo3
  • 16:39:40 <jlumpe> lol
  • 16:39:54 <jlumpe> cedricziel: again my question from above: is there a viewhelper for "while" ?
  • 16:39:58 <jlumpe> maybe i just cnanot find it
  • 16:40:00 <Guest|99706> Hello, doing my first steps with fluidtypo3. I managed to make a FCE and as an admin I can choose this element for page content, but as an editor I don't see this FCE. How can the editor use this FCE?
  • 16:40:15 <cedricziel> oh sorry, dindt see it
  • 16:40:28 <jlumpe> i'm trying to create a multi row grid, without having to resort to create multiple elements (that's what i did not out of despair)
  • 16:40:35 <jlumpe> -not
  • 16:40:56 <jlumpe> basically i just want to render a list (usually i'd use an extension for that, but time is scarce on this, and pay is low)
  • 16:41:23 <jlumpe> so in the backend i want a normal grid, to which i can add columns, which then display as a grid of 3 x X columns
  • 16:41:49 <jlumpe> my issue is that i need to insert a <flux:grid.row> every 3 columns, and i'm not sure how to approach that
  • 16:42:01 <cedricziel> hmm, the only applicaple vh that comes to my mind is the loop one
  • 16:42:17 <cedricziel> https://github.com/FluidTYPO3/vhs/blob/422b54368ba2aaf182d3e7aaa0fe98f5f27758a8/Classes/ViewHelpers/Iterator/LoopViewHelper.php
  • 16:42:30 <jlumpe> since i need to wrap the contents inside of f:grid.row, i cannot do something like if iteration %3 = 0 then f:grid.row
  • 16:42:40 <randomresult> jlumpe have u seen the row element in fluidbootstraptheme?
  • 16:42:51 <jlumpe> randomresult: yes i have
  • 16:42:56 <randomresult> good.
  • 16:42:58 <jlumpe> but
  • 16:43:02 <jlumpe> it doesn't do what i need
  • 16:43:12 <jlumpe> because there you have to create a new row explicitly
  • 16:43:13 <cedricziel> Guest|99706: you probably missed a checkbox in the group permissions
  • 16:43:23 <jlumpe> i would like that to happen automatically, every 3 items :)
  • 16:43:41 <randomresult> you can use modulo?
  • 16:43:57 <jlumpe> yes, but how do i nest the flux:grid.row?
  • 16:44:22 <randomresult> points to cedricziel
  • 16:44:25 <jlumpe> i just add columns in the backend, then i loop over them, and i always need to wrap 3 items in a flux:grid.row
  • 16:44:25 <randomresult> :)
  • 16:44:40 <cedricziel> yeah, been there..
  • 16:44:49 <cedricziel> hmm
  • 16:45:00 <jlumpe> for now my solution works and is appropriate for the pay, but still i'm curious
  • 16:45:44 <cedricziel> nested loops would be a thing
  • 16:46:32 <cedricziel> a short v:var set to calc the currently needed amount of cols and i think that should work
  • 16:46:46 <jlumpe> i was checking if i could set the iteration step for the for loop
  • 16:46:48 <jlumpe> but didn't find that
  • 16:47:01 <jlumpe> cedricziel: i'll try that later at home :)
  • 16:47:03 <jlumpe> gotta run now!
  • 16:47:05 <jlumpe> later o>
  • 16:47:09 <cedricziel> cya :)
  • 16:48:44 <cedricziel> [v:loop count=noOfCols / 3 -> floor ] flux:grid.row loop count=3 f:if cond:check number of cols flux:column
  • 16:48:50 <cedricziel> that should be it in very pseudo
  • 16:49:15 <cedricziel> somewhere in the middle, some control variables
  • 16:50:02 <bjo3rn> √noOfCols*sin(loopCount)
  • 16:51:42 <cedricziel> we need fluidshare :)
  • 16:57:18 <Romm> Pages model & repository working by here :p
  • 16:57:38 <Romm> One thing left : properly link the media property to the associated files
  • 16:58:18 <Romm> Should I get a rope right now, or wait for that ? O:)
  • 17:40:48 <Romm> cedricziel: got my repository working with correct links to the FileReference =D !
  • 17:44:33 <Guest|99706> @cedricziel: I did check (the only one with fce btw) "tx_fed_fcefile" under "allowed exclude fields" under "page content". Or did you mean something else?
  • 18:36:27 <BenjaminR> mrboe you need a ticket for t3cs?
  • 18:49:09 <BenjaminR> jlumpe?
  • 18:50:29 <cedricziel> I can take it - I'll eat for two :p
  • 18:50:38 <BenjaminR> Muahaha
  • 18:50:39 <BenjaminR> :D
  • 18:51:08 <BenjaminR> You should do with one ticket only also :P Its all you can i guess :D
  • 18:51:40 <cedricziel> sure :)
  • 18:51:48 <cedricziel> last year there was Spanferkel
  • 18:51:54 <BenjaminR> :(
  • 18:52:07 <cedricziel> (besides other tasty 5star food)
  • 18:52:15 <BenjaminR> Spanferkel is the best of german cuisine id say
  • 18:52:32 <cedricziel> right, right :)
  • 18:53:07 <BenjaminR> Maybe i should offer danilobuerger as roommate ;) maybe thats gains more interest than the ticket itself :D
  • 18:53:15 <BenjaminR> (just joking)
  • 18:54:20 <BenjaminR> i already created a list of sessions i want to participate in :(
  • 18:55:41 <BenjaminR> continious integration, TDD, Neos introduction, varnish
  • 18:56:01 <BenjaminR> are you going to visit them for me cedrichziel? ;)
  • 19:07:32 <jlumpe> BenjaminR?
  • 19:08:14 <BenjaminR> you want to go to t3c stuttgart and need a ticket? the guys suggested you :)
  • 19:13:35 <jlumpe> oooh
  • 19:13:37 <jlumpe> well
  • 19:13:43 <jlumpe> i'd like to go, but I'm staying in turkey atm :D
  • 19:16:40 <BenjaminR> haha ^^ :)
  • 19:16:50 <BenjaminR> hard to combine ;)
  • 19:25:37 <jlumpe> ;)
  • 19:26:40 <cedricziel> then again mrboe :)
  • 19:27:02 <cedricziel> you know where dead pixels come from, right? http://i.imgur.com/2jySin8.jpg
  • 19:29:14 <jlumpe> hah already read that today :D
  • 19:45:20 <BenjaminR> Didnt know it - lovely ;)
  • 20:27:11 <cedricziel> :)
  • 22:39:50 <mrboe> what??
  • 23:26:27 <cedricziel> mrboe: benjaminr has a vacant t3cs ticket as he can not participate. and we thought of you