IRC logs

20140611

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

IRC log range: 20140611*

20140611

  • 09:11:55 <Guest|48558> Hey guys, i have flux, fluidpages, fluidpages_bootstrap, vhs, fluidcontent_bootstrap, fluidcontent_core and fluidcontent installed. Every Ext is the latest dev version. But now i cant select a template. i just got a flux error "could not analyse class=FluidTYPO3/Vhs/Viewhelpers/Page/Content/Render/ViewHelper maybe not loaded or autoloader?
  • 09:12:01 <Guest|48558> can someone help me?
  • 09:15:14 <bjo3rn> Hi Guest|48558
  • 09:15:27 <Guest|48558> hey:)
  • 09:15:42 <bjo3rn> vhs is now namspaced in the current dev branch and I'm not sure if all other exts are updated as well yet
  • 09:16:51 <bjo3rn> ah, sec
  • 09:17:17 <bjo3rn> FluidTYPO3/Vhs/Viewhelpers/Page/Content/Render/ViewHelper is now FluidTYPO3/Vhs/Viewhelpers/Content/Render/ViewHelper
  • 09:18:02 <bjo3rn> so it seems some template doesn't respect that yetr
  • 09:18:04 <bjo3rn> *yet
  • 09:19:01 <bjo3rn> https://github.com/FluidTYPO3/fluidpages_bootstrap/blob/development/Resources/Private/Templates/Page/FrontPage.html#L67
  • 09:20:08 <Guest|48558> ehm
  • 09:20:34 <bjo3rn> yes? ;)
  • 09:20:49 <Guest|48558> but the namespace is the same in fluidpages_bootstrap
  • 09:21:15 <bjo3rn> yes, the namespace is ok. xaver updated it. but v:page.content.render is now v:content.render
  • 09:21:59 <bjo3rn> and that's where the error comes from
  • 09:22:05 <Guest|48558> ahhhh okay but in your example its not updated too :)
  • 09:22:10 <bjo3rn> my example?
  • 09:22:20 <Guest|48558> this link you have posted
  • 09:22:45 <bjo3rn> yes, it links to the actual code you are using from the dev branch
  • 09:22:53 <bjo3rn> needs an update
  • 09:23:30 <Guest|48558> ok i updated this in de templates of pages_bootstrap
  • 09:23:33 <Guest|48558> lets see
  • 09:25:53 <Guest|48558> ohyeessss!!!
  • 09:26:06 <Guest|48558> Thank you so much Bjo3rn!!! :)
  • 09:26:19 <bjo3rn> yw ;)
  • 09:26:45 <Guest|48558> you are guys are awesome with this chat!! :) see ya!
  • 09:31:21 <bjo3rn> cya
  • 09:33:41 <Guest|48558> mm sorry bjo3rn :D
  • 09:34:31 <Guest|48558> #1225709595: Template could not be loaded. I tried "typo3conf/ext/fluidcontent_core/Resources/Private/Templates/CoreContent/Fluidcontent_content.html"
  • 09:34:38 <Guest|48558> this is what i get in FE now
  • 09:36:01 <bjo3rn> -oO
  • 09:36:09 <Guest|48558> yes :/
  • 09:36:33 <Guest|48558> i already checked theres nothing with fluidcontent_content.html
  • 09:36:52 <Guest|48558> i really dont know where this comes from
  • 09:37:47 <Guest|48558> TYPO3\CMS\Fluid\View\Exception\InvalidTemplateResourceException thrown in file typo3_src-6.2.3/typo3/sysext/fluid/Classes/View/TemplateView.php in line 369.
  • 09:37:51 <bjo3rn> this one looks familiar to me
  • 09:38:05 <bjo3rn> but I don't remember tbh. danilobuerger?
  • 09:41:14 <bjo3rn> are you sure you are on the latest dev version of fcc?
  • 09:41:21 <Guest|48558> yes
  • 09:41:26 <Guest|48558> downloaded it yesterday
  • 09:41:36 <Guest|48558> all exts are from yesterday
  • 09:41:46 <bjo3rn> .oO
  • 09:42:29 <jlumpe> Guest|48558: from ter?
  • 09:42:33 <jlumpe> or from github?
  • 09:42:33 <Guest|48558> no git
  • 09:45:08 <Guest|48558> just downloaded fluidcontent_core again
  • 09:45:17 <Guest|48558> but nothing hast changed
  • 09:45:18 <Guest|48558> *has
  • 09:45:38 <bjo3rn> are you friends with git?
  • 09:45:50 <bjo3rn> if so could you try something please?
  • 09:46:05 <bjo3rn> and rewind to the commit before 39d4e0d
  • 09:46:33 <bjo3rn> jlumpe are you using fcc?
  • 09:46:58 <jlumpe> oh fcc, i misread that
  • 09:47:01 <jlumpe> no not yet
  • 09:47:04 <bjo3rn> ok
  • 09:47:06 <jlumpe> but planning to in my new project
  • 09:47:19 <jlumpe> want a fast page ;)
  • 09:47:37 <bjo3rn> use static html ;)
  • 09:48:06 <Guest|48558> uhmm
  • 09:48:20 <bjo3rn> no idea how to do that?
  • 09:48:40 <Guest|48558> i m going to look :p
  • 09:48:47 <Guest|48558> how to do that
  • 09:48:48 <bjo3rn> nono, no hassle.
  • 09:48:54 <bjo3rn> don't sweat it
  • 09:48:56 <bjo3rn> ;)
  • 09:49:16 <Guest|48558> :D
  • 09:49:27 <bjo3rn> I'll try to reproduce but I can't do that now. if danilobuerger appears in the meantime he'll be able to help for sure.
  • 09:49:42 <Guest|48558> okay that would be great:)
  • 09:51:51 <Guest|48558> ah i think i know how to rewind :p
  • 09:52:10 <Guest|48558> without this commit u wrote?
  • 09:53:52 <Guest|48558> hm nothing changed
  • 09:54:39 <bjo3rn> ok, was just a shot in the dark. thanks for trying.
  • 09:55:15 <Guest|48558> no problem :)
  • 09:57:04 <Guest|48558> should i make a screenshot of this error page?
  • 10:37:32 <Romm> Hey there :)
  • 10:38:41 <Romm> I got a little problem, hope someone could help me : I use a Layout, rendering sections of my template, but my arguments are not sent to the template :/ ... Any idea ?
  • 10:38:45 <jlumpe> bjo3rn: haha had a clown for breakfast? ;P
  • 10:38:47 <Romm> Poke poke cedricziel :p
  • 10:39:43 <bjo3rn> jlumpe pro tips ftw!
  • 10:39:53 <bjo3rn> Romm can you paste some code?
  • 10:40:34 <Romm> Hey, sure
  • 10:40:48 <Romm> In my layout :
  • 10:40:49 <Romm> <f:render section="pageFirstMediaImage" arguments="{page: pages.0, classes: 'unit unit-2-row caret-bottom', imageWidth: 300, imageHeight: 360}" />
  • 10:41:04 <Romm> <f:section name="pageFirstMediaImage">
  • 10:41:04 <Romm> <f:debug>{classes}</f:debug>
  • 10:41:08 <Romm> </f:section>
  • 10:41:16 <Romm> Debug outpu is empty
  • 10:41:21 <Romm> output*
  • 10:41:30 <Romm> So are every other arguments :/
  • 10:41:59 <Romm> (the section is in the template, ofc)
  • 10:45:20 <Romm> Any idea bjo3rn ? :p
  • 10:45:45 <bjo3rn> not yet :/
  • 10:46:10 <Romm> Erf
  • 10:46:38 <bjo3rn> I don't quite get it. the first one is in a template and the second one in a layout?
  • 10:46:48 <Harpagophyt> does imageWidth works?
  • 10:46:54 <Romm> No, first one is in a layout
  • 10:46:59 <Romm> I'll try Harpagophyt
  • 10:47:29 <Romm> Harpagophyt: nope
  • 10:48:19 <Romm> I also have to tell you that the templates & co are not located at the default location (/Resources/Private/*) ; but I managed to change it with typoscript and they are both called correctly (the rendering is good, only the arguments aren't)
  • 10:48:29 <Harpagophyt> layout will call after template - or? -- I am a newbie ;-)
  • 10:48:48 <Romm> No, Layout is called "before" the template
  • 10:49:03 <Romm> In my template, I got the following line, then only sections :
  • 10:49:04 <Romm> <f:layout name="Headlines/Frontend7Columns" />
  • 10:49:29 <Romm> Then in my layout I got my HTML code and sections rendering
  • 10:49:41 <Romm> And, ofc, I absolutely need my arguments to be working >_<
  • 10:50:25 <Romm> I'll try to poke the renderViewHelper in the core
  • 10:56:43 <Romm> Omg guys, I figured out that the arguments sent to my templates are the ones I set up in my controller
  • 10:56:49 <Romm> <f:debug>{_all}</f:debug>
  • 10:57:22 <Romm> I see all my variables, but not the arguments sent by the layout...
  • 10:57:26 <Guest|48558> bjo3rn sth new with my prob?:)
  • 10:57:39 <Romm> Do I make something not correctly ? :/
  • 10:59:02 <Romm> I'll try to use partials instead
  • 11:01:39 <Harpagophyt> anyone who knows, where the documentation for this mysterious named prefix settings.* is?
  • 11:02:55 <Romm> Harpagophyt: what are you talking about ? Where are you ? ^^
  • 11:03:34 <bjo3rn> sorry Romm, I have no clue/time right now. Guest|48558 when there's something new you'll find it right here ;)
  • 11:03:55 <Guest|48558> perfect thank you! :)
  • 11:04:09 <Romm> bjo3rn: Well, it's working with partials...
  • 11:04:17 <Harpagophyt> http://fluidtypo3.org/documentation/templating-manual/templating/creating-templates/page-template.html
  • 11:04:24 <Romm> Why does it not work inside my template ? :'(
  • 11:04:31 <Romm> I don't want to create 2513656498 partials :'(
  • 11:04:36 <Harpagophyt> The layout contains some simple HTML structure with two content areas and the outer div container's CSS class is controlled by a Fluid variable {settings.pageClass}. The variable is prefixed settings. which is not required by configuration but very useful. This will become clear at a later stage.
  • 11:05:31 <Romm> Harpagophyt: in general, the settings come from your flexform, your typoscript setup, etc.
  • 11:05:55 <Romm> This is really often used in TYPO3 when using a plugin/module
  • 11:06:42 <Harpagophyt> hmmmm, funny decision because of unwished easy overwriting. anywhere - thx :-)
  • 11:07:07 <Romm> This is actually really usefull
  • 11:07:47 <Romm> You want people to be able to overwrite your configuration everywhere, so your plugin/module is more dynamic :)
  • 11:08:03 <Harpagophyt> yes of course - but .... *ggggg*
  • 11:08:10 <Romm> Then you need to check everything in your php code to prevent fatal errors ^^
  • 11:24:40 <danilobuerger> Guest|48558 bjo3rn fluidcontent_core on head dev branch is working just fine. this seems to be a usage error
  • 11:25:24 <danilobuerger> Guest|48558 in what context does the error occur and what is the error exactly
  • 11:30:30 <Guest|48558> i cant explain you the error cause i dont understand that :D
  • 11:30:39 <Guest|48558> should i send you a screenshot?
  • 11:31:34 <danilobuerger> well where does the error occur and what does the error say exactly
  • 11:33:18 <Guest|48558> the error is displayed in the frontend
  • 11:33:39 <Guest|48558> i just changed the render vhs from page.content.render to content.render
  • 11:34:01 <Guest|48558> after i could choose a template from fluidpages
  • 11:34:07 <Guest|48558> and then i got this error
  • 11:34:25 <Guest|48558> emplate could not be loaded. I tried "typo3conf/ext/fluidcontent_core/Resources/Private/Templates/CoreContent/Fluidcontent_content.html"
  • 11:35:17 <Guest|48558> and 64 listed points with php code
  • 11:35:40 <danilobuerger> so what did you choose as template for fluidpages
  • 11:36:16 <Guest|48558> the standard page
  • 11:36:44 <Guest|48558> but i got the same error with the front page
  • 11:45:03 <danilobuerger> Guest|48558 i cant reproduce this
  • 11:45:14 <Guest|48558> hmm
  • 11:45:24 <Guest|48558> i just installed all new dev versions
  • 11:45:33 <Guest|48558> nothing else :p
  • 11:45:40 <danilobuerger> did you clear your caches through the install tool?
  • 11:45:45 <Guest|48558> yes
  • 11:46:05 <danilobuerger> are you sure that you did that from INSIDE THE INSTALL TOOL ?
  • 11:46:18 <danilobuerger> (not the backend) ?
  • 11:46:31 <Guest|48558> yes important actions- clear all cache
  • 11:46:42 <danilobuerger> what typo3 version are you on?
  • 11:46:51 <Guest|48558> 6.2.3
  • 11:46:56 <danilobuerger> is csc deinstalled?
  • 11:47:19 <Guest|48558> yes it is
  • 11:47:28 <danilobuerger> whats inside your AdditionalConfiguration?
  • 11:48:27 <Guest|48558> https://gist.github.com/anonymous/f93f9eac1130316e7063
  • 11:49:15 <danilobuerger> thats wrong
  • 11:49:45 <danilobuerger> https://github.com/FluidTYPO3/fluidcontent_core/blob/development/Build/AdditionalConfiguration.php
  • 11:51:16 <Guest|48558> okay i will check this :)
  • 11:54:23 <Harpagophyt> translation: flux.formId translate the label, how can i translate the description? just with {f:translate ...}?
  • 12:17:39 <xaver> danilobuerger i think he can click the update button in EXT Manager or?
  • 12:19:09 <xaver> Harpagophyt: you add the id and and write your xlf file https://github.com/FluidTYPO3/fluidcontent_bootstrap/blob/development/Resources/Private/Language/locallang.xlf
  • 12:20:24 <Harpagophyt> xaver: Thx
  • 12:24:15 <helloTypo> Hi, my name ist stefan, i am typo3 developer from austria and i have a problem
  • 12:25:03 <helloTypo> with <v:page.menu pageUid="{item.uid}" as="menuLevel1" expandAll="1">
  • 12:25:29 <helloTypo> is there a guy who can help me?
  • 12:26:30 <helloTypo> i am looking for a way to simulate ACTIFSUB in menu
  • 12:27:55 <GRIMMCREATIVE> classHasSubpages="sub"
  • 12:29:17 <helloTypo> I need it marked as active when the subpage I'm on is in the rootline
  • 12:29:31 <helloTypo> like ACTIFSUB does, but I can't get it to work
  • 12:30:38 <helloTypo> I need something like classActIfHasSubpages :)
  • 12:31:10 <Guest|48558> http://fluidtypo3.org/viewhelpers/vhs/master/Page/MenuViewHelper.html
  • 12:31:46 <helloTypo> thanks, however, if I couldn't navigate documentation I'd not be here
  • 12:32:11 <helloTypo> if I loop through the menu items, even those in root line, are not marked as active
  • 12:33:02 <Harpagophyt> xaver: description does not work. any ideas?
  • 12:33:12 <Guest|48558> danilobuerger i think that was a solution for my problem, but i still have a other error now. But i think its a usage fault of me. I ll give you feedback if it works...
  • 12:33:18 <Harpagophyt> <trans-unit id="flux.confPage">
  • 12:33:23 <xaver> pastebin or gist?
  • 12:33:27 <Harpagophyt> <trans-unit id="flux.confPage.description">
  • 12:33:34 <Harpagophyt> first works, second does not
  • 12:35:42 <GRIMMCREATIVE> helloTypo just tried it and it works for me
  • 12:36:03 <helloTypo> have you tried it with as="menuitem" too?
  • 12:36:24 <helloTypo> cause the active attribute is never set to true for me, even if the item is in root line
  • 12:36:31 <GRIMMCREATIVE> https://gist.github.com/grimmcreative/f3f07f4cb2fe3a57f9b3
  • 12:39:00 <helloTypo> basically I need an ACTIFSUB equivalent and I can't get it to work
  • 12:39:18 <helloTypo> when looping through the menu items with as="..."
  • 12:42:14 <Harpagophyt> xaver: https://gist.github.com/Harpagophyt/76e4b6a36dca1a45ffa7
  • 12:43:03 <cedricziel> helloTypo: when looping over the traverseable you declared with "as" you have a property on each item called active.
  • 12:44:55 <Harpagophyt> helloTypo you know {item.class} ?
  • 12:45:13 <cedricziel> helloTypo: https://github.com/Ecodev/speciality/blob/master/Resources/Private/Partials/Navigation.html#L22
  • 12:45:29 <xaver> Harpagophyt: i never used that in flux:form, because img + label was always enough
  • 12:45:37 <xaver> maybe cedricziel has a clue
  • 12:46:32 <Harpagophyt> helloTypo: this works for me: https://gist.github.com/Harpagophyt/fa2f9e45416e849fa744
  • 12:46:43 <Harpagophyt> thx xaver
  • 12:47:06 <xaver> maybe you can do description="LLL:path/locallang.xlf:test.description"
  • 12:48:10 <Guest|48558> danilobuerger THANK you so much!!!!
  • 12:49:05 <Harpagophyt> cedricziel: https://gist.github.com/Harpagophyt/76e4b6a36dca1a45ffa7 - <trans-unit id="flux.confPage.description"> does not work
  • 12:50:01 <cedricziel> Harpagophyt: did you compare it to this one? https://github.com/FluidTYPO3/fluidcontent_bootstrap/blob/development/Resources/Private/Language/locallang.xlf
  • 12:50:14 <helloTypo> thank you for your suggestions, my colleague has found the bug
  • 12:50:27 <cedricziel> nice, where was it helloTypo?
  • 12:50:42 <helloTypo> in this line if ((integer) $page['uid'] === $pageUid) {
  • 12:51:15 <helloTypo> the cast int was missing
  • 12:51:17 <cedricziel> can you open an issue please? a pr would be appreciated if possible as well
  • 12:51:22 <helloTypo> if ((int)$page['uid'] === (int)$pageUid) {
  • 12:52:54 <Harpagophyt> cedricziel: the only difference is, that my one is a template and not an content element
  • 12:53:37 <helloTypo> my colleague will write a bug report
  • 12:53:58 <cedricziel> super cool, thank you!
  • 12:54:14 <cedricziel> lunch time, cya
  • 12:54:20 <helloTypo> no problem
  • 13:00:14 <cedricziel> helloTypo: This has already been fixed in https://github.com/FluidTYPO3/vhs/commit/685cccbab94c48da93324cf18adc43fabf33a097
  • 13:00:42 <cedricziel> please make sure you're using a current version
  • 13:00:56 <helloTypo> thank yout
  • 13:01:02 <helloTypo> you
  • 13:01:04 <cedricziel> :)
  • 13:02:40 <helloTypo> bye bye i will take lunch
  • 13:03:27 <cedricziel> bye
  • 15:25:24 <jlumpe> guys
  • 15:25:39 <jlumpe> anybody had the issue that the order of a HMENU does not match the pagetree?
  • 15:36:14 <jlumpe> nevermind