IRC logs

20160504

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

IRC log range: 20160504*

20160504

  • 05:13:04 <x3ro> Would it make sense to add an FAQ section to fluidtypo3.org? There's some problems that I've run into, which I imagine might happen somewhat more often to people not familiar w/ fluidtypo3
  • 05:13:19 <x3ro> *There are
  • 06:08:29 <le_chuck> i introduced form sheets to one of my content-elements. when i move fields to these sheets, the previously set values are gone. It seems to be desired behaviour. Is there an advise on how to migrate the values?
  • 06:09:25 <cweiske> there is no migration
  • 06:09:33 <cweiske> except manually fixing the xml
  • 06:09:44 <cweiske> I once did that; http://cweiske.de/tagebuch/mysqlfuse.htm
  • 06:09:49 <le_chuck> ah, to bad
  • 06:10:23 <cweiske> x3ro, depends on the type of question
  • 06:10:31 <cweiske> if it's specific to view helpers, it should be in the docs
  • 06:10:31 <le_chuck> yeah, that's exactly what i wanted to avoid
  • 06:16:26 <x3ro> cweiske: "its stuff like "why isn't my provider extension's initializeView being called" :)
  • 06:39:12 <le_chuck> cweiske: your solution is nice
  • 06:39:58 <le_chuck> i might use that for my projects
  • 06:53:02 <cweiske> x3ro, write a blog post or open an issue on https://github.com/FluidTYPO3/documentation
  • 06:56:25 <x3ro> will do
  • 09:39:52 <haki> hi, since i updated flux i have a error in my content: Fluid Content type not selected - edit this element in the TYPO3 backend to fix this!
  • 09:39:53 <haki> Content uid: [1947]
  • 09:41:24 <cweiske> haki, edit this element and select a fluid content type: http://fotos.cweiske.de/screenshots/2016-05-04%20typo3%20fluid%20content%20type.png
  • 09:53:07 <haki> thats the problem, i cant choose any type :/
  • 09:53:20 <haki> you german?
  • 09:53:24 <cweiske> please be more specific
  • 09:53:27 <haki> *are you german?
  • 09:53:31 <cweiske> why can't you choose a type?
  • 09:53:35 <cweiske> this channel is english
  • 09:53:48 <haki> ok ill keep writing in english
  • 09:53:53 <haki> ill send you a screenschot
  • 09:55:11 <cweiske> is the dropdown missing? is the dropdown empty?
  • 09:56:24 <haki> i can only choose "fluid content type"
  • 09:57:01 <haki> http://s32.postimg.org/sderxhtlx/13148439_10206334572347852_1431625395_o.jpg
  • 09:57:53 <cweiske> and previously (before update) you could select a fluid content type?
  • 09:58:07 <haki> yes
  • 09:58:26 <cweiske> then fluidcontent does not seem to detect your extension anymore
  • 09:58:31 <cweiske> resp. your content elements
  • 09:59:08 <haki> but it was called element type...
  • 10:00:04 <cweiske> in your extension, where and how do you register it as fluid content type provider?
  • 10:01:56 <haki> im not that expierience with fluid but as far as i see it is: .../Resources/Private/Language/locallang.xlf
  • 10:02:13 <haki> with trans-unit
  • 10:04:54 <cweiske> no, ext_localconf.php or ext_tables.php of your own extension should contain a line \FluidTYPO3\Flux\Core::registerProviderExtensionKey(...)
  • 10:06:57 <haki> ext_tables.php
  • 10:07:39 <haki> Tx_Flux_Core::registerProviderExtensionKey('cmag_website', 'Content');
  • 10:08:56 <cweiske> cmag_website is your extension key I presume
  • 10:09:05 <haki> yes
  • 10:09:40 <cweiske> we use "Vnd.Extensionname" as key, with "extensionname" being our extension key
  • 10:10:19 <cweiske> maybe that's the problem
  • 10:10:21 <cweiske> but I don't know
  • 10:12:42 <haki> update: Tx_Flux_Core::registerProviderExtensionKey('cmag_website', 'Content'); was uncommented... when i remove the comment i get: "Fatal error: Class 'Tx_Flux_Core' not found in"
  • 10:13:02 <cweiske> see my line, it has a proper namespace now
  • 10:13:33 <cweiske> see https://fluidtypo3.org/documentation/templating-manual/templating/provider-extension/registration-in-php.html
  • 10:14:26 <haki> now i get: Could not analyse class:FluidTYPO3\Vhs\ViewHelpers\Var\SetViewHelper maybe not loaded or no autoloader?
  • 10:14:52 <cweiske> you're a step further. flux actually loads your content element
  • 10:15:16 <haki> yes :)
  • 10:15:25 <haki> thanks for this :)
  • 10:15:44 <cweiske> check your namespace declaration; compare it with https://fluidtypo3.org/viewhelpers/vhs/master.html
  • 10:15:52 <cweiske> then look if the view helper still exists
  • 10:15:56 <haki> i think its the problem with the :v:var.set
  • 11:05:30 <haki> everytime i try to go into the backend i get : Could not analyse class:FluidTYPO3\Vhs\ViewHelpers\Var\GetViewHelper maybe not loaded or no autoloader?
  • 11:05:33 <haki> can someone help?
  • 12:07:15 <NamelessCoder_> haki use v:variable.set, renamed because Var cannot be a valid namespace segment in php
  • 12:41:16 <haki> i did
  • 12:41:55 <haki> i have no this error : Could not analyse class:Tx_Vhs_ViewHelpers_Page_HeaderViewHelper maybe not loaded or no autoloader?
  • 12:42:02 <haki> i replaced all v:var.set
  • 12:56:00 <NamelessCoder_> you have an old namespace in one or more templates
  • 12:56:14 <NamelessCoder_> grep for "Tx_Vhs" to find them all
  • 13:03:07 <haki> ok, in what should i change it?
  • 13:04:32 <haki> the documentation just say i have to change {namespace flux=Tx_Flux_ViewHelpers} to {namespace flux=FluidTYPO3\Flux\ViewHelpers}
  • 13:05:03 <haki> {namespace v=Tx_Vhs_ViewHelpers} -> {namespace v=FluidTYPO3\Flux\ViewHelpers} ?
  • 13:06:54 <haki> or {namespace v=FluidTYPO3\Vhs\ViewHelpers} ?
  • 13:39:38 <NamelessCoder_> last one ;)
  • 13:40:12 <haki> tried it, got some weird sh**. i try to reroll and start from the beginning.
  • 13:45:40 <haki> and i also have a problem with this line: class Tx_CmagWebsite_Controller_ContentController extends Tx_Fluidcontent_Controller_AbstractContentController {
  • 14:11:51 <haki> ok now i "just" have two errors:
  • 14:12:04 <haki> backend: Could not analyse class:FluidTYPO3\Vhs\ViewHelpers\Var\GetViewHelper maybe not loaded or no autoloader?
  • 14:12:17 <haki> frontend: Fluid Content type not selected - edit this element in the TYPO3 backend to fix this!
  • 14:12:17 <haki> Content uid: [1947]
  • 14:40:48 <haki> as soon i put \FluidTYPO3\Flux\Core::registerProviderExtensionKey('cmag_website', 'Content');
  • 14:40:48 <haki> in the ext_tables.php i get the backenderror :/
  • 14:48:06 <NamelessCoder_> make sure your template paths are correct. It's possible you have some in the old format - new (plural) naming is required
  • 16:42:31 <haki> i did the file search for all old namings
  • 16:43:24 <haki> tx_vhs, tx_flux and, v:var, v:if, registerProviderExtensionKey and https://fluidtypo3.org/documentation/templating-manual/appendix/migration/to-flux-70.html