IRC logs

20140515

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

IRC log range: 20140515*

20140515

  • 08:15:37 <cedricziel> benjamin_654: there's a runner available, when you install EXT:phpunit
  • 08:16:07 <jlumpe> morning o>
  • 08:16:32 <cedricziel> ahoy :)
  • 08:17:34 <jlumpe> cedricziel: almost got the ajax submit working with the new powermail version
  • 08:17:34 <jlumpe> :D
  • 08:18:10 <jlumpe> had to dig a bit through the stuff to figure out how to reach the things i want but it's getting somewhere now
  • 08:23:06 <cedricziel> sounds good!
  • 08:24:35 <jlumpe> it might not be perfect code-wise, but as soon as that works i'll just put it on github, if anybody needs it (will probably only work for single page contact forms anyway)
  • 08:26:46 <Denyerec> ok so
  • 08:27:30 <Denyerec> I have the ext. go_maps, and it stores addresses in a table called tx_gomapsext_domain_model_address
  • 08:28:03 <Denyerec> Whats the correct VH to use to grab a record from here?
  • 08:29:49 <benjamin_654> cedricziel: thx & good morning, with: ./typo3/cli_dispatch.phpsh phpunit typo3conf/ext/flux/Tests/Unit/Service/ContentServiceTest.php i get the error: PHP Fatal error: Call to undefined method FluidTYPO3\Flux\Service\ContentService::injectRecordService()
  • 08:30:36 <benjamin_654> and ./typo3/cli_dispatch.phpsh phpunit -c typo3conf/ext/flux/Tests/phpunit.xml says: "No tests executed!" ..
  • 09:05:56 <cedricziel> benjamin_654: can you describe your environment please?
  • 09:07:55 <cedricziel> Denyerec: the domain record, or the db record?
  • 09:12:48 <cedricziel> I'd give field.relation a shot
  • 09:13:00 <cedricziel> it should at least give you the db records
  • 09:13:18 <cedricziel> you can try the transform argument to cast it to a domain object
  • 09:31:34 <cedricziel> out. cya
  • 09:33:09 <Denyerec> cedricziel - I don't understand the question
  • 09:33:16 <Denyerec> That table contains the records with the address data
  • 09:33:19 <Denyerec> I want the address data
  • 09:35:48 <Denyerec> (What was he on about re: domain objects? )
  • 09:36:47 <matt_b> Denyerec: objects in the Domain Model (Repository)?
  • 09:36:57 <Denyerec> Yep, over my paygrade.
  • 09:37:02 <Denyerec> Where can I learn this ?
  • 09:37:05 <Denyerec> Extbase book ?
  • 09:37:15 * Denyerec wonders if they finished translating that yet.
  • 09:37:24 <matt_b> heheh - I've got this on another screen: http://docs.typo3.org/typo3cms/ExtbaseFluidBook/3-BlogExample/2-the-stations-of-the-journey.html
  • 09:37:42 <matt_b> Trying to learn this stuff myself
  • 09:37:51 <Denyerec> :D
  • 09:38:01 <Denyerec> Don't happen to be in the UK do you ?
  • 09:38:15 <matt_b> Just down the road :-)
  • 09:38:55 <matt_b> Burton/Derby area but ex Leicester for 15 yrs
  • 09:39:08 <Denyerec> NO shit
  • 09:39:21 <Denyerec> Not only are you the first other UK based typo user I've ever known
  • 09:39:24 <Denyerec> You're like 10 miles away.
  • 09:39:27 <matt_b> Ditto!
  • 09:39:54 <matt_b> I know - I found yr blog in a google search t'other day
  • 09:40:11 <matt_b> then whois'd yr domain etc.
  • 09:40:12 <Denyerec> lol
  • 09:40:22 <Denyerec> Wonder how the hell you found that :S
  • 09:41:10 <matt_b> Ahem - there's so little structured documentation that I've been casting a wide net - page 2 results ;-)
  • 09:41:22 <Denyerec> Shocker :D
  • 09:41:32 <Denyerec> Must have been my flailing around with an old version
  • 09:41:41 <Denyerec> What brings you to Typo3 ?
  • 09:41:59 <Denyerec> (If I vanish suddenly I will return, just dealing with the nipper)
  • 09:42:09 <matt_b> Been doing it since ~2000
  • 09:42:46 <matt_b> Needed a multi-lingual solution @ the time for a Euro client. Never looked back
  • 09:44:11 <jlumpe> nono you got it all wrong
  • 09:44:21 <jlumpe> wordpress with some multilanguage plugin is the way to go
  • 09:44:22 <jlumpe> :D
  • 09:44:42 <jlumpe> you know, so many themes on theme forest for which you don't have to do anything
  • 09:44:46 <jlumpe> ;)
  • 09:45:15 <matt_b> Actually some days I think you might be right - grass is always greener right? ;-)
  • 09:45:41 <jlumpe> haha don't ever tell me that i'm right with that ;)
  • 09:45:47 <matt_b> lol
  • 09:47:20 <matt_b> "I got 99 problems but a theme ain't one"
  • 09:55:35 <jlumpe> yeah i'm not so sure about that ;)
  • 09:55:42 <jlumpe> for example
  • 09:55:48 <jlumpe> if you do the same thing with magento
  • 09:55:50 <jlumpe> then after buying a theme
  • 09:55:54 <jlumpe> you have like 100 problems more
  • 09:58:04 <matt_b> Haven't played with Magento for a few years - I recall immense complexity.
  • 09:59:59 <jlumpe> yeah that's in there too
  • 10:14:44 <Denyerec> I got 99 problems and Wordpress is most of them.
  • 10:14:51 <Denyerec> ¬_¬
  • 10:14:57 <Denyerec> matt_b you a freelancer?
  • 10:16:27 <matt_b> not atm but will b again soon
  • 10:16:40 <matt_b> looking around for opportunities
  • 10:16:53 <Denyerec> LIkewise, tho with the kid now, I can't go fulltime.
  • 10:17:35 <matt_b> It's exactly kids thats pushing me back into the freelance/self unemployed arena
  • 10:18:00 <matt_b> I can't do school runs with the job I've ended up with :-(
  • 10:18:11 <matt_b> Priorities right?
  • 10:18:12 <Denyerec> Yeah, UK employers are unforgiving regarding family
  • 10:18:24 <Denyerec> Which is hillarious given that everyone's moaning about the "collapse of the family unit"
  • 10:18:38 <Denyerec> I'd rather be poor & with a child I raised myself (IMO)
  • 10:18:53 <matt_b> here here!
  • 10:18:56 <Denyerec> THough we do have a minder arranged for 2 days of the week so I can actually get stuff done!
  • 10:19:38 <matt_b> My eldest used to kip underneath my desk while I worked until her mum came home - happy days!
  • 10:21:09 <matt_b> Denyerec: How'd u get yr projects? Word of mouth?
  • 10:21:14 <Denyerec> Yeah
  • 10:21:26 <Denyerec> The last one I got, was because someone had had a really bad experience with two other webdevs
  • 10:21:34 <Denyerec> so I talked with her about how to find a good developer in her area
  • 10:21:40 <Denyerec> Then she insisted on hiring me instead
  • 10:21:57 <Denyerec> Just finishing the site off now: http://alba-dev.sozu.co.uk/
  • 10:22:20 <matt_b> :-) v. much like the look of it
  • 10:22:32 <Denyerec> SHe's written, no word of a lie, 120 pages of content.
  • 10:22:41 <Denyerec> It's practically a book on the subject, never had a client like it.
  • 10:22:47 <jlumpe> lol Denyerec
  • 10:22:50 <matt_b> wow - a client with content!
  • 10:22:50 <Denyerec> Normally you have to wring 4 pages out of them.
  • 10:22:57 <matt_b> quite
  • 10:23:29 <Denyerec> Other clients are starting to come in from Facebook for photographic work, but that's early days.
  • 10:23:31 <jlumpe> Denyerec: hey, not responsive?
  • 10:23:38 <Denyerec> jlumpe, not for her price, no.
  • 10:23:44 <jlumpe> ah
  • 10:23:56 <Denyerec> Would have needed double for that at least.
  • 10:24:01 * Denyerec is a terrible capitalist :/
  • 10:24:04 <jlumpe> haha
  • 10:24:16 <jlumpe> i'm currently working on a 4 language page for my tattoo artist
  • 10:24:36 <jlumpe> basically a "one-page" page
  • 10:24:40 <jlumpe> which a custom gallery
  • 10:24:43 <jlumpe> *with
  • 10:24:47 <Denyerec> The framework's in place for it to go responsive (Grid, etc) but there are design considerations and obviously the testing etc.
  • 10:25:08 <jlumpe> yeah
  • 10:25:12 <Denyerec> And I couldn't get srcset to work properly cross-browser yet.
  • 10:25:19 <Denyerec> I don't think that feature is ready for primetime.
  • 10:25:21 <jlumpe> srcset?
  • 10:26:11 <jlumpe> ah responsive images
  • 10:26:20 <matt_b> [everone here googles(!)]
  • 10:27:40 <jlumpe> Denyerec: you could also use an adaptive image approach
  • 10:27:58 <jlumpe> setting a cookie on the client side with the viewport width
  • 10:28:05 <jlumpe> and the deliver images accordingly
  • 10:28:15 <jlumpe> oh and Denyerec: https://github.com/borismus/srcset-polyfill
  • 10:29:35 <Denyerec> Hve you tried that jlumpe
  • 10:29:35 <Denyerec> ?
  • 10:29:55 <Denyerec> As I found a bunch of polyfills but each one came with a list of side-effects it made it feel like I was shopping for cancer meds.
  • 10:30:06 <jlumpe> no, not yet i just found it liked in an article on typo3blogger
  • 10:30:10 <jlumpe> hahah ok
  • 10:30:16 <jlumpe> *linked
  • 10:30:43 <Denyerec> I was looking at this: http://adaptive-images.com/
  • 10:31:32 <Denyerec> It seems straightforward enough, and would sit beside typo's caching I think
  • 10:31:46 <jlumpe> Denyerec: that's what i was talking about above :)
  • 10:31:55 <jlumpe> that'S the cookie-variant
  • 10:31:59 <Denyerec> ahhh
  • 10:32:01 <Denyerec> kk
  • 10:32:43 <randomresult> morning
  • 10:32:59 <jlumpe> o>
  • 10:33:19 <jlumpe> randomresult: could you fix your big issue?
  • 10:33:33 <randomresult> my life...? no still the same
  • 10:33:42 <randomresult> ;)
  • 10:33:48 <randomresult> you mean the empty cols?
  • 10:33:51 <randomresult> yes.
  • 10:33:57 <jlumpe> haha
  • 10:34:01 <jlumpe> good :)
  • 10:34:31 <jlumpe> in case anybody later wants to take a look at something i cooked up: i made an attempt to make basic powermail 2.x forms submit via ajax
  • 10:35:04 <randomresult> maybe mrboe is interested as he is working on bootstraped powermailtemplates
  • 10:35:20 <jlumpe> it's really basic for now, but it works
  • 10:35:39 <jlumpe> i might upload it to github later :)
  • 10:36:05 <mrboe> @jlumpe i can upload my powwermail "extended" versiob
  • 10:36:21 <mrboe> all fields with TB classes
  • 10:36:28 <jlumpe> TB?
  • 10:36:33 <mrboe> Twitter Boostrap
  • 10:36:36 <jlumpe> ah
  • 10:36:42 <jlumpe> i'm using foundation :)
  • 10:36:55 <mrboe> so you had to switch - thats hard
  • 10:36:57 <mrboe> ;)
  • 10:37:06 <jlumpe> did you remove the powermail_field classes?
  • 10:37:22 <mrboe> the unused
  • 10:37:32 <jlumpe> anyway if you want i can later upload the ajax-enabling extension if you want to take a look
  • 10:37:37 <jlumpe> maybe you can salvage something
  • 10:37:48 <mrboe> http://snag.gy/iLDxO.jpg
  • 10:38:10 <jlumpe> nice nice :)
  • 10:38:13 <mrboe> that would be nice
  • 10:38:29 <jlumpe> disclaimer: i have no idea about it's quality :D
  • 10:38:40 <jlumpe> ok wait, let me upload it now, even though it's definitely not 100% finished
  • 10:38:41 <jlumpe> sec
  • 10:39:01 <mrboe> dont hurry
  • 10:39:09 <Denyerec> jlumpe - I've been using "sp_bettercontact" for my contact forms forever now
  • 10:39:17 <jlumpe> well you can just browse it and get an idea about what i did
  • 10:39:21 <Denyerec> As it does "everything I need" - it doesn't ajax submit though.
  • 10:39:26 <Denyerec> And it's a bit of a pig to customise.
  • 10:39:47 <Denyerec> Do you think using powermail with the ajax submission would be a viable solution for spam-proof contact forms?
  • 10:40:06 <Denyerec> And... isn't Claus working on Fromage with danilobuerger ?
  • 10:40:18 <jlumpe> Denyerec: i have no idea :)
  • 10:40:38 <jlumpe> i just did this because i need this contact form to be submitted using ajax
  • 10:44:06 <Denyerec> Hehe
  • 10:44:29 <jlumpe> mrboe: https://github.com/johanneslumpe/Pmajaxsubmit
  • 10:44:44 <jlumpe> i just started that yesterday, so bear with me
  • 10:49:13 <Denyerec> Any of you guys familiar with resource.record
  • 10:49:15 <Denyerec> ?
  • 10:49:45 <mrboe> thx - had to finish some thing and then i will have a look
  • 10:56:45 * Denyerec gets the feeling danilobuerger is going to yell at me for abusing his viewhelpers.
  • 11:06:25 <BenjaminR> Hey everybody
  • 11:06:58 <jlumpe> o>
  • 11:09:38 <Denyerec> BenjaminR!
  • 11:09:40 <mrboe> hey BenjaminR
  • 11:09:41 <Denyerec> >_>
  • 11:09:46 <BenjaminR> oO
  • 11:09:49 <Denyerec> QUick Q:
  • 11:09:52 <BenjaminR> :)
  • 11:10:11 <Denyerec> I have the ext. go_maps, and it stores addresses in a table called tx_gomapsext_domain_model_address
  • 11:10:21 <Denyerec> I am using resource.record to pull a field from a record there.
  • 11:10:26 <Denyerec> Is this the right VH to be using ?
  • 11:11:01 <Denyerec> And, second, is there a way to grab a set of fields and iterate them?
  • 11:11:09 <Denyerec> Third, can you get a whole record, not just a field ?
  • 11:11:18 <Denyerec> (Ok, so 3 quick questions) :)
  • 11:11:23 <Denyerec> But they are small!
  • 11:11:24 <BenjaminR> a) never used resource.record
  • 11:11:26 <Denyerec> Look, so tiny...
  • 11:11:29 <BenjaminR> b) it seems to be the right thing
  • 11:11:38 <BenjaminR> c) get all field with field argument empty
  • 11:11:45 <Denyerec> Ahh!
  • 11:11:51 <Denyerec> I omitted it and it complained
  • 11:11:57 <Denyerec> I didn't think to leave it in, but empty.
  • 11:12:22 <BenjaminR> oh then i am afraid resources means media
  • 11:12:37 <BenjaminR> lets check the source :)
  • 11:12:59 <BenjaminR> Denyerec anyway... you like to get a suggestion?
  • 11:13:08 <Denyerec> Mmmhm?
  • 11:13:19 <BenjaminR> create your own viewhelper and initialize the repository
  • 11:13:22 <Denyerec> I'm currently in the source trying to figure out the comments in the documentation.
  • 11:13:24 <BenjaminR> i think that is quite more fun
  • 11:13:39 <Denyerec> 'The actual record. Alternatively you can use the "uid" argument.'
  • 11:13:41 <Denyerec> Meant nothing to me :/
  • 11:13:53 <Denyerec> Why would I supply the record I'm trying to pull OUT, as an arguement ?!
  • 11:13:56 <BenjaminR> initializing the gomaps repo is easy as $repository = $this->objectManager->get($repositoryName);
  • 11:13:59 <Denyerec> That would imply I already have the damn thing...
  • 11:14:24 <Denyerec> If you can point me to the guide on "My first viewhelper, a picturebook guide"
  • 11:14:26 <BenjaminR> i think this is meant as relation field
  • 11:14:29 <Denyerec> Then I will give that a try :)
  • 11:14:45 <BenjaminR> Denyerec in EXT:vhs there are 187 viewhelpers which you can use as template :LP
  • 11:14:57 * Denyerec sees lots of error messages in his future.
  • 11:15:02 <BenjaminR> its not more than class myvhs extends fluid abstractvh with a render method :)
  • 11:15:18 <Denyerec> All this talk of repositories is very alien.
  • 11:15:24 <BenjaminR> i will point you to an easy one :)
  • 11:15:29 <BenjaminR> it isnt !
  • 11:15:32 <BenjaminR> its 5 minutes work :)
  • 11:15:38 <BenjaminR> and you can fetch whatever you want :)
  • 11:15:42 <Denyerec> http://docs.typo3.org/typo3cms/ExtbaseFluidBook/3-BlogExample/2-the-stations-of-the-journey.html
  • 11:16:08 <BenjaminR> wait - i build one for you :)
  • 11:16:19 <BenjaminR> you own me a coffee then
  • 11:16:38 <Denyerec> So long as you're not in Switzerland I can probably afford that...
  • 11:17:04 <jlumpe> lol
  • 11:17:42 <Denyerec> content.infoview seems simple enough
  • 11:18:07 <Denyerec> Just feels like I'm wading into a room of 100 concepts, and I only know 1 ;)
  • 11:18:57 <BenjaminR> creating a basic one right now for fetchig objects from a repo
  • 11:18:59 <BenjaminR> you can extend then
  • 11:25:36 <ubrog> I have a problem with an inline notation of f:cObject, can anyone spot what's wrong here? http://pastebin.com/LneKEgbT
  • 11:26:35 <ubrog> I get: #1237900529: The argument "arguments" was registered with type "array", but is of type "string" in view helper "TYPO3\CMS\Fluid\ViewHelpers\Widget\LinkViewHelper"
  • 11:26:56 <ubrog> I also added {} around f:cObject, but with the same result
  • 11:27:20 <ubrog> The typoscript path contains a number only, I checked that
  • 11:27:40 <ubrog> And when I add the number directly in the template it works
  • 11:28:57 <ubrog> I think there's something wrong with the inline notation of the cObject so it returns an array instead of string, but I don't know what exactly
  • 11:35:57 <Denyerec> thanks BenjaminR - might be able to figure this out afterall! ;)
  • 11:36:10 <jlumpe> ubrog, can you try to change f:cObject(typoscriptObjectPath: 'lib.newscategory' ) to 'f:cObject(typoscriptObjectPath: "lib.newscategory" )'
  • 11:36:15 <BenjaminR> i need 1 more minute :)
  • 11:36:17 <jlumpe> (yes, include the single quotes too)
  • 11:36:35 <Denyerec> Uh oh, the gremlin has woken
  • 11:36:39 <Denyerec> Brb!
  • 11:37:16 <BenjaminR> Denyerec: https://gist.github.com/benjaminrau/3642d8e6c4a3e24c4e29
  • 11:37:17 <FT3BOT> Denyerec is currently away.
  • 11:37:18 <BenjaminR> Untested!
  • 11:38:30 <Denyerec> ok
  • 11:38:31 <FT3BOT> Welcome back Denyerec!
  • 11:38:41 <Denyerec> My one stupid question before I head off to deal with Ada
  • 11:38:48 <Denyerec> How do I know the repository name?
  • 11:39:07 <Denyerec> I presume it's derived from the tablena m e>?
  • 11:39:08 <Denyerec> b gugh oh
  • 11:39:13 <Denyerec> shes onthe keyg oard
  • 11:39:21 <Denyerec> She's on the keyboard :S
  • 11:39:36 <BenjaminR> Go to the ext and open the class / but yes you can determine from table name too
  • 11:39:57 <BenjaminR> Tx_WhateverExt_Domain_Repository_ModelRepository
  • 11:40:04 <BenjaminR> Or namespaced..
  • 11:40:57 <ubrog> jlumpe: I get "Not all tags were closed" when I change it like that
  • 11:42:10 <ubrog> Ah of course, because the "" are nested now
  • 11:42:23 <ubrog> But is there a way to mask those?
  • 11:42:23 <Denyerec> thanks BenjaminR!!
  • 11:42:30 <Denyerec> biab
  • 11:44:41 <jlumpe> ubrog
  • 11:44:53 <jlumpe> you have to always nest them properly
  • 11:44:54 <jlumpe> like t his
  • 11:44:57 <jlumpe> "'"''"'"
  • 11:46:12 <jlumpe> did you write it ilke this:
  • 11:46:13 <jlumpe> arguments="{currentPage: pagination.nextPage, contentUid: configuration.contentUid, tx_news_pi1: {overwriteDemand: {categories: 'f:cObject(typoscriptObjectPath: "lib.newscategory" )' }}}"
  • 11:47:25 <ubrog> yes, exactly like that
  • 11:47:27 <jlumpe> hmm
  • 11:47:29 <jlumpe> weird
  • 11:48:28 <jlumpe> oh yeah
  • 11:48:38 <jlumpe> can you please ad {}
  • 11:48:43 <jlumpe> around f:cObject?
  • 11:48:45 <jlumpe> so
  • 11:48:57 <jlumpe> categories: '{f:cOject(...)}'
  • 11:51:31 <ubrog> same result, "Not all tags were closed"
  • 11:51:42 <ubrog> I can escape the quotes with an \
  • 11:52:03 <ubrog> Then I don't get an error
  • 11:53:55 <ubrog> one sec, I think that might be it
  • 11:57:56 <ubrog> Ok, so this is the correct way to do it: http://pastebin.com/uXFsFnGr
  • 11:58:05 <ubrog> Escaping the quotes
  • 11:58:15 <ubrog> thanks for your help
  • 11:59:15 <jlumpe> ubrog: well the correct way (afaik) is to properly nest the quotes :)
  • 11:59:32 <jlumpe> and it works fine for me
  • 12:01:53 <ubrog> Don't you have to escape the quotes usually if you have the same type nested?
  • 12:02:10 <ubrog> It didn't work exactly as you wrote it, but escaped it does, at least in this case
  • 12:02:23 <jlumpe> i have this in my template for example
  • 12:02:24 <jlumpe> <f:link.action action="single" arguments="{image:image}" pageUid="20" title="{image.name}" additionalAttributes="{data-mfp-src: '{f:uri.image( src: image.image.uid, treatIdAsReference: 1, width: 800)}'}">
  • 12:02:39 <jlumpe> but
  • 12:03:06 <jlumpe> i'm not nesting another pair
  • 12:03:16 <jlumpe> maybe you're right about that :)
  • 12:03:27 <jlumpe> i could have sworn that it would work
  • 12:03:38 <jlumpe> anyway, glad that it's working at least :D
  • 12:06:58 <ubrog> Oh yeah, me too. I've been working on fixing a bug for 3 days now and I think that was the last part
  • 12:12:40 <moger> hey there
  • 12:13:27 <moger> I am using <v:render.inline> in a "standard" fluid view called by a controller and it works perfectly
  • 12:14:22 <moger> however, when using it within a standalone view context (fired from a signal/slot event) it does not parse any variables
  • 12:14:52 <moger> precisely, i am using the standalone view to send an email.
  • 12:15:44 <moger> and i want typo3 to parse my DB-based fluid code in that email.
  • 12:24:50 <randomresult> BenjaminR u there?
  • 12:25:03 <BenjaminR> Si
  • 12:25:11 <randomresult> or anyone who can help me with an updatescript ?
  • 12:25:14 <randomresult> ah hi
  • 12:25:45 <randomresult> i want to build an update(migration) script for migrating *bootstrap to fluidbootstraptheme
  • 12:26:09 <randomresult> i know what should be changed and i think i have the sql-script ready
  • 12:26:27 <randomresult> now need to port that in class.ext-update.php
  • 12:27:04 <BenjaminR> if you need a template copy from fluid or fluidcontent
  • 12:27:13 <BenjaminR> flux or fluidcontent
  • 12:27:27 <randomresult> ?
  • 12:27:52 <BenjaminR> what do you mean with "need to port that in"
  • 12:28:42 <randomresult> i looked a the updatescript in fluidcontent
  • 12:28:53 <randomresult> and i saw that it is quite simple
  • 12:29:12 <randomresult> so i copied that one and now try to merge my sql-command in it
  • 12:29:28 <randomresult> then i realised that its not that simple :)
  • 12:29:41 <BenjaminR> why? :)
  • 12:29:50 <randomresult> may i show you?
  • 12:29:59 <BenjaminR> you may
  • 12:30:07 <randomresult> thank you
  • 12:30:10 <randomresult> ;)
  • 12:30:16 <BenjaminR> ^^
  • 12:30:19 <randomresult> gimme a sec to gist it
  • 12:33:29 <randomresult> no, just realised that im far away from what i need
  • 12:35:18 <randomresult> https://gist.github.com/randomresult/d71e9d69ef34898ba2fd @BenjaminR
  • 12:35:29 <BenjaminR> gimme a sec
  • 12:35:37 <randomresult> all you need
  • 12:40:43 <BenjaminR> datatables <3
  • 12:40:56 <randomresult> sry was discon
  • 12:42:03 <BenjaminR> randomresult: use a select update statement with replace()
  • 12:42:08 <BenjaminR> wouldnt be enough?
  • 12:42:43 <BenjaminR> ah with typo3 support ... sure...
  • 12:42:50 <BenjaminR> lets google replace
  • 12:43:50 <BenjaminR> well no isnt supported. then you will have to create a select query for FluidTYPO3... and iterate over the result and update them
  • 12:50:00 <randomresult> hmm... i could think of doing one query for each element
  • 12:51:30 <jlumpe> guys, did you ever experience that typo3 concatenates but not minifies js?
  • 12:51:42 <jlumpe> concatenateJs = 1
  • 12:51:42 <jlumpe> compressJs = 1
  • 12:51:45 <jlumpe> are both set
  • 12:52:32 <BenjaminR> randomresult: thats what you will have to do
  • 12:52:41 <randomresult> ok.
  • 12:52:49 <randomresult> i will try. for now i deleted tt_content
  • 12:52:52 <randomresult> nice hum
  • 12:54:23 <randomresult> lets play some bullshitbingo ... Denyerec u there?
  • 13:09:46 * Denyerec loads his hands
  • 13:09:54 <Denyerec> 3....2.....1......
  • 13:10:00 <Denyerec> *clapping frenzy*
  • 13:21:38 <jlumpe> randomresult: before updating flux etc to the latest dev branches
  • 13:21:46 <jlumpe> you'd recommend to backup typo3conf + db, right? :D
  • 13:21:55 <Denyerec> lol yeah ;)
  • 13:22:01 <Denyerec> biab - baby walking time
  • 13:22:47 <randomresult> make a backup you damn cowboy
  • 13:23:03 <jlumpe> just did!
  • 13:23:05 <randomresult> as i work with git, for me the DB-Backup is most important
  • 13:23:20 <jlumpe> yeah i'm currently not working with git on this project
  • 13:23:36 <jlumpe> have to update because i'm stuck with the issue that i c annot add plugins to FCEs
  • 13:36:31 <jlumpe> arhg
  • 13:36:48 <jlumpe> fluidcontent has depencendies set for flux from 7.0.0 to 7.0.99
  • 13:36:49 <jlumpe> ..
  • 13:36:55 <jlumpe> but the current dev branch is 7.1.0
  • 13:47:29 <jlumpe> randomresult: Ima real ocwboy
  • 13:47:32 <jlumpe> it didn't break!
  • 13:48:07 <randomresult> glad to hear that!
  • 13:49:01 <jlumpe> but still
  • 13:49:07 <jlumpe> copy and paste isn't working :/
  • 13:49:19 <jlumpe> but at least i can create plugins inside an FCE now
  • 13:56:47 <randomresult> BenjaminR u there?
  • 13:57:02 <randomresult> you can take a branch from @danilobuerger
  • 13:57:14 <BenjaminR> randomresult?
  • 13:57:14 <randomresult> there it should nearly all be fixed
  • 13:57:30 <randomresult> BenjaminR i have the update script ready. could you take a look?
  • 13:58:19 <randomresult> i dunno if this is simply stupid or correct. but it works
  • 13:58:27 <BenjaminR> i can - but i cant test / verify now
  • 13:58:28 <randomresult> (at least i think so :) )
  • 13:58:51 <BenjaminR> dont care about performance too much in ext_update script
  • 13:59:01 <randomresult> lemme gist it
  • 13:59:06 <BenjaminR> but should should be aware of 10000s of records
  • 13:59:21 <cedricziel> should just be transactional so it doesnt break
  • 13:59:47 <randomresult> lemme check . i ll be back in 5 minutes
  • 14:05:34 <soee> phpstorm users ?
  • 14:08:26 <mrboe> @soee <<
  • 14:09:05 <jlumpe> mrboe: had time to take a look? ;)
  • 14:26:06 <randomresult> @cedricziel what eber transactional means
  • 14:26:21 <randomresult> i will paste it and you could be so kind and have a short look
  • 14:27:09 <randomresult> @BenjaminR or cedricziel https://gist.github.com/randomresult/8ef572f4faa0d1b90c09
  • 14:27:32 <BenjaminR> oO
  • 14:27:41 <BenjaminR> that wasnt what i expected :D
  • 14:28:03 <randomresult> thats why i show it to you
  • 14:28:16 <BenjaminR> you could have used a array $elements at least ^^
  • 14:28:27 <randomresult> icould but i didnt
  • 14:28:35 <BenjaminR> and iterate ofter them to do line 23
  • 14:28:46 <BenjaminR> well if it works...
  • 14:28:51 <BenjaminR> you _can_ do it like that :)
  • 14:28:52 <BenjaminR> i wouldnt
  • 14:28:55 <BenjaminR> ^^
  • 14:29:06 <randomresult> you would change it to an array?
  • 14:29:12 <randomresult> i mean the work is done
  • 14:29:14 <BenjaminR> at least that yes
  • 14:29:45 <BenjaminR> but again: its up to you. you have to maintain it so you decide how its done :)
  • 14:30:23 <randomresult> i post it to discuss it
  • 14:30:50 <BenjaminR> if one extended your ext with additioanl fces this doesnt work for him
  • 14:31:09 <randomresult> its only a migration from old fce to the new one
  • 14:31:11 <BenjaminR> i would have selected all records with tx_fed_fcefile like 'FluidTYPO3....%'
  • 14:31:19 <BenjaminR> and then update them iterating over the result
  • 14:31:42 <BenjaminR> may there be a chance that someone defined an overlay path and added addtiional fce types?
  • 14:31:48 <BenjaminR> if yes, this isnt the soltuion
  • 14:31:51 <BenjaminR> if no, this is fine
  • 14:34:06 <randomresult> ok. i will try to understand and redo it
  • 14:37:08 <BenjaminR> randomresult: in your update script you expect to know the fces there have been used with fluidcontent_bootstrap but if one added more fces to it they wont be catched by your update script
  • 14:37:28 <randomresult> i understand that
  • 14:37:56 <randomresult> but how to make an "flexible update" --- i need to figure that out
  • 14:38:01 <BenjaminR> if you do a selectquery to get all tt_content records with an tx_fed_fcefile LIKE FluidTYPO3.Fluidcontentbootstrap:%
  • 14:38:04 <BenjaminR> you know which are there
  • 14:38:19 <BenjaminR> iterate over the result from the selectquery
  • 14:38:25 <BenjaminR> group by tx_fed_fcefile
  • 14:38:46 <BenjaminR> and then create update queries for the result of grouping
  • 14:39:03 <randomresult> but this query will give me all fce not all types of fce or not?
  • 14:39:18 <randomresult> ah iterate and group
  • 14:39:27 <BenjaminR> (y)
  • 14:39:39 <randomresult> damn... ok. will work on that
  • 14:39:55 <BenjaminR> $types[$row[tx_fed_fcefile]]
  • 14:40:09 <BenjaminR> gives you an array of all types
  • 14:40:24 <randomresult> ok. will try
  • 14:40:26 <BenjaminR> $types= array_keys($types)
  • 14:40:45 <BenjaminR> good look - keep up the good work :)
  • 14:56:50 <BenjaminR> cedricziel: you know where the "Relations" tab in content elements comes from and what it is for?
  • 14:58:16 <BenjaminR> And how to hide the Options Tab for an fce which has no fields
  • 15:03:09 <Torsten> Hey there... when I delete a fluid content element that has a file relation via flux.field.inline.fal, the corresponding row in sys_file_reference is not marked as deleted... am I missing something?
  • 15:06:24 <jlumpe> Torsten
  • 15:06:24 <jlumpe> https://github.com/FluidTYPO3/fluidcontent/issues/142
  • 15:11:32 <Torsten> jlumpe thanks! So it's a core bug regarding flex forms in combination with gal?
  • 15:11:35 <Torsten> *fal
  • 15:12:34 <jlumpe> not sure, i just remembered there was an open ticket about this :)
  • 15:19:27 <mrboe> @soee you have a minute?
  • 15:20:19 <mrboe> @jlumpe sorry - have to soll into tomorrow
  • 15:20:28 <jlumpe> mrboe: no need to be sorry :)
  • 15:21:42 <mrboe> if its interesting for you here is my boostrap version https://github.com/misterboe/t3bpowermail
  • 15:23:15 <BenjaminR> How to get rid of empty option tab for my empty flux form
  • 15:27:19 <jlumpe> BenjaminR: doing it like for a normal flex form doesn't work?
  • 15:27:36 <BenjaminR> how?
  • 15:27:38 <BenjaminR> :)
  • 15:27:43 <jlumpe> http://www.typo3.net/forum/thematik/zeige/thema/105475/?show=1
  • 15:28:03 <jlumpe> check the last 3 posts
  • 15:28:08 <jlumpe> maybe that helps you :)
  • 15:29:11 <BenjaminR> but this is not about empty sheets, is it?
  • 15:29:35 <jlumpe> argh
  • 15:29:36 <BenjaminR> and all fces have the same ctype (fluidcontent) so i cant hide it for a ctype
  • 15:29:37 <jlumpe> about fields
  • 15:29:43 <jlumpe> aaah
  • 15:29:43 <jlumpe> ok
  • 15:29:54 <BenjaminR> thanks anyway
  • 15:29:57 <jlumpe> bummer :/
  • 15:31:02 <BenjaminR> one has a small rte default config?
  • 15:31:07 <BenjaminR> small means minimal
  • 15:31:36 <jlumpe> never had to do that
  • 15:31:48 <jlumpe> usually i take care of the pages i develop, not editors ;)
  • 15:32:02 <BenjaminR> same here :D
  • 15:33:03 <jlumpe> :D
  • 15:38:21 <Denyerec> OH man
  • 15:38:27 <Denyerec> Kids are tiring, and she can't even walk yet :S
  • 15:38:41 <BenjaminR> :)
  • 15:39:00 <mrboe> anybody uses phpstorm? and can confirm that the local XSD files are no logner necessary
  • 15:39:13 <mrboe> for vhs flux
  • 15:41:25 <Denyerec> Ohh mrboe
  • 15:41:29 <Denyerec> I use PHPstorm
  • 15:41:38 <Denyerec> but I am not sure which URLs to use in my namespaces these days
  • 15:41:46 <Denyerec> I'm still using the files you gae me a month or so ago
  • 15:42:17 <mrboe> when i delete my local files
  • 15:42:32 <mrboe> and repaces the div with that https://gist.github.com/misterboe/d8ab3a8970ca44c07a59
  • 15:42:42 <mrboe> tha autcompletion works
  • 15:43:01 <mrboe> can u check that?
  • 15:43:26 <Denyerec> It's broken here
  • 15:43:35 <Denyerec> No autocomplete
  • 15:43:37 <Denyerec> (At all)
  • 15:44:12 <mrboe> sure?
  • 15:44:15 <Denyerec> Do you have this too?
  • 15:44:16 <Denyerec> {namespace v=Tx_Vhs_ViewHelpers}
  • 15:44:16 <Denyerec> {namespace flux=FluidTYPO3\Flux\ViewHelpers}
  • 15:44:25 <mrboe> yes
  • 15:44:33 <Denyerec> Yeah I get no AC
  • 15:44:38 <Denyerec> Though I am not on the very latest version
  • 15:44:41 <Denyerec> I'm on the latest VHS
  • 15:44:58 <mrboe> resart phpstorm?
  • 15:45:01 <Denyerec> But I get no autocomplete for anything to do with flux, fluid or vha
  • 15:45:04 <Denyerec> *vhs
  • 15:45:07 <Denyerec> which makes me sad
  • 15:45:09 <Denyerec> as I would LOVE autocomplete
  • 15:47:09 <mrboe> ok the v: is working
  • 15:47:12 <Denyerec> Nope
  • 15:47:14 <Denyerec> nothing works here
  • 15:47:17 <mrboe> the flux not
  • 15:47:30 <Denyerec> <v: Ctrl+space -> No suggestings
  • 15:47:37 <Denyerec> Do you have the namespaces mapped in your project settings ?
  • 15:48:30 <Denyerec> Also the lines highlight with a "namespace not registered"
  • 15:49:53 <mrboe> i hate it
  • 15:51:19 <Guest|52787> hi there. Any way to render a file-collection with fluid/vhs?
  • 15:54:59 <Denyerec> HOw'd you mean Guest?
  • 15:57:42 <Guest|52787> Create a record of the type "sys-file-collection", select some images, render them in the frontend by given uid.
  • 15:59:18 <randomresult> BenjaminR still there?
  • 16:00:11 <BenjaminR> Guest|52787: maybe you can utilize v:resource.record for it
  • 16:00:19 <BenjaminR> but not sure
  • 16:00:31 <randomresult> BenjaminR https://gist.github.com/randomresult/8ef572f4faa0d1b90c09
  • 16:00:33 <randomresult> better?
  • 16:01:24 <randomresult> f*ck
  • 16:01:35 <BenjaminR> when you now ensure that you dont call an update query two times for two fce usages :)
  • 16:01:38 <BenjaminR> of same type
  • 16:01:49 <BenjaminR> then yes
  • 16:01:50 <BenjaminR> very good
  • 16:02:28 <BenjaminR> thats why i would have defined the key of $results with the value of tx_fed_fcefile
  • 16:02:30 <BenjaminR> then you are done
  • 16:02:39 <BenjaminR> $results[$row['tx_fed_fcefile']] = $row['tx_fed_fcefile'];
  • 16:03:07 <randomresult> what does that do?
  • 16:04:04 <randomresult> lemme check
  • 16:05:23 <BenjaminR> you dont group? so it does that
  • 16:05:38 <BenjaminR> because array key can only be uniquie and is overwritten
  • 16:05:51 <randomresult> i thought i group
  • 16:05:56 <BenjaminR> where`
  • 16:06:01 <BenjaminR> maybe i overlooked it
  • 16:06:08 <randomresult> in select
  • 16:06:27 <randomresult> exec_SELECTquery
  • 16:06:35 <randomresult> there ... one is group
  • 16:06:42 <BenjaminR> ah didnt know it capable of that
  • 16:06:46 <BenjaminR> then yes - done :)
  • 16:07:13 <randomresult> now i double group :) #
  • 16:07:20 <BenjaminR> then no need for the foreach
  • 16:07:34 <BenjaminR> place the content of foreach in the while?
  • 16:13:37 <randomresult> ok. final version for content: https://gist.github.com/randomresult/8ef572f4faa0d1b90c09
  • 16:13:42 <randomresult> @BenjaminR
  • 16:14:39 <BenjaminR> liked it that the str_replce was assigned to a variable before it was used in updatequery
  • 16:14:47 <BenjaminR> better readable
  • 16:15:03 <BenjaminR> but yes - if that works in your tests - it looks good to me beside the variable thing
  • 16:25:18 <xaver__> Is the twitter bootstrap button link with 6.2 and file broken? input is file: 320 ab
  • 16:25:40 <xaver__> and site shows file:///320
  • 16:32:34 <mrboe> @xaver__ i rewirte the button https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme
  • 16:32:43 <xaver__> mrboe: THX!
  • 16:33:11 <mrboe> use this https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/Button.html
  • 16:33:32 <mrboe> button group and link doesn't work for me
  • 16:35:31 <xaver__> THX
  • 16:36:43 <mrboe> the labels are in the local lang file
  • 16:37:08 <mrboe> if you only want to grap the button @xaver__
  • 17:09:59 <Guest|52787> I wrote a small view-helper to get the file-collection. Now how do you render an object "TYPO3\CMS\Core\Resource\Collection\StaticFileCollection" correctly?
  • 17:10:37 <Guest|52787> eh.. "TYPO3\CMS\Core\Resource\FileReference"
  • 17:11:14 <cedricziel> file reference is pretty simple, in the simplest case, it has a "publicUrl" property
  • 17:12:07 <cedricziel> inspect all properties with {myFileReferenceObject -> f:debug()}
  • 17:13:32 <Guest|52787> ah, indeed it has - nice! But debug() did't exposes it.
  • 17:13:53 <cedricziel> oh yes, it's a lazy property
  • 17:14:07 <cedricziel> you have to iterate on it first i think
  • 17:16:23 <Guest|52787> nevermind. Simple dot-access on it with fluid works
  • 17:16:49 <cedricziel> yes, if you access it, it will invoke the getter instead
  • 17:17:00 <cedricziel> debug doesnt show it, bc of the lazy prop
  • 17:17:38 <xaver__> mrboe: whats the difference? where is the fix with file links? i laso use f:page.link
  • 17:17:45 <Guest|52787> The file-collections are something that should make it into vhs. Any plans on that? Or already possible?
  • 17:18:12 <cedricziel> when we started fiddling with fal last year, it puked all over us in regular intervals :)
  • 17:18:37 <cedricziel> it's likely to happen, but atm we're all under full load-we'd appreciate _any_ help
  • 17:19:25 <xaver__> cedricziel: if you mean my problem. The link is a TYPO3 link and f viewhelper
  • 17:19:50 <cedricziel> and.. tbh.. fal usage rises, but is not at a critical level where we'd say we cant live without
  • 17:19:57 <cedricziel> nope, didnt mean you
  • 17:20:41 <Guest|52787> Indeed.. but seems like you can't get around it when upgrading to 6.2
  • 17:21:23 <cedricziel> we have some fal vh's with a cryptic syntax thx to danilobuerger
  • 17:21:36 <cedricziel> fiddling with it is not very thankful
  • 17:21:43 <cedricziel> (the fal)
  • 17:22:38 <Guest|52787> yep. I tried them but didn't manage to get them working like expected
  • 17:25:20 <BenjaminR> Joomla is a one big dirty hack / one foul apple!!!!
  • 17:25:50 <BenjaminR> Fucks me up!
  • 17:26:08 <cedricziel> no J-words please :)
  • 17:26:21 <BenjaminR> grrr ;)
  • 17:26:39 <BenjaminR> and every time i say i never take a joomla job again
  • 17:26:45 <BenjaminR> holy J...
  • 17:27:00 <cedricziel> you'll do when you have no other obligations :)
  • 17:27:45 <cedricziel> Ahh, Cash2m. Better :)
  • 17:28:02 <BenjaminR> when will joomla understand that what they call template engine isnt a template engine - its a big mess
  • 17:28:37 <cedricziel> dont they use plain html?
  • 17:28:48 <BenjaminR> yes!!!! and call it view!!!!
  • 17:28:53 <BenjaminR> aaaaah
  • 17:29:00 <cedricziel> i used it when they did the switch from mambo to the j name
  • 17:29:15 <BenjaminR> you are still up to date :P
  • 17:29:16 <cedricziel> but never got around that weird interface
  • 17:29:29 <cedricziel> seriously, that was the worst thing
  • 17:29:47 <cedricziel> i dont know how one could ever manage content in the backend
  • 17:30:51 <BenjaminR> but no week goes over without meeting people using it (happily - say say at least)
  • 17:30:58 <BenjaminR> :((
  • 17:31:42 <BenjaminR> okay... ive to proceed working with the view ;)
  • 17:31:57 * cedricziel whips BenjaminR
  • 17:32:05 <cedricziel> go faster!
  • 17:32:08 <cedricziel> :D
  • 17:32:13 <BenjaminR> it offers so much functionality. they made it possible that you can php without restrictions :D
  • 17:32:14 <BenjaminR> muahaha
  • 17:34:48 <Cash2m> okay, thanks for the help and the awesome job on the extensions guys. I even get used to IRC again :) have a nive evening
  • 17:35:19 <cedricziel> you too Cash2m, cya :)
  • 17:35:25 <cedricziel> come here anytime
  • 17:46:06 <xaver__> <flux:field.input name="target"><flux:wizard.link /></flux:field.input> <f:link.page pageUid="{target}"> -content "file: 320" fails in FE rendering
  • 17:52:35 <Denyerec> BenjaminR why on earth are you using Joomla?
  • 17:52:37 * Denyerec gets the hose
  • 17:54:46 * bjo3rn is getting all ears about that too
  • 17:54:53 <bjo3rn> ^^
  • 17:54:55 <BenjaminR> As i dont own a website with a cms myself the question is why the customer uses joomla not?
  • 17:54:56 <BenjaminR> :)
  • 17:55:13 <BenjaminR> and i cant answer it
  • 17:55:35 <bjo3rn> taunt him!
  • 17:55:39 <BenjaminR> i made propaganda for TYPO3, offered free introduction... seminars... but no!
  • 17:56:09 <BenjaminR> and as cedricziel pointed out "if there are no other obligations.." :D
  • 17:56:23 * Denyerec aims the hose
  • 17:56:26 <Denyerec> It's for your own good!
  • 17:56:28 <Denyerec> :D
  • 17:56:47 <bjo3rn> flush him good Denyerec
  • 17:57:12 <Denyerec> BenjaminR I am finally able to look at the code you pasted to me earlier.
  • 17:57:24 <Denyerec> I notice in other places arguements get registered
  • 17:57:30 <Denyerec> should I be copying that from elsewhere?
  • 17:57:33 <bjo3rn> "that kid needs some serious cooling. eat this!"
  • 17:57:37 <bjo3rn> hehe
  • 17:57:49 <bjo3rn> (sorry)
  • 17:58:13 <BenjaminR> registering arguments would be best practise yes
  • 17:58:22 <BenjaminR> but is done for tag based viewhelpers most times
  • 17:58:31 <BenjaminR> abstracttagbasedviewhelper thing
  • 17:59:05 <BenjaminR> You guys can book me again starting with Tuesday - first come first serve :)
  • 17:59:17 <Denyerec> hee
  • 17:59:43 <Denyerec> Ok, so the code you posted was just for { ... }
  • 17:59:54 <Denyerec> Lemme see if I can get xDebug set up.
  • 18:00:06 <BenjaminR> hm no its about the rendered result
  • 18:00:20 <BenjaminR> read: shall the output be a tag
  • 18:00:34 <Denyerec> Mnah, I see
  • 18:00:45 <Denyerec> So I'd have to put my HTML into the render function.
  • 18:01:04 <Denyerec> Or... no
  • 18:01:10 <Denyerec> Better to return something I can iterate
  • 18:01:16 <BenjaminR> which html?! :D
  • 18:01:22 <BenjaminR> no this vh only returns a queryresult
  • 18:01:25 <Denyerec> Well, I can' tjust dump a string out :)
  • 18:01:27 <BenjaminR> you can process it in fluid
  • 18:01:33 <Denyerec> Let me see if I can get xDebug set up
  • 18:01:36 <Denyerec> as that's going to help a lot here
  • 18:02:24 <BenjaminR> <f:for each="{xy:queryRepository(repositoryName: 'Tx_'}" as="object">
  • 18:03:29 <bjo3rn> BenjaminR may I ask what you are discussing here?
  • 18:03:48 <BenjaminR> bjo3rn i created a example vh for Denyerec quering any extbase repo
  • 18:03:50 <BenjaminR> in fluid
  • 18:03:58 <bjo3rn> aha
  • 18:04:13 <bjo3rn> for an fce?
  • 18:04:31 <BenjaminR> for whereever a viewhelper can be used :)
  • 18:04:34 <BenjaminR> sec
  • 18:04:51 <BenjaminR> https://gist.github.com/benjaminrau/3642d8e6c4a3e24c4e29
  • 18:05:19 <bjo3rn> ah, ok.
  • 18:06:44 <Denyerec> @var \TYPO3\GoMapsExt\Domain\Repository\AddressRepository
  • 18:06:57 <Denyerec> I am assuming that "AddressRepository" is the repo name ?
  • 18:07:02 <Denyerec> or do I need the whole path ?
  • 18:07:07 <BenjaminR> "TYPO3\GoMapsExt\Domain\Repository\AddressRepository"
  • 18:07:11 <Denyerec> I imagine I must, else you'd get collisions
  • 18:07:12 <Denyerec> yeah
  • 18:07:19 <BenjaminR> interesting vendorname
  • 18:07:46 <BenjaminR> the whole thing is the reponame
  • 18:08:11 <BenjaminR> not sure if it works without further processing with namespaces
  • 18:10:16 <Denyerec> I really need to fix my autocomplete
  • 18:10:18 <Denyerec> Right
  • 18:10:28 <Denyerec> Motherf...
  • 18:10:33 <Denyerec> Worked right off the bat
  • 18:10:49 <Denyerec> or did it
  • 18:12:59 <Denyerec> ok so
  • 18:13:03 <Denyerec> Could not analyse class.
  • 18:13:10 <Denyerec> So eithe rmy namespace is wrong
  • 18:13:14 <Denyerec> the filenme is wrong
  • 18:13:17 <Denyerec> the path is wrong
  • 18:13:22 <Denyerec> or something else is wrong
  • 18:13:50 <BenjaminR> weve to excape the backslashes
  • 18:13:57 <BenjaminR> try in fluid first
  • 18:13:58 <Denyerec> typo3conf/ext/albatemplate/Classes/ViewHelpers/QueryRepository.php
  • 18:14:06 <BenjaminR> TYPO3\\Test\\test
  • 18:14:07 <Denyerec> That's where I put it
  • 18:14:38 <BenjaminR> i think the error is about the repo class?
  • 18:14:49 <Denyerec> Yeah
  • 18:14:56 <BenjaminR> so escape the backslashes
  • 18:15:02 <Denyerec> does the file need to be called QueryRepositoryViewHelper.php ?
  • 18:15:04 <BenjaminR> http://forum.typo3.org/index.php?t=msg&goto=673744&
  • 18:16:03 <Denyerec> #1289386765: Could not analyse class:Tx_albatemplate_ViewHelpers_QueryRepositoryViewHelper maybe not loaded or no autoloader? (More information)
  • 18:16:10 <Denyerec> This is just it not being able to load/find the viewhelper
  • 18:16:17 <Denyerec> nothing to do with the \\'s
  • 18:16:54 <BenjaminR> Ah
  • 18:17:05 <BenjaminR> Alba needs to be uppercase
  • 18:17:09 <BenjaminR> first char
  • 18:17:20 <Denyerec> EVen tho the path isn't ?
  • 18:17:28 <BenjaminR> sure
  • 18:17:35 <BenjaminR> extensionname is uppercamelcase
  • 18:18:15 <Denyerec> class Tx_Albatemplate_ViewHelpers_QueryRepositoryViewHelper extends Tx_Fluid_Core_ViewHelper_AbstractViewHelper {
  • 18:18:24 <Denyerec> That's the Viewhelper class
  • 18:18:34 <Denyerec> {namespace sozu=Tx_Albatemplate_ViewHelpers}
  • 18:18:37 <Denyerec> That's the namespace I'm using
  • 18:18:52 <Denyerec> This is the call:
  • 18:18:53 <Denyerec> <f:for each="{sozu:queryRepository(repositoryName: 'TYPO3\\GoMapsExt\\Domain\\Repository\\AddressRepository')}" as="object">
  • 18:18:59 <BenjaminR> If you use a namespace your class has to be QueryRepsitoryViewhelper
  • 18:19:03 <BenjaminR> without the part before
  • 18:19:08 <BenjaminR> Tx_ is wihout namespaces
  • 18:19:14 <Denyerec> Ahhh
  • 18:19:22 <Denyerec> Ok so if i called it without a namespace
  • 18:19:29 <Denyerec> it wouldn't be sozu:myVierwhelper
  • 18:19:31 <Denyerec> what would it be ?
  • 18:20:09 <BenjaminR> i lost track
  • 18:20:22 <BenjaminR> decide to use namespaces or not at first
  • 18:20:43 <BenjaminR> you do...
  • 18:20:43 <BenjaminR> so
  • 18:20:57 <BenjaminR> add namespace in the viewhelper class on first line
  • 18:21:08 <BenjaminR> then class QueryRepositoryViewHelper extends....
  • 18:23:36 <Denyerec> Well, should everything be nanespaced?
  • 18:25:34 <Denyerec> I mean, the VHS ones aren't
  • 18:25:49 <BenjaminR> at least extension wide
  • 18:25:53 <BenjaminR> you use them or not
  • 18:26:08 <Denyerec> Is there any +/- ?
  • 18:26:16 <BenjaminR> many +
  • 18:26:18 <Denyerec> Seems like once you declare it, there's less typing :)
  • 18:26:22 <BenjaminR> Ask cedricziel :)
  • 18:26:54 <Denyerec> namespace TYPO3\Albatemplate\ViewHelper ?
  • 18:27:26 <BenjaminR> if you dont use them yet let them out for now
  • 18:27:38 <BenjaminR> because using namespace could also have some impact on the vh
  • 18:27:52 <BenjaminR> i am out for about 30 min
  • 18:27:58 <Denyerec> s
  • 18:27:58 <Denyerec> Ok
  • 18:28:03 <Denyerec> I will see how far I gegt.
  • 18:31:54 <MartinBless> Hi folks!
  • 18:35:08 <MartinBless> May I bump into the house with a question right away: It's totally cool to have this documentation at https://github.com/FluidTYPO3/documentation . It's a pity it is in markdown an not in ReST as used generally on docs.typo3.org. The question is: If I converted that documentation to ReST - would you welcome this?
  • 18:44:40 <Denyerec> NamelessCoder is the man you want.
  • 18:44:49 <Denyerec> I *think* the references are autogenerated.
  • 18:49:03 <BenjaminR> Or bjo3rn how is Documentation Manager :)
  • 18:49:07 <BenjaminR> *who
  • 18:49:32 <cedricziel> we considered ReST as well
  • 18:49:35 <cedricziel> no doubt
  • 18:49:58 <cedricziel> but we decided against it bc of the complexity and the extra rendering step
  • 18:50:31 <cedricziel> The question is: what advantage would we get with a ReST version?
  • 18:50:46 <cedricziel> @MartinBless
  • 18:51:06 <Denyerec> (If he says that he'll then finish writing the docs, allow him to proceed immediately)
  • 18:51:10 <Denyerec> #justSayin
  • 18:51:29 <Denyerec> Right - I've had some minor progress.
  • 18:51:35 <Denyerec> I don't get the exceptions anymore.
  • 18:51:38 <Denyerec> I just get a lot of this:
  • 18:51:39 <Denyerec> Argument "repositoryName" has already been defined, thus it should not be defined again
  • 18:51:44 <Denyerec> And some broken output.
  • 18:53:13 <BenjaminR> show me your vh
  • 18:53:27 <cedricziel> I need some sleep; cya
  • 18:54:32 <Denyerec> https://gist.github.com/Denyerec/07cb037c2e8f9e94c579
  • 18:54:40 <BenjaminR> bye ced
  • 18:54:59 <BenjaminR> remove registerargument
  • 18:55:16 <BenjaminR> lets try wihout before we build new bugs
  • 18:55:17 <floxx> danilobuerger: i cloned your fork of flux, now i get this fatal error: Call to undefined method FluidTYPO3\Flux\Core::addStaticTypoScript() in /html/typo3/typo3conf/ext/fluidpages/ext_localconf.php on line 8
  • 18:57:52 <cedricziel> floxx: you have to checkout the workbench/commands branch
  • 18:57:59 <floxx> ah ok
  • 18:58:21 <BenjaminR> Denyerec: you are using namespaces now?
  • 18:58:27 <BenjaminR> ive to fix objectmanager
  • 19:00:03 <Denyerec> It's odd...
  • 19:00:09 <BenjaminR> https://gist.github.com/benjaminrau/3642d8e6c4a3e24c4e29
  • 19:00:13 <Denyerec> My debugger is running, as if I tell i t to break on first time, it breaks
  • 19:00:24 <Denyerec> But it doesn't break on a breakpoint inside my VH...
  • 19:00:36 <BenjaminR> forget the vh if it takes you too much time..
  • 19:00:41 <BenjaminR> its untested as i stated
  • 19:00:53 <Denyerec> Well, as good a time as any to try it TH
  • 19:00:54 <Denyerec> TBH
  • 19:00:55 <Denyerec> #1: PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings::setStoragePageIds() must be of the type array, null given, called in /home/denyerec/clients/alba/htdocs/typo3conf/ext/albatemplate/Classes/ViewHelpers/QueryRepositoryViewHelper.php on line 96 and defined in /home/denyerec/src/typo3-6.2/typo3/sysext/extbase/Classes/Persistence/Generic/
  • 19:00:55 <Denyerec> Typo3QuerySettings.php line 185 (More information)
  • 19:01:51 <Denyerec> Ok so.
  • 19:02:01 <Denyerec> I'm not passing in a pid right now.
  • 19:02:06 <BenjaminR> Did you define a storage pid?!..
  • 19:02:10 <BenjaminR> answered...
  • 19:02:14 <Denyerec> I wasn't certain what it was for
  • 19:02:21 <Denyerec> (Storage folders etc)
  • 19:02:32 <Denyerec> I'm just looking for a record, so I was a little confused by the name
  • 19:02:42 <Denyerec> Also I wonderd if whether eavinlg it blank would return all
  • 19:02:43 <Denyerec> :*
  • 19:02:47 <BenjaminR> wait!
  • 19:02:59 <BenjaminR> untested and raw
  • 19:03:05 <BenjaminR> wouldnt have meant i have to give support on it :P
  • 19:03:47 <Denyerec> I passed this: storagePid: {0:1}
  • 19:03:50 <BenjaminR> see line 47 https://gist.github.com/benjaminrau/3642d8e6c4a3e24c4e29
  • 19:04:03 <BenjaminR> {1} should be enough
  • 19:04:10 <BenjaminR> think...
  • 19:04:18 <BenjaminR> anyway its optional now
  • 19:04:19 <BenjaminR> see gist
  • 19:04:31 <BenjaminR> https://gist.github.com/benjaminrau/3642d8e6c4a3e24c4e29/revisions
  • 19:05:12 <Denyerec> What IS that ?The storagePid I mean
  • 19:05:28 <BenjaminR> its how typo3 works
  • 19:05:42 <BenjaminR> records are placed in pages or folders
  • 19:05:43 <Denyerec> Don't suppose there's a document covering that anywhere ?
  • 19:05:53 <BenjaminR> storage pids are the scope where to look for records
  • 19:05:55 <Denyerec> But I'm trying to pull one one, not store somewhere.
  • 19:06:00 <Denyerec> Ah
  • 19:06:01 <Denyerec> Ok
  • 19:06:01 <BenjaminR> there is :)
  • 19:06:04 <BenjaminR> a document :)
  • 19:06:08 <BenjaminR> 200 pages :)
  • 19:06:23 <Denyerec> I am familiar with record storage pages etc.
  • 19:06:36 <BenjaminR> old but still good: http://docs.typo3.org/typo3cms/ExtbaseFluidBook/
  • 19:06:51 <Denyerec> But I foolishly assumed because I was loading the Repository for the Addresses that they'd all be in there
  • 19:06:59 <Denyerec> without having to tell it which page the records were located on
  • 19:07:11 <BenjaminR> yap there is also setignorestoragepid
  • 19:07:17 <BenjaminR> that is true now if you dont pass a storeagepid
  • 19:07:34 <BenjaminR> its all in there - just inspect the vh a bit
  • 19:07:47 <BenjaminR> only that way it was worth the work :)
  • 19:07:58 <BenjaminR> sorry to say :)
  • 19:08:40 <Denyerec> No, you're quite right
  • 19:08:51 <Denyerec> Any insight in to why my breakpoints don't trigger inside the VH tho ?
  • 19:09:01 <Denyerec> it'd be damn handy if I could use xDebug to investigate these things.
  • 19:09:13 <Denyerec> Also, what's the best way to debug vars from within PHP code in here?
  • 19:09:19 <Denyerec> var_dump and die() feels wrong.
  • 19:09:20 <BenjaminR> which breakpoints?
  • 19:09:29 <BenjaminR> i dont care about that when testing locally
  • 19:09:33 <BenjaminR> using die all time
  • 19:09:42 <BenjaminR> and Extbase DebuggerUtility
  • 19:09:44 <Denyerec> xDebug ones. I know xDebug is running as if I set "break on first time" it picks up.
  • 19:10:00 <Denyerec> But if I stick a BP inside my VH code, it never triggers,
  • 19:10:28 <Denyerec> And because now I have no errors and no output... that'd be kinda handy :)
  • 19:11:41 * Denyerec starts splurging vardumps all over the place
  • 19:12:18 <BenjaminR> i dont know xdebug
  • 19:12:22 <BenjaminR> cant help here
  • 19:14:50 <floxx> cedricziel: i checked out branch workbench/commands, now i get this error: Class 'FluidTYPO3\Flux\Service\RecordService' not found
  • 19:16:59 <floxx> i'll checkout development branch
  • 19:23:46 <floxx> dev brnach works… phew
  • 19:23:54 <mrboe> @xaver ping
  • 19:26:22 <xaver> mrboe: pong
  • 19:28:28 <mrboe> hey - in the ext:fluidbootstraptheme there are 3 Button elements ButtonGroup.html (old) ButtonLink.html (old) and Button.html (new)
  • 19:29:44 <mrboe> the two old butto elements are in there for people who updates fluidcontent_bootstrap and fluidcontent_core
  • 19:30:03 <mrboe> to fluidbootstraptheme
  • 19:30:37 <mrboe> but the buttons didnt work for me so i wrote a new one which is the Button.html
  • 19:31:52 <mrboe> here the link: https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/Button.html
  • 19:49:06 <xaver> mrboe: what i don't undersand, you are using the same viewhelper (regular links are working, only file fails)
  • 19:50:17 <mrboe> i check on mom
  • 19:52:30 <BenjaminR> fluidcontent_core to fluidbootstraptheme will hopefully never happen :)
  • 19:52:53 <BenjaminR> or??
  • 19:53:51 <mrboe> sure BenjaminR
  • 19:53:55 <mrboe> ;)
  • 19:54:03 <BenjaminR> you added core elements?
  • 19:54:17 <BenjaminR> or do you mean fluidpages_bootstrap
  • 19:54:23 <BenjaminR> irritated
  • 19:54:47 <mrboe> yes - it was a mistake :fluidpages_bootstrap
  • 19:54:57 <BenjaminR> puh - feel released :)
  • 19:55:23 <Denyerec> Hmm.
  • 19:55:27 <mrboe> but it would be nice to see your face when you read >> sure BenjaminR
  • 19:55:30 <Denyerec> Well that repository has returned.... something
  • 19:55:42 <Denyerec> object(TYPO3\CMS\Extbase\Persistence\Generic\QueryResult)[3088]
  • 19:55:51 <BenjaminR> mrboe - dont understand the last one
  • 19:56:02 <BenjaminR> Denyerec looks good
  • 19:56:09 <BenjaminR> use in f:for
  • 19:56:15 <Denyerec> Except... when I f:debug the as "object" I get nothing.
  • 19:56:28 <mrboe> @xaver i just checked the link function and it works for me
  • 19:56:59 <Denyerec> Ooh
  • 19:57:01 <Denyerec> Ok now I do
  • 19:57:52 <Denyerec> But I need to manipulate one of the fields pretty heavily
  • 19:58:05 <Denyerec> EG explode on commas, wrap in <spans> etc.
  • 19:58:17 <Denyerec> So I need to find out how to use that QueryResult in PHP
  • 19:58:18 <mrboe> @BenjaminR - i thought you felt like this http://www.comicsandmemes.com/wp-content/uploads/WTF-did-i-just-read-meme.jpg
  • 19:58:25 <Denyerec> so I can return an array of cleaned up addresses
  • 19:58:35 <Denyerec> then I can iterate just those out in Fluid.
  • 19:58:43 <Denyerec> makes no sense to do a bunch of data mangling in fluid, right ?
  • 19:58:43 <BenjaminR> Chan <3
  • 19:58:59 <BenjaminR> fx?
  • 19:59:05 <BenjaminR> could do in the vh
  • 19:59:23 <BenjaminR> but if its much it should be in the controller
  • 19:59:32 <Denyerec> It's just string manipulation
  • 19:59:33 <BenjaminR> you can add a controlleraction for every fce
  • 19:59:38 <Denyerec> not data manipulation
  • 19:59:50 <Denyerec> So I think in a VH is OK ?
  • 19:59:58 <Denyerec> It's probably possible in FLuid
  • 19:59:59 <BenjaminR> yap definitely - also in fluid
  • 20:00:08 <Denyerec> Basically I have a comma searated list
  • 20:00:14 <BenjaminR> v:format
  • 20:00:14 <Denyerec> I want to explode that to an array, then iterate it.
  • 20:00:29 <Denyerec> So I can dress it up correctly with markup.
  • 20:01:22 <Denyerec> I think if I do it with a bunch of regex's it's going to end up terribly obfuscated
  • 20:01:27 <Denyerec> May as well write it in Perl... ;)
  • 20:01:29 <mrboe> @xaver if you still have problems please report a bug https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/issues?state=open
  • 20:02:04 <mrboe> here are some information about testet versions https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/releases/tag/v.0.6.0
  • 20:02:35 <BenjaminR> Deny: do it in the or another vh then
  • 20:54:04 <GRIMMCREATIVE> http://fluidtypo3.org/5.2.Gitworkflow link is dead
  • 21:17:23 <mrboe> @Denyerec online?
  • 21:18:08 <Denyerec> lo
  • 21:19:33 <mrboe> do you have time for a short phpstorm test
  • 21:19:58 <Denyerec> sure
  • 21:20:01 <Denyerec> Tho
  • 21:20:03 <mrboe> ok
  • 21:20:05 <Denyerec> do I hav eto update all my extension ?
  • 21:20:10 <Denyerec> as I reall don't want to right now
  • 21:20:17 <Denyerec> I am too worried things will break
  • 21:20:41 <mrboe> remove teh schemas in your project settings
  • 21:20:52 <mrboe> for first step
  • 21:21:37 <Denyerec> done
  • 21:22:27 <mrboe> now use the first part in our template https://gist.github.com/misterboe/8035e23a497fabe5aaf0
  • 21:22:44 <mrboe> when you paste it into
  • 21:22:59 <mrboe> klick the cursor into the first url
  • 21:23:09 <mrboe> of v:
  • 21:23:16 <mrboe> v=
  • 21:23:34 <mrboe> then press alt+enter
  • 21:23:46 <mrboe> and choose "fetch frm url"
  • 21:24:03 <mrboe> do that with v and flux
  • 21:24:23 <Denyerec> Fetch External Resource
  • 21:24:25 <mrboe> than remove the "div" and use the second block
  • 21:24:27 <mrboe> yes
  • 21:24:33 <mrboe> fetch
  • 21:25:03 <mrboe> now my autocomplete is working with flux / vhs / fluid
  • 21:25:15 <Denyerec> Ugh
  • 21:25:20 <Denyerec> I accidentally clicked "ignore"
  • 21:25:22 <Denyerec> how do I unignore
  • 21:26:23 <Denyerec> You want me using the first header or the second btw ?
  • 21:26:34 <mrboe> for fetching
  • 21:26:36 <mrboe> the first
  • 21:26:43 <mrboe> for production
  • 21:26:47 <mrboe> the second
  • 21:26:57 <Denyerec> I need to figure out how to unignore it
  • 21:26:59 <mrboe> can u understand
  • 21:27:07 <mrboe> unignore is in preferences
  • 21:27:14 <mrboe> schemas
  • 21:27:17 <mrboe> ignored
  • 21:27:17 <Denyerec> Yep
  • 21:27:18 <Denyerec> got it
  • 21:27:42 <Denyerec> I can't fetch the fluid one
  • 21:27:51 <Denyerec> Flux and VHS worked
  • 21:27:51 <mrboe> dont need fluid
  • 21:28:08 <mrboe> fluid works without the file fetch
  • 21:28:12 <Denyerec> I beg to differ
  • 21:28:18 <Denyerec> I get no autocompletion with fluid.
  • 21:28:32 <Denyerec> I get no flux autocomplete eihter.
  • 21:28:34 <mrboe> restart phpstorm
  • 21:29:01 <mrboe> and you now have the second block in there?
  • 21:29:13 <mrboe> first block is only to fetch
  • 21:29:45 <mrboe> then replace with the second
  • 21:31:15 <Denyerec> Ohhh
  • 21:31:18 <Denyerec> yah!
  • 21:31:30 <Denyerec> I get no completion for Fluid though
  • 21:32:12 <mrboe> the other works?
  • 21:32:14 <Denyerec> And they all light up as "this namespace is not registered"
  • 21:32:16 <Denyerec> Flux works
  • 21:32:46 <Denyerec> Vhs works
  • 21:33:20 <mrboe> ok - there not worked bevore
  • 21:33:21 <mrboe> or?
  • 21:34:09 <mrboe> another thing i dont know - actually i pionted to the "master" xsd of flux and vhs
  • 21:34:19 <Denyerec> I ccan't recall mrboe
  • 21:34:25 <Denyerec> I just know I can't fetch fluid
  • 21:34:26 <Denyerec> http error
  • 21:34:30 <Denyerec> and so I hav eno AC for it
  • 21:34:58 <Denyerec> I can point it locally at an XSD I have from,... you I think.
  • 21:34:59 <mrboe> here you see that there are "dev" versions http://fluidtypo3.org/schemas/
  • 21:35:00 <Denyerec> Then it works
  • 21:35:31 <mrboe> thry to fetch the fluid fromt the url: http://fluidtypo3.org/schemas/
  • 21:35:42 <mrboe> fluid-master.xsd
  • 21:35:52 <Denyerec> and just save that to my HD locally
  • 21:35:56 <Denyerec> rather than using the fetch ?
  • 21:36:15 <Denyerec> I think that's what I have already set up
  • 21:36:42 <Denyerec> Well... I have more AC now that I ever have ;)
  • 21:36:51 <mrboe> no we used old urls
  • 21:36:58 <mrboe> fedext ....
  • 21:37:13 <mrboe> now we used the "actually" one
  • 21:37:46 <mrboe> ... im wondering because for the fluid i dont need any file on my HDD
  • 21:37:53 <mrboe> and all works fine
  • 21:40:52 <Denyerec> Hm,m
  • 21:40:54 <Denyerec> :(
  • 21:40:55 <Denyerec> brb
  • 21:47:04 <mrboe> @Denyerec i just found a fluid-master.xsd on my HDD
  • 21:47:23 <mrboe> that should be the reason why it works for me
  • 22:04:51 <mrboe> good night
  • 22:12:20 <soee> someone had such error: net::ERR_CONTENT_LENGTH_MISMATCH ?
  • 22:13:09 <soee> ok googled http://forum.typo3.org/index.php/t/202865/-typo3-english-typo3-6-2-and-content-length-mismatch-error
  • 22:14:08 <soee> looks like thgers no nice fox for this
  • 22:36:58 <bjo3rn> soee?
  • 22:39:52 <bjo3rn> should you still look for a solution: this is caused by vhs' assets and is fixed in the current dev branch.
  • 22:41:26 <soee> bjo3rn: yeah thoughts so
  • 22:42:03 <bjo3rn> I assume you are using 1.8.5 from ter?
  • 22:42:16 <bjo3rn> if so, please try the dev branch
  • 22:44:02 <soee> bjo3rn: yes, im tryign to use TER as this project must bo online next month
  • 22:44:37 <bjo3rn> then you can fix it in the meantime by disabling the contentLength header via typoscript
  • 22:49:59 <bjo3rn> config.enableContentLengthHeader = 0
  • 22:51:09 <soee> the dev version of vhs uses namespaces or something and teh vhs namespace should be called diffeent way ?
  • 22:51:20 <soee> i have this : Could not analyse class:Tx_Vhs_ViewHelpers_Page_Content_RenderViewHelper maybe not loaded or no autoloader?
  • 22:52:53 <bjo3rn> no, dev is not namespaced
  • 22:53:27 <bjo3rn> ah, that one is relocated
  • 22:53:44 <bjo3rn> it's v:content.render now
  • 22:54:00 <soee> -.-
  • 22:54:07 <soee> let me check provider ext
  • 23:00:47 <soee> hmm
  • 23:01:09 <soee> i have replaced old one and same error
  • 23:01:29 <soee> o wait next one
  • 23:04:56 <soee> wahst now with :Tx_Vhs_ViewHelpers_Iterator_ContainsViewHelper ?
  • 23:07:43 <bjo3rn> hehe. that's now v:if.iterator.contains
  • 23:25:49 <soee> ok fixed
  • 23:26:02 <soee> now i have to increase version dependency to 2.0 of vhs :)
  • 23:28:28 <bjo3rn> I'm pretty sure there will be a bugfix release soon ;)
  • 23:32:29 <Denyerec> How well does fluidtypo3 work with workspaces and languages?
  • 23:32:30 <FT3BOT> Welcome back Denyerec!
  • 23:34:01 <soee> is there some known issues with fal support in dev version ?