IRC logs

20140715

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

IRC log range: 20140715*

20140715

  • 14:37:48 <Cash2m> halp. any ideas why <flux:field.controllerActions/> does always render an empty dropdown for me?
  • 14:40:58 <Cash2m> https://gist.github.com/Cash2m/654497f5f762060e14a2
  • 14:40:59 <randomresult> someone here ever worked with the flux.form.data VH?
  • 14:45:36 <randomresult> @bjo3rn or @danilobuerger
  • 14:45:39 <randomresult> u there?
  • 14:45:46 <randomresult> @cedricziel maybe?
  • 15:05:29 * bjo3rn did
  • 15:05:46 <bjo3rn> sup, randomresult? ****
  • 15:17:42 <bjo3rn> yay! t3 conference in october. 940,10€ wtf?
  • 15:17:42 <FT3BOT> ¯\_(ツ)_/¯
  • 15:18:59 <bjo3rn> Cash2m extensionName="tx_news" perhaps?
  • 15:29:51 <Shaggz> Hey guys, got a short question. I can not find the place where the html, head and body part is set. Can somebody help me?
  • 15:31:08 <Shaggz> I try to set the title and metatags with fluidtypo3 but it seems that its not overriding the typoscript title and the metatags instead of placing another one
  • 15:32:54 <bjo3rn> Shaggz are you using the vhs viewhelper to set the page title?
  • 15:35:27 <Shaggz> First a set it with the viewhelper but then i tried via pageRenderer
  • 15:36:05 <Shaggz> It seems that both does not work. Typoscript AND viewhelper. Could that be?
  • 15:36:18 <bjo3rn> you have to make sure config.noPageTitle is set to 2 (two) to make either one work
  • 15:36:34 <Shaggz> I set it to 2
  • 15:36:53 <bjo3rn> .oO
  • 15:37:34 <Shaggz> The thing is that I set it afterwards with via typoscript headerData
  • 15:37:43 <Shaggz> But that's what i want to change
  • 15:38:03 <Shaggz> I want handle everything via fluidtypo3
  • 15:38:22 <bjo3rn> there are some hints in http://fluidtypo3.org/viewhelpers/vhs/master/Page/Header/TitleViewHelper.html
  • 15:38:47 <Shaggz> I already read that :)
  • 15:39:01 <bjo3rn> ok, you never know ;)
  • 15:39:24 <bjo3rn> let me try something
  • 15:39:26 <Shaggz> Do you set the pagetitle via typoscript or via fluidtypo3
  • 15:39:38 <bjo3rn> via tq_seo ;)
  • 15:39:50 <Shaggz> hmm
  • 15:40:13 <Shaggz> And what is if you want to change the title in an extension?
  • 15:41:10 <bjo3rn> pageRenderer
  • 15:41:57 <bjo3rn> sec
  • 15:42:04 <Shaggz> damn, because this is what I'm doing
  • 15:42:40 <bjo3rn> but that's an old project not based on ft3 ;)
  • 15:42:52 <bjo3rn> actually the viewhelper should work
  • 15:43:07 <bjo3rn> I have to test
  • 15:44:03 <Shaggz> The viewhelper is working, but its not overriding the title or metatags instead of adding another one. Then I have the problem that multiple titletags exist and so on.
  • 15:44:32 <Shaggz> That's why I tried to find out where ft3 sets the html, head and body tags ^^
  • 15:44:50 <bjo3rn> it uses the pageRenderer
  • 15:45:19 <bjo3rn> https://github.com/FluidTYPO3/vhs/blob/development/Classes/ViewHelpers/Page/Header/TitleViewHelper.php#L91
  • 15:47:15 <Shaggz> So if I want to set metakeywords, metadescription and title I have to set it in the Page Template via viewhelper?
  • 15:48:30 <Shaggz> Of course for all pages via the metadata tab in the configuration of a page
  • 15:56:58 <bjo3rn> Shaggz, sorry, was afk.
  • 15:57:53 <bjo3rn> so you're saying you get multiple page title tags?
  • 15:57:54 <FT3BOT> Welcome back bjo3rn!
  • 16:03:54 <Shaggz> Yes multiple one
  • 16:04:05 <Shaggz> and multiple metatags
  • 16:04:44 <bjo3rn> by using pagerenderer in your extension and the viewhelper at the same time?
  • 16:06:54 <bjo3rn> there has to be some other source involved that adds additional header data
  • 16:06:58 <bjo3rn> *then
  • 16:08:45 <Cash2m> btw. Is FluidTYPO3\Flux\ViewHelpers\AbstractFormViewHelper missing an abstract function "getComponent" ?
  • 16:16:07 <Shaggz> Sorry bjo3ern now i was afk
  • 16:21:39 <Shaggz> If I remove all typoscript in my page configuration then it displays only on pages where the extension is active (of course)
  • 16:21:40 <FT3BOT> Welcome back shaggz!
  • 16:22:23 <Shaggz> I now try to set up a PageController to get the title of the page and set the metatags.
  • 16:22:48 <Shaggz> I thought maybe somebody could give me a hint if there is a better solution
  • 16:26:08 <beo|2> how does the typoscript look like that you use to set the title?
  • 16:28:37 <Shaggz> First I set config.noPageTitle = 2
  • 16:29:29 <Shaggz> Then with headerData and field
  • 16:29:37 <Shaggz> headerData {
  • 16:29:37 <Shaggz> 1 = TEXT
  • 16:29:37 <Shaggz> 1 {
  • 16:29:37 <Shaggz> field = nav_title // title // subtitle
  • 16:29:37 <Shaggz> noTrimWrap = |<title>|&nbsp;&#124; {$page.sitetitle}</title>|
  • 16:29:38 <Shaggz> }
  • 16:29:38 <Shaggz> }
  • 16:29:55 <beo|2> just as i thought. i don't think the viewhelper will know that it should replace headerData
  • 16:31:09 <Shaggz> That's what I also thought. (= Now I want to set it via ft3
  • 16:31:20 <Shaggz> Not via TypoScript or do you have a better solution?
  • 16:31:24 <beo|2> what is ft3?
  • 16:31:33 <Shaggz> fluidtypo3 (=
  • 16:31:38 <beo|2> ah ok. :)
  • 16:31:52 <beo|2> well. you can set it with typoscript
  • 16:32:02 <beo|2> but not using headerData
  • 16:33:06 <Shaggz> My purpose was/is to use as less TS as I can.
  • 16:33:33 <beo|2> do you use fluid as your main page template?
  • 16:33:42 <beo|2> as = for
  • 16:34:04 <Shaggz> I use fluidpages extension
  • 16:34:11 <Shaggz> So I guess yes :D
  • 16:35:06 <beo|2> then why you don't use http://fluidtypo3.org/viewhelpers/vhs/master/Page/Header/TitleViewHelper.html in your page template?
  • 16:36:43 <Shaggz> Good Question, I need the variables for the page and so on and for that I need a Controller right?
  • 16:37:11 <beo|2> which variables?
  • 16:37:33 <Shaggz> title, metadescription and metakeywords
  • 16:39:50 <beo|2> you can use {v:page.info(field: 'title')}
  • 16:40:03 <beo|2> i guess the other do work too. havent tried it though
  • 16:40:58 <beo|2> http://fluidtypo3.org/viewhelpers/vhs/master/Page/InfoViewHelper.html
  • 16:48:06 <Shaggz> Thanks I will try it ;)
  • 16:48:51 <beo|2> you want to replace the meta description and keywords too?
  • 16:51:49 <Shaggz> yes
  • 16:52:25 <beo|2> mhh. not sure if that will work. haven't found a similar viewhelper for meta data except the page-title
  • 16:53:17 <beo|2> mhh. or maybe http://fluidtypo3.org/viewhelpers/vhs/master/Page/HeaderViewHelper.html works
  • 16:53:26 <Shaggz> That's why I tried to set up a PageController, but I don't have experience with that^^
  • 16:53:28 <beo|2> of you set overwrite
  • 16:53:30 <beo|2> if
  • 16:53:53 <beo|2> well. overwrite is default. so you don't need to set it
  • 16:56:06 <Shaggz> But I still need to retrieve the metadata
  • 16:56:51 <beo|2> does every page have its own metadata?
  • 16:57:57 <Shaggz> Yes, every page is configured in the page settings (metadata tab)
  • 16:58:57 <beo|2> have you tried {v:page.info(field:'description')} ?
  • 16:59:52 <beo|2> and similar {v:page.info(field:'keywords')}
  • 17:02:13 <Shaggz> Nice that works (=
  • 17:02:39 <beo|2> nice
  • 17:02:41 <Shaggz> That's good to know, now I don't need to set the title and metadata in typoscript
  • 17:03:22 <beo|2> if you ask me, in my opinion i find it ugly this way
  • 17:03:43 <Shaggz> You prefer TypoScript?
  • 17:04:26 <beo|2> for things like this, yes
  • 17:04:55 <beo|2> i am also not sure how translating the meta data and title will work when you do it that way with the viewhelpers
  • 17:06:13 <Shaggz> How do you set the title and metatags?
  • 17:06:24 <Shaggz> Instead of headerData
  • 17:12:43 <beo|2> i use headerData. :)
  • 17:14:50 <Shaggz> haha okay
  • 17:15:30 <beo|2> or use page.meta.Keywords
  • 17:15:39 <beo|2> page.meta.Description
  • 17:19:00 <beo|2> and for page-title the default is mostly enough. just change sometimes page.config.pageTitleSeparator or page.config.pageTitleFirst
  • 17:19:51 <beo|2> i would say. use whatever works for you
  • 17:23:48 <Shaggz> I'll try it
  • 17:23:51 <Shaggz> Thanks :)
  • 17:25:29 <beo|2> np. i think i will go. need to get around the safe-area because of a bomb
  • 17:26:09 <beo|2> bye everyone
  • 17:26:35 <Shaggz> okay, good luck (=
  • 17:26:42 <beo|2> thanks. :)
  • 17:26:58 <beo|2> as long as it does not explode while i am too near i am ok
  • 17:27:06 <Shaggz> see ya soon ;)
  • 20:52:25 <gencha> guys, how are you dealing with the goddamn PackageStates.php in regards to VCS?
  • 20:52:47 <gencha> it's driving me nuts
  • 20:53:25 <gencha> every time i check out a project and load it on my dev machine, the PackageStates.php is rewritten and completely different from the one in VCS
  • 20:53:52 <gencha> so the file is marked dirty and when i commit and push it, the same thing happens on my colleagues machine
  • 21:40:51 <xaver> gencha: gitignore - same for localconfiguration