IRC logs

20140504

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

IRC log range: 20140504*

20140504

  • 01:04:01 <xaver> danilobuerger: what do you do at epicgames=
  • 05:32:43 <artisticMink> May i pass data to a content element (via using v:content.render) similiar to partials? I would need one of my parameters inside a content element.
  • 09:14:33 <bjo3rn> for the record: that debug problem _is_ related to ft3 (vhs and assets). I added a fix yesterday so current dev branch should work.
  • 10:44:21 <bjo3rn> hi floxx
  • 10:44:50 <floxx> hi bjo3rn
  • 10:45:01 <bjo3rn> still having that issue with f:debug?
  • 10:45:10 <floxx> yep. i'm getting crazy
  • 10:45:19 <bjo3rn> please try the current dev branch of vhs
  • 10:46:25 <bjo3rn> vhs#556 should have fixed it
  • 10:46:26 <FT3BOT> Issue 556: [BUG] Debug viewhelper breaks rendering https://github.com/fluidtypo3/vhs/issues/556
  • 10:46:41 <bjo3rn> I mean vhs#558
  • 10:46:42 <FT3BOT> Issue 558: [BUGFIX] Don't re-dispatch content-length in debug mode https://github.com/fluidtypo3/vhs/issues/558
  • 10:49:02 <floxx> i'm using latest dev branch
  • 10:49:23 <floxx> it doesn_t work
  • 10:49:56 <bjo3rn> does your local repository include the above commit?
  • 10:51:06 <bjo3rn> you have to be logged in into the backend btw
  • 10:51:17 <floxx> yes. i even checked AssetService.php for the 3 added lines
  • 10:51:26 <bjo3rn> dangit
  • 10:51:48 <bjo3rn> so when you comment the header() line it works again?
  • 10:52:40 <floxx> yes - then it works as expected
  • 10:53:01 <bjo3rn> ok, we need a different mechanism to detect debug mode then.
  • 10:54:42 <floxx> for the moment, i can live very well with the result ;)
  • 10:54:58 <floxx> thank you
  • 10:57:38 <bjo3rn> would you ming testing something?
  • 10:57:48 <jlumpe> morning!
  • 10:57:49 <bjo3rn> *mind
  • 10:57:54 <bjo3rn> mahlzeit
  • 10:57:58 <bjo3rn> ;)
  • 10:58:01 <jlumpe> oder so ;)
  • 10:58:16 <jlumpe> bjo3rn: trying to convert the page to single tree now, seems like that will save a lot of headaches
  • 10:58:34 <jlumpe> because the missing L var makes translating extbase records for realurl really hard
  • 10:59:04 <bjo3rn> I see. if the content is identically structured it should inmprove the user experience as well imo
  • 10:59:16 <jlumpe> yeah i hope so
  • 10:59:23 <jlumpe> trying to get the languagemenuviewhelper to work atm
  • 10:59:35 <bjo3rn> floxx would you mind replacing line 147 with if (TRUE === isset($GLOBALS['debugParseTime']) && FALSE === (boolean) $GLOBALS['debugParseTime'])
  • 10:59:43 <bjo3rn> for funsies ^^
  • 10:59:54 <floxx> ok
  • 11:00:35 <floxx> broken again
  • 11:01:14 <bjo3rn> hm. which version of TYPO3?
  • 11:01:19 <floxx> 6.2.1
  • 11:01:26 <floxx> local macos apache
  • 11:01:30 <bjo3rn> hm. active backend session?
  • 11:01:32 <floxx> yes
  • 11:01:44 <bjo3rn> crazy. worksonmachine.
  • 11:02:02 <bjo3rn> thanks anyway for testing
  • 11:02:05 <floxx> :)
  • 11:04:55 <jlumpe> bjo3rn: sorry for bothering: in a single tree setup, in realurl i do not have to specify a prefix for the default language for the L-valueMap, right?
  • 11:05:22 <bjo3rn> that depends ;)
  • 11:05:40 <bjo3rn> if you want to force a prefix you have to, otherwise not
  • 11:05:47 <jlumpe> i don't want that
  • 11:05:52 <jlumpe> the issue is:
  • 11:06:01 <jlumpe> i'm trying to use the LanguageMenuViewHelper
  • 11:06:24 <jlumpe> i specified 3 languages now for the page (sine i don't have to specify the default one as a sys language, right?)
  • 11:06:38 <jlumpe> the default language for this page is turkish, but the viewhelper shows the url for the main page as
  • 11:06:45 <jlumpe> en/turkishslughere
  • 11:07:06 <jlumpe> instead of just
  • 11:07:08 <jlumpe> turkishslughere
  • 11:07:47 <jlumpe> and it somehow prefixes my urls with tr.domain.tld
  • 11:08:02 <jlumpe> is that an error on my part? or is the default to link to subdomains?
  • 11:08:18 <bjo3rn> ugh, I don't know tbh
  • 11:08:38 <jlumpe> because what i want is just
  • 11:08:41 <jlumpe> ./turkishslug
  • 11:08:44 <jlumpe> ./en/englishslug
  • 11:08:47 <jlumpe> ./de/germanslug
  • 11:09:24 <jlumpe> ah, url seems to be my fault
  • 11:09:40 <jlumpe> at least the domain part
  • 11:10:10 <bjo3rn> here is the relevant part of a realurlconf I am using: http://pastebin.com/8hytZfRY
  • 11:10:22 <bjo3rn> default is 'de' and it is not added to the url
  • 11:10:49 <bjo3rn> I don't know about subdomains though
  • 11:10:55 <jlumpe> thanks, let me check that :)
  • 11:11:39 <jlumpe> and of course german isn't added as sys language in the backend, right?
  • 11:12:25 <bjo3rn> no, only the label
  • 11:12:41 <bjo3rn> *is changed from Default to German
  • 11:13:23 <jlumpe> yes!
  • 11:13:30 <jlumpe> works now :)
  • 11:13:34 <jlumpe> oh how did you change the label?
  • 11:13:47 <bjo3rn> sec
  • 11:15:03 <bjo3rn> add this to your pagets:
  • 11:15:09 <bjo3rn> mod.SHARED {
  • 11:15:09 <bjo3rn> defaultLanguageLabel = de
  • 11:15:09 <bjo3rn> defaultLanguageFlag = de
  • 11:15:09 <bjo3rn> }
  • 11:15:33 <jlumpe> ha cool, thanks!
  • 11:15:38 <bjo3rn> yw :)
  • 11:16:15 <jlumpe> :)
  • 11:43:06 <bjo3rn> is there a way to reliably determine if a backend user is logged in in extbase?
  • 11:44:03 <bjo3rn> better: if the current user is logged in into the backend
  • 11:46:12 <bjo3rn> $GLOBALS['BE_USER']->user is always populated here
  • 11:49:25 <bjo3rn> grrrmpf. forget it. all is fine.
  • 12:24:52 <Denyerec> Anyone awake and paying attention today ?
  • 12:26:36 <Denyerec> I was wondering how I go about using the new XSD files I see announced
  • 12:51:03 <GRIMMCREATIVE> http://buzz.typo3.org/teams/extbase/article/howto-autocompletion-for-fluid-in-phpstorm/
  • 13:00:20 <Denyerec> That's almost exactly a year old.
  • 13:00:28 <Denyerec> http://fluidtypo3.org/blog/news/viewhelper-references-updated.html
  • 13:00:30 <Denyerec> ^^
  • 13:42:26 <jlumpe> can somebody tell me how to use a viewhelper as argument for "additionalArguments" on a f:link.action?
  • 13:47:33 <bjo3rn> jlumpe inline notation ftw
  • 13:47:43 <jlumpe> i tried
  • 13:47:48 <bjo3rn> but?
  • 13:47:56 <jlumpe> additionalAttributes="{data-href: {f:uri.image( src: image.image.uid, treatIdAsReference: 1, width: '800')}}"
  • 13:48:16 <jlumpe> i get an error about the type
  • 13:48:29 <bjo3rn> misses quotes
  • 13:48:30 <jlumpe> additionalArguments was registered as array, string given
  • 13:48:57 <bjo3rn> data-href: "{f:uri...}"
  • 13:49:03 <jlumpe> oh double quotes
  • 13:49:09 <jlumpe> i tried single quotes
  • 13:49:15 <bjo3rn> shouldn't matter
  • 13:49:46 <jlumpe> with single quotes i still get the error, with double quotes i get no error, but no output lol
  • 13:49:49 <bjo3rn> {foo: bar} is a string whereas {foo: "bar"} is an array
  • 13:49:54 <jlumpe> oh no
  • 13:49:56 <jlumpe> i get an output
  • 13:50:13 <jlumpe> additionalAttributes="{data-href: "{f:uri.image( src: image.image.uid, treatIdAsReference: 1, width: '800')}"}"
  • 13:50:25 <jlumpe> not it just outputs the whole viewhelper as tag
  • 13:50:25 <jlumpe> damn
  • 13:51:28 <jlumpe> {data-href: '{f:uri.image( src: image.image.uid, treatIdAsReference: 1, width: '800')}'}
  • 13:51:43 <jlumpe> this still returns the error, even though it shouldn't right?
  • 13:51:59 <jlumpe> aha
  • 13:52:00 <jlumpe> found the bug
  • 13:52:06 <jlumpe> the '' around the width
  • 13:52:26 <bjo3rn> the quotes need to be propertly nested ofc
  • 13:52:54 <jlumpe> '"''"' you mean
  • 13:52:58 <jlumpe> always alternating
  • 13:53:00 <bjo3rn> yep
  • 13:53:02 <jlumpe> kk
  • 13:53:03 <jlumpe> :)
  • 13:59:39 <danilobuerger> xaver unreal engine 4
  • 14:10:11 <xaver> is klar aber was machst du da?
  • 14:10:16 <xaver> is doch ne privvate repo
  • 14:11:02 <xaver> ups english :P
  • 14:14:48 <jlumpe> guys: how can i fix this issue that extbase doesn't re-read my updated annoations?
  • 14:15:00 <jlumpe> it always complains now that a requird parameter isn't set
  • 14:19:10 <jlumpe> nevermind, re-installing the extension apparently cleared the cache
  • 14:20:35 <danilobuerger> xaver i wont answer that
  • 14:25:29 <xaver> danilobuerger: Oo
  • 14:25:39 <xaver> i know the frist days the repo was open
  • 17:46:31 <Riccardo> good afternoon floxx
  • 18:47:39 <soee> whats the way to use localized dates in date format vh ?
  • 18:50:06 <soee> ah got it
  • 22:42:50 <Denyerec> Anyone here?
  • 22:42:56 <Denyerec> Wondering what this dot syntax is:
  • 22:42:57 <Denyerec> mb_substr($text,0,$cut_length).wpgrade::option('blog_excerpt_more_text')
  • 22:44:48 <soee_> concatenation ? :)
  • 22:44:59 <Denyerec> Ahhh shit
  • 22:45:04 <Denyerec> So obvious
  • 22:45:08 <Denyerec> I was in bloomin .net mode
  • 22:45:21 <Denyerec> Trying to figure out how it could be a chained method call or something!