IRC logs

20150309

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

IRC log range: 20150309*

20150309

  • 07:50:19 <LuJakob> Hello. I have a question regarding Fluidcontent Elements rendering in backend module with $this->contentObject->RECORDS. I can render fluidcontent fce's in frontend like this, but not in backend. i get a typo3 exception: The default controller for extension "Fluidcontent" and plugin "Content" can not be determined. Please check for TYPO3\CMS\Extbas
  • 07:50:19 <LuJakob> e\Utility\ExtensionUtility::configurePlugin() in your ext_localconf.php
  • 07:50:54 <LuJakob> does anybody in here know a solution to this ? and maybe explain why this is not working. THNKS
  • 07:51:52 <LuJakob> i can render normal content elements like this in frontend and backend, but not fluidcontent elements ...
  • 08:14:45 <LuJakob> http://pastebin.com/GE3qACfj
  • 08:15:25 <LuJakob> this code snippet runs in frontend but not in backend, if some of the content elements are fluidcontent fce's
  • 08:57:33 <pedda> hi guys
  • 08:57:41 <pedda> any TCA experts around ?
  • 08:58:19 <pedda> how do i place custom fields after roq_newsevent fields which already extends tx_news_domain_model_news?
  • 08:58:47 <pedda> is this an extensioan load order thingy? does this still exist in typo3 6.2 ?
  • 08:58:55 <pedda> -a
  • 09:06:47 <LuJakob> @pedda: t3lib_extMgm::addToAllTCAtypes :after does not work ?
  • 09:06:56 <pedda> nope
  • 09:07:23 <pedda> not sure if load order of extensions is causing this, as i don't know if i still need to care about loading order
  • 09:07:36 <pedda> as we all needed to care before typoe v6
  • 09:07:44 <pedda> -e+3
  • 09:08:22 <pedda> this does not work ExtensionManagementUtility::addToAllTCAtypes('tx_news_domain_model_news', 'field1,field2,field,field4', 'after:tx_roqnewsevent_location');
  • 09:08:40 <pedda> @LuJakob
  • 09:09:30 <LuJakob> but following works, but in wrong position ?
  • 09:09:35 <LuJakob> ExtensionManagementUtility::addToAllTCAtypes('tx_news_domain_model_news', 'field1,field2,field,field4', 'tx_roqnewsevent_location');
  • 09:09:36 <pedda> fallback behaviour for adding fields is: create Extended tab, add all fields to that tab while simple appending one to another
  • 09:10:33 <LuJakob> ah sorry, wrong. my question is "you can add several fields at" once. have you tried:
  • 09:10:35 <pedda> ExtensionManagementUtility::addToAllTCAtypes('tx_news_domain_model_news', 'subtitle', 'after:l10n_diffsource'); works as expected
  • 09:10:52 <pedda> but l10n_diffsource is a Core related field
  • 09:10:58 <LuJakob> ExtensionManagementUtility::addToAllTCAtypes('tx_news_domain_model_news', 'field1', 'tx_roqnewsevent_location');
  • 09:10:59 <pedda> which might be the reason why it works
  • 09:11:35 <LuJakob> and have you tried:
  • 09:11:51 <LuJakob> ExtensionManagementUtility::addToAllTCAtypes('tx_news_domain_model_news', 'subtitle', 'after: tx_roqnewsevent_location');
  • 09:11:56 <pedda> tried your last advice.. still Extended tab..
  • 09:12:44 <pedda> yes i did, doesn't work
  • 09:13:06 <pedda> as i suggested, is there still some load order thingy happening in the background ?
  • 09:13:12 <LuJakob> i don't know then. but i guess it is something with the extension order which i don't know about in v6.x
  • 09:13:20 <pedda> kk ^^
  • 09:13:22 <pedda> thx anyway
  • 09:14:15 <pedda> i was playing around with this a few weeks ago already, while trying to place a field right after a pallette which wasn't working either
  • 09:15:57 <pedda> it seems as if i need to proceed with some hacky preg_replace approach on the showitem string
  • 09:21:01 <drlimbo> im try'n to debug with <f:debug> - but only the debug-styles (CSS) in head will be loaded and <body> is empty
  • 09:21:30 <drlimbo> someone an idea?
  • 09:34:17 <pedda> @LuJakob FYI: i solved my issue via setting dependencies in ext_emconf.php of my extension to depend on news and roq_newsevent, as loading order still matters
  • 09:34:54 <LuJakob> excellent. thanks for telling me :-)
  • 09:35:04 <LuJakob> always good to know..
  • 09:35:48 <pedda> i testes my code right now without the hacky approach with preg_replace.. still works with addToAllTCAtypes
  • 09:35:52 <pedda> -s +d
  • 11:49:06 <NamelessCoder> if someone doesn't stop me before ~21:00 I'll release VHS 2.3.0 - I assume most of you are already using branch:development and have fixed/reported any problems with it, but if you want to get a last test in on branch:staging, now is the time
  • 12:21:55 <Guest|41590> Hi Everyone. I am having a go a fluidcontent_core. I would like to use the overlays function to just replace one template. I cant seem to to get this to work. I have a new Text.html template stored in EXT:my_ext/Resources/Private/Templates/ContentCore How can i use this template?
  • 12:32:37 <NamelessCoder> Guest|41590 if you're using Flux from development branch: https://fluidtypo3.org/blog/news/coming-changes-in-flux-72.html second section, also works for fluidcontent_core. If you're using Flux from TER, the answer is in https://github.com/FluidTYPO3/fluidcontent_core#concept-variants (but in this case you may want to wait for Flux 7.2 or switch to development now, because your use case is not exactly suited for variants which is the only current
  • 12:32:37 <NamelessCoder> option). Very last option: copy all template files and change templateRootPath like you know from legacy.
  • 12:34:24 <Guest|41590> i think ill go with copying all the templates. Seems more straight forward. I can revisit this again when 7.2 is released
  • 12:40:05 <Guest|41590> thanks
  • 13:10:21 <Guest|96096> Hi NamelessCoder. You helped me out a few minutes ago with setting up fluidcontent_core I have copied all the templates into my extension in the same place as in fludicontent_core. I now only see the headers and no content?? any ideas would be most appreciated. Thanks
  • 13:12:13 <Guest|96096> it doesnt seem to render section Main
  • 13:16:39 <NamelessCoder> Guest|96096 if you changed layoutRootPath, also copy those.
  • 13:20:50 <Guest|96096> NamelessCoder - I copied everything into the same place. I am just trying disabling layoutRootPath to see if anything chnages
  • 13:24:55 <Guest|96096> NamelessCoder - if I just add plugin.tx_fluidcontentcore.view.templateRootPath = EXT:my_ext/Resources/Private/Templates/ i only get the header and no content
  • 13:31:45 <Guest|96096> NamelessCoder templates are stored in Resources/Private/Templates/CoreContent/
  • 13:32:23 <Guest|96096> I just have latest versions from TER installed
  • 13:38:41 <Guest|96096> NamelessCoder. School boy error on my part. I names the folder ContentCore rather than CoreContent
  • 14:19:02 <Outdoorsman> Guest|96096 also don't forget that you can use this:
  • 14:19:29 <Outdoorsman> plugin.tx_fluidcontentcore.view.templateRootPaths.10 = EXT:my_ext/Resources/Private/Templates/
  • 14:19:55 <Outdoorsman> plugin.tx_fluidcontentcore.view.templateRootPaths.20 = EXT:another_ext/Resources/Private/Templates/
  • 17:12:54 <NamelessCoder> incoming - run for cover!
  • 17:58:44 <Opk> Hi all. I'm trying to use l10nmgr with fluid content based. Latest l10nmgr won't export any data for tt_content element build with fluid. Can you give me any pointers?
  • 18:30:27 <benjamin_654> Opk: I looked into this some days ago. l10nmgr expects xml tags in the flexform structure which fluidcontent does not provide ($dataStructArray['meta']['langDatabaseOverlay’]). So those two extensions are not compatible.
  • 19:06:43 <Opk> @benjamin_654, thanks for the info. It seems that localization is serious deal breaker for using fluidcontent and fluidpages in multi-language projects for now.
  • 19:08:39 <Opk> @NamelessCoder, I've noticed you started playing with l10nmgr (https://github.com/NamelessCoder/l10nmgr). Do you have any planes for it?
  • 19:12:35 <NamelessCoder> Opk it's a fork of xavers repository so you should ask him about the status
  • 19:13:51 <Opk> @NamelessCoder, I will thank you :)
  • 19:15:51 <Opk> @NamelessCoder, I will. Thank you