IRC logs

20140903

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

IRC log range: 20140903*

20140903

  • 08:23:28 <randomresult> morning
  • 09:38:48 <BenjaminR> bjo3rn you there? i create an asset in the controller with Asset::getInstance(). i want to parse Fluid so ive set fluid to TRUE and assigned variables. f:debug in the asset returns an empty array. it appears the variables are not available in the asset
  • 09:38:49 <FT3BOT1> ¯\_(ツ)_/¯
  • 09:40:17 <BenjaminR> OR does parse fluid dont work together with setPath
  • 09:52:08 <batjony> BenjaminR: do you have an idea, if its possible to have controller per cotent element, so not just one ContentController for all content elements ?
  • 09:52:26 <BenjaminR> no that isnt possible
  • 09:52:42 <BenjaminR> but i also dont see why one should need that
  • 09:52:53 <BenjaminR> isnt it enough to have an action per content element?
  • 09:53:42 <batjony> just my content elements have a lot logic comming from the controller, thats why I was wondering to separate the stuffs
  • 09:54:47 <BenjaminR> well there is a point where one should move a content element to a plugin
  • 09:55:34 <batjony> ya maybe :)
  • 09:55:58 <BenjaminR> :)
  • 09:56:15 <BenjaminR> and most times thats when you ask for a dedicated controller :P
  • 09:59:26 <batjony> but actually i see some variant, if I have some general MainController, which extends the existing AbstractContentController, and ContentController extends MainController, then I could have separate controllers per content element, for example ElementAController extends MainController, ElementBController extends MainController and so on.. :)
  • 10:00:18 <batjony> i think it should work :)
  • 10:00:28 <BenjaminR> it wont be called because your content elements are mapped to render via contentcontroller
  • 10:03:09 <batjony> ya you are right, it would work if there is a multiple inheritence in PHP, so ContentController extends AController, BController...... but this is not possible in PHP
  • 10:29:28 <featdd> morning
  • 10:34:36 <randomresult> anyone woking with languages in here?
  • 10:44:33 <BenjaminR> randomresult: most of us (i guess)
  • 10:44:47 <randomresult> content_fallback available?
  • 10:44:55 <randomresult> does not work here
  • 11:27:05 <randomresult> and can someone help me with a small and easy browsmenu?
  • 11:27:15 <randomresult> it seems im too stupid
  • 11:35:25 <soee> is it possible to adjust one error message - now if we have configured page layout and we changed the extension provider key during development the layouts arent found anymore and in FE typo3 will throw: TYPO3 Fatal Error: Extension key "foo_provider" is NOT loaded!
  • 11:36:08 <soee> it would be much better to have something like: TYPO3 Fatal Error: Extension key "foo_provider" with layouts configuration or something is NOT loaded!
  • 12:41:29 <mrboel> @BenjaminR can you check if my gist code example is submit
  • 12:42:39 <mrboel> because when i press ad gist i get a page without CSS, semms like its not working
  • 12:42:41 <BenjaminR> no NamelessCoder has his hand on that
  • 12:43:31 <mrboel> ok thx
  • 12:46:35 <Cash2m> How can I use flux' ContentProvider for my own extension? Currently I'm overriding all plugin's flexforms somehow
  • 12:47:35 <Cash2m> https://gist.github.com/Cash2m/46bebd5bfa56c5da0e4d
  • 12:52:51 <mrboel> @Cash2m crate a proveider ext with builder
  • 12:53:18 <mrboel> and have a look here https://github.com/FluidTYPO3/view
  • 13:01:13 <Cash2m> hmm.. But I need flux for a plugin because I'm lazy as hell when creating flexforms. It's not a provider extension
  • 13:01:35 <Cash2m> This is something I look for https://github.com/heiko-hardt/flux_tutorial/
  • 13:01:43 <Cash2m> But the example seems outdated
  • 13:10:12 <Cash2m> Ah, shit. "Note: This Provider will -always- trigger on tt_content list_type records (plugin)"
  • 13:10:37 <Cash2m> Simply use the AbstractProvider
  • 15:05:17 <BenjaminR> cedricziel you use formhandler?
  • 16:55:39 <JustAPoring> I'm trying to pass an object to a ViewHelper I created myself and I get a "Cannot cast object of typoe "..." to string" exception. how can I pass it to the viewhelper as an object, just like how f:for does it for example?
  • 16:55:40 <FT3BOT1> ¯\_(ツ)_/¯
  • 17:09:37 <erredeco> just a question about fluidcontents and fluidpages: is it possible to enable them to be edited via feedit?
  • 18:24:24 <randomresult> evening
  • 18:26:43 <randomresult> if i have an <flux:field.select with a comma-seperated list of items... is there any way to label them? For Example i have the item "icon-Secure" (which is a CSS class) and i want to show secure/sicher to the BE-User...
  • 18:26:50 <randomresult> any way to archive that?
  • 19:02:16 <NamelessCoder> not possible with CSV - switch to array
  • 20:09:03 <Guest|79243> Hi! Please, is there something like the typoscript "required" for Fluid? Or the only way is wrap around an <f:if> ?
  • 20:09:04 <FT3BOT1> ¯\_(ツ)_/¯