IRC logs

20140516

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

IRC log range: 20140516*

20140516

  • 08:23:48 <jlumpe> morning o>
  • 08:33:10 <Denyerec> Mornin all
  • 08:40:12 <jlumpe> sup Denyerec
  • 08:40:52 <Denyerec> Jus ttrying to find out details on how i interact wiht a returned repository query object
  • 08:41:02 <Denyerec> I looked at the API, but that wasnt very beginner-level :)
  • 08:41:45 <jlumpe> Denyerec: how about var_dump(get_class_methods($repo))
  • 08:41:45 <jlumpe> that might give you some insight
  • 08:41:45 <jlumpe> in general
  • 08:41:45 <jlumpe> you have a findAll() method
  • 08:41:45 <jlumpe> and
  • 08:41:45 <jlumpe> findBy* methods
  • 08:41:45 <jlumpe> where * equals a property of the model (column in the table)
  • 08:41:49 <jlumpe> for example
  • 08:41:51 <jlumpe> findByUid
  • 08:42:32 <jlumpe> i assume you are struggling with settings constraints on the query object?
  • 08:42:39 <Denyerec> I have the result obj.
  • 08:42:45 <jlumpe> ah you already have you results
  • 08:42:45 <jlumpe> ok
  • 08:42:54 <Denyerec> I need to know how to get the goodies out :)
  • 08:43:09 <Denyerec> a vardump was confusin to say te least
  • 08:43:15 <jlumpe> ha
  • 08:43:16 <jlumpe> nono
  • 08:43:20 <Denyerec> lots of abstraction
  • 08:43:23 <jlumpe> nevr ever var dump an extbase object
  • 08:43:27 <Denyerec> lol
  • 08:43:28 <Denyerec> :)
  • 08:43:31 <jlumpe> use the debug utility :)
  • 08:43:40 <Denyerec> I see that now...
  • 08:43:47 <Denyerec> debug utility?
  • 08:43:50 <jlumpe> add this
  • 08:44:24 <jlumpe> \TYPO3\CMS\Extbase\Utility\DebuggerUtility::debug($obj);
  • 08:44:31 <jlumpe> ups sorry
  • 08:44:39 <jlumpe> \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($obj);
  • 08:44:43 <jlumpe> this line
  • 08:44:53 <jlumpe> then you should see a nicely ormattet view of your object :)
  • 08:44:56 <Denyerec> can add that namespace to the file?
  • 08:45:01 <jlumpe> yep
  • 08:45:08 <jlumpe> i use this
  • 08:45:10 <jlumpe> use \TYPO3\CMS\Extbase\Utility\DebuggerUtility as DU
  • 08:45:13 <Denyerec> otherwise that's a lot of typing ;)
  • 08:45:13 <jlumpe> DU::var_dump()
  • 08:45:20 <Denyerec> sweet
  • 08:45:38 <Denyerec> once the baby is sleeping again I'll get to it!
  • 08:45:48 <jlumpe> :D
  • 08:48:19 <Denyerec> tho I have a shoot to prep for tomorrow, so i might have to wait :(
  • 08:48:44 <Denyerec> why do i always feel like coding when theres no time to code!
  • 08:50:40 <jlumpe> oh coding isn't your main job?
  • 08:51:06 <Denyerec> I do... many things :)
  • 08:51:18 <Denyerec> I'm new to this level of coding within Typo3 tho.
  • 08:51:25 <Denyerec> Complete Extbase novice.
  • 08:54:14 <jlumpe> i'm an extbase novice too ;)
  • 08:54:47 <Denyerec> I guess that puts me on the rank below novice then :D
  • 08:57:19 <jlumpe> lol
  • 08:58:25 <Denyerec> I keep failing to make time to go through the blog example
  • 09:07:50 <jlumpe> oh i didn't even look at that
  • 09:08:40 <jlumpe> i just dove into it
  • 09:09:03 <jlumpe> but i might take a look at it :9
  • 09:44:42 <cedricziel> hey peeps
  • 09:45:03 <cedricziel> i'll be throwing canon balls at pidgeons today
  • 09:45:10 <cedricziel> great feeling :P
  • 09:45:56 <mrboe> hey cedricziel
  • 09:46:38 <jlumpe> cedricziel: you'll throw them by hand? ha :D
  • 09:47:01 <cedricziel> i'll develop a magician algorithm to throw them :)
  • 09:47:43 <jlumpe> :D
  • 09:49:11 <cedricziel> da kommt langsam leben in die Bude hier :)
  • 09:50:29 <cedricziel> who of you will be in Stuttgart next weekend?
  • 09:52:02 <mrboe> random and me are still on the "warteliste"
  • 09:52:19 <mrboe> dont think that we gets some cards
  • 09:52:24 <cedricziel> lets hope for the best :)
  • 09:53:04 <mrboe> but we get an offer to send sms inside to get something from the buffet
  • 09:55:36 <jlumpe> what's in stuttgart?
  • 09:55:42 <jlumpe> t3 dev weekend or something?
  • 09:55:54 <cedricziel> camp, yes
  • 09:55:57 <jlumpe> ah
  • 09:57:17 <cedricziel> mrboe: if it's not too far away from yours, you can get there and we'll manage to get you an apetizer
  • 09:57:32 <cedricziel> (and some smalltalk as well :) )
  • 09:57:49 <mrboe> its about 1h
  • 09:58:02 <mrboe> not really far
  • 09:58:36 <mrboe> i will ask random to come with me
  • 10:07:54 <Guest|39918> Hey Guys, i use TYPO3 6.2.2 and fluid etc. If visit my page the first time its not completely builded up. Now i press f5 and i get f. e. one more Navigationpoint. Press f5 again, i get one more content element. What is going on? Typo3 bug or Fluid?!
  • 10:10:17 <cedricziel> Hard to tell. Is it a public project?
  • 10:10:54 <mrboe> @Guest|39918 wich browser do you use
  • 10:12:05 <mrboe> @cedricziel i thougt this sounds like the problem with the "content header length"
  • 10:13:32 <cedricziel> chrome
  • 10:13:41 <cedricziel> hmm, could be
  • 10:14:21 <mrboe> @Guest|39918 try to set this in your TS: config.enableContentLengthHeader = 0
  • 10:15:44 <Denyerec> jlumpe, I keep trying to dive in, but it feels like a swimming pool someone's drawn on the ground :)
  • 10:16:06 <jlumpe> lol
  • 10:20:19 <Guest|39918> the problem is in every browser... the site is not published yet. its not only the header. The problem is in the content section and footer section too
  • 10:20:44 <Guest|39918> I dont know... i have some projects which are really bad in performance too... Is my code bad? Or are some bugs known with 6.2.2?
  • 10:22:28 <cedricziel> one problem at a time
  • 10:22:39 <cedricziel> did you try to disable content length as suggested?
  • 10:32:13 <mrboe> @cedricziel is it right that the first version of teh "div" is outdated? https://gist.github.com/misterboe/2d9a948a443b9d402c78
  • 10:32:32 <mrboe> and should be like the second one?
  • 10:33:32 <Denyerec> mrboe ever since yesterday I am getting this now :
  • 10:33:40 <Denyerec> #1224241246: Namespace identifier "v" is already registered. Do not re-declare namespaces! (More information)
  • 10:33:49 <Denyerec> Seems I can't have any xmlns declarations
  • 10:33:51 <Denyerec> if I do, it breaks.
  • 10:34:05 <Denyerec> if I remove this one : {namespace v=Tx_Vhs_ViewHelpers} then it says it can't parse the file.
  • 10:34:20 <mrboe> yes - i dont understand
  • 10:34:24 <mrboe> sorry Denyerec
  • 10:34:35 <Denyerec> :S
  • 10:34:50 <mrboe> im trying to get that working since yesterday
  • 10:44:25 <cedricziel> mrboe: bjo3rn can tell you more, he had a similar case some days ago
  • 10:44:27 <Denyerec> if I have a VH that returns a generic QueryResult and I want to do some more processing of that, should I make another custom VH that takes a generic query result as an input & mangle it in there ?
  • 10:44:29 <cedricziel> in general, this is considered to be a bad idea
  • 10:45:01 <cedricziel> as far as we stretch the concepts of V in MVC, i simply dont like querying directly in the view layer.
  • 10:45:38 <Denyerec> Hmm.
  • 10:45:39 <cedricziel> I suggest you to use a realization of ContentController or PageController to handle it in a Controller and there assign it to the view
  • 10:45:52 <cedricziel> that's my 2 cts
  • 10:45:52 <Denyerec> Well, what I have is the need to output 3 addresses, stored as records in an extbase extension.
  • 10:46:10 <Denyerec> Initially I used resource.record to pull them direct
  • 10:46:21 <Denyerec> Then benjaminr suggested a VH
  • 10:46:33 <Denyerec> I've never written a VH before, so he kindly helped me with a skeleton
  • 10:47:23 <Denyerec> So for example, it's the same as when you say "I want content element X rendered in the sidebar"
  • 10:47:28 <Denyerec> you do that from the view, right ?
  • 10:47:38 <Denyerec> I want Address Y rendered in the footer.
  • 10:47:54 <Denyerec> The only difference, is I need to define the rendering, as the address is stored as a comma separated list.
  • 10:48:09 <Denyerec> (And I need to dress it up with html)
  • 10:48:17 <Denyerec> Make sense?
  • 10:52:30 <cedricziel> do what you like to do :) you can use a queryresultinterface to iterate over your records, yes
  • 11:03:19 <Denyerec> Well, I guess what I'm asking is "what's the right thing to do"
  • 11:03:19 <Denyerec> I could obviously write a 10000 line procedural function in a viewhelper that pretends to be an extension - it would be a bad idea ;)
  • 11:03:19 <Denyerec> BUT, I am just trying to pull 3 address records :)
  • 11:03:20 <cedricziel> then my answer is: you're doing it wrong but It'll do the trick :)
  • 11:03:21 <Denyerec> So, if I want to pull records (Based on a supplied ID, or perhaps all records of a particular type) what is the correct way ?
  • 11:03:21 <Denyerec> Say in my template I want to say"Render Address 58 here"
  • 11:03:21 <Denyerec> or
  • 11:03:21 <Denyerec> "Render a list of all addresses"
  • 11:03:21 <cedricziel> a controller action which invokes a repository method and assigns the result to the view
  • 11:03:21 <Denyerec> The tutorial for which can be found...
  • 11:03:21 <Denyerec> (Or suitably simple example)
  • 11:03:21 <matt_b> (lol!)
  • 11:03:21 <Denyerec> cedricziel wouldn't that mean that the address repo ends up initialised on every page
  • 11:03:22 <Denyerec> regardless of whether they're rendered or not ?
  • 11:03:22 <cedricziel> matt_b: ?
  • 11:03:22 <Denyerec> http://docs.typo3.org/typo3cms/ExtbaseFluidBook/7-Controllers/1-Creating-Controllers-and-Actions.html
  • 11:03:22 <Denyerec> I think he was laughing at the notion of a tutorial existing.
  • 11:03:22 <matt_b> yeah - sorry . Feeling Denyerec's pain
  • 11:03:22 <cedricziel> Denyerec: are you using it in a page template, or in a content template (fce)?
  • 11:03:22 <Denyerec> So, VH's are really supposed to interact with data already in the view.
  • 11:03:22 <Denyerec> In this case it's a page template cedricziel
  • 11:03:23 <cedricziel> oh hey SuburbanWorrier :)
  • 11:03:31 <SuburbanWorrier> hi - thought that may help
  • 11:03:40 <cedricziel> so you'd need it on every page the specific layout is selected for
  • 11:03:50 <Denyerec> Again in this case, yes.
  • 11:03:56 <Denyerec> (For a CE, obviously not)
  • 11:04:14 <cedricziel> you would then-correctly done-use a controller method which is only invoked when you actually render the specific layout
  • 11:04:27 <cedricziel> which is what those controllers were built for
  • 11:04:35 <Denyerec> Ok...
  • 11:04:46 <Denyerec> I'm looking at the controller from the go_maps_ext extension
  • 11:04:49 <Denyerec> which is extbase based
  • 11:04:58 <Denyerec> and is actually responsible for creating these address records in the first place.
  • 11:05:00 <cedricziel> if you fear the injection of a repository, dont. but you could do it nevertheless manually
  • 11:05:09 <cedricziel> maybe, yes
  • 11:05:19 <cedricziel> it really depends
  • 11:05:26 <Denyerec> I wouldn't know where to inject a repository to fear it.
  • 11:05:30 * Denyerec only fears suppositories
  • 11:05:39 <cedricziel> if you do it via the tceforms backend thing, there's no extbase candies
  • 11:06:09 <cedricziel> if you can interact with it from a scheduler task, or a fe plugin, there's most likely a domain model with a suitable repository
  • 11:06:25 <Denyerec> Well this extension has a /domain/ folder
  • 11:06:31 <Denyerec> but you're really 10 steps ahead of my understanding here :/
  • 11:06:48 <Denyerec> I'm currently reading the extbase book "Controlling the flow" chapter.
  • 11:08:49 <Denyerec> But I gotta be honest - I'm completely confused.
  • 11:09:00 <Denyerec> It seems like , with any PHP, I can get it working, but in a totally incorrect fashion
  • 11:09:05 <cedricziel> okay, make a decision-now.
  • 11:09:15 <Denyerec> And "The right way" seems horrendously obscure righ tnow.
  • 11:09:15 <cedricziel> i'll happily guide you through the basics
  • 11:09:44 <cedricziel> but, if you're happy with the vh, i can accept that and we'll postpone that to an evening of your choice
  • 11:10:00 <Denyerec> I think the baby will decide when anything happens - I fear the gremlin has woken.
  • 11:10:09 <cedricziel> hehe
  • 11:10:10 <Denyerec> Well I'm not happy doing something the wrong way.
  • 11:10:15 <cedricziel> happy diaper time :)
  • 11:10:23 <Denyerec> So I'd rather learn how the action controll stuff fits together.
  • 11:10:54 <cedricziel> okay, ping me whenever you like, and when i have 20 minutes spare time, we'll go trhough it
  • 11:11:04 <SuburbanWorrier> I'm really struggling with the same stuff as Denyerec - despite reading _everything_ out there
  • 11:11:07 <Denyerec> OK Great
  • 11:11:14 <Denyerec> I'll go rinse the shit off the baby
  • 11:11:27 <cedricziel> SuburbanWorrier: have you tried the flow documentation?
  • 11:11:30 <Denyerec> Entertain her for 5 hours, hopefully she'll then go back to sleep so I can revisit this
  • 11:11:43 <SuburbanWorrier> no in the fear that it'll confuse me even more
  • 11:11:48 <cedricziel> extbase docs are shit
  • 11:12:04 <cedricziel> the flow documentation is really nice at explaining the concepts
  • 11:12:28 <cedricziel> just dont confuse Extbase as a framework with FT3 templating too much
  • 11:12:50 <cedricziel> wait, i'll pick some interesting chapters for extbase starter read
  • 11:13:19 <SuburbanWorrier> ok thnx, I'll take a look. The templating part isn't too bad for me - it's what/where are the sql statements made
  • 11:13:57 <SuburbanWorrier> ...relationship between tca files and models (& repositories)
  • 11:14:09 <cedricziel> 1st: Domain Driven Design - the Object Part is what's used in Extbase / Flow: http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartI/ConceptsOfModernProgramming.html
  • 11:14:31 <Denyerec> I think that's the mistake Ive been making... looking at the extbase docs not the flow ones
  • 11:14:47 <cedricziel> 2nd: Short overview on the DDD attempts in Extbase/Flow http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartII/Modeling.html
  • 11:15:27 <cedricziel> The important part is to understand what an AggregateRoot is and what a Repository is, and when it's needed
  • 11:15:49 <cedricziel> This continues here: http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartII/ModelAndRepository.html
  • 11:16:27 <cedricziel> Keep your brain from reading the ORM Annotations, that's doctrine stuff we dont have in the castrated Extbase ORM
  • 11:16:45 <Denyerec> People who use it seem to love it, so when this "clicks" I expect heavenly music and beams of light.
  • 11:17:16 <Denyerec> brb - gremlin duty
  • 11:17:26 <Denyerec> thanks cedricziel, I will pin gyou later !! "%R"r5
  • 11:17:27 <FT3BOT> Welcome back Denyerec!
  • 11:17:47 <cedricziel> When you have a basic understanding of "What's a domain model, how can it look like, and how can i theoretically query this thing", you can continue to read about controllers: http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartII/Controller.html
  • 11:18:18 <cedricziel> Dependency injection works a little different in Extbase, so there may be some googling involved
  • 11:19:27 <cedricziel> now and then, you should take a look into Georg Ringers News Extension. It has both a complex and a simple part: https://github.com/georgringer/news
  • 11:19:49 <cedricziel> but it has examples for almost anything you'll read about in the chapters i tell you about
  • 11:20:12 <cedricziel> There's one thing you should note when looking into this:
  • 11:20:40 <cedricziel> Georg uses Tx_.... class names instead of php namespaced classes
  • 11:21:00 <cedricziel> you can only use one of those patterns in your extension.-mind that!
  • 11:21:39 <SuburbanWorrier> this is the difference between TX_word_another_yetmore & Word\another\yetmore syntax?
  • 11:21:45 <cedricziel> The view chapter brings it all together and shows you how data flows from the persistence layer through the controller ionto the view: http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartII/View.html
  • 11:21:53 <cedricziel> yes, exactly
  • 11:22:11 <cedricziel> the first variant (Tx_iuli) is a custom method of namespacing
  • 11:22:50 <cedricziel> you can only use "real namespaces" with php > 5.2 and typo3 6.x
  • 11:22:59 <SuburbanWorrier> ...and I'm right in discarding _any_ docs with references to pi stuff - that's old skool right?
  • 11:23:10 <cedricziel> definately!
  • 11:23:29 <SuburbanWorrier> ok - thnx
  • 11:23:33 <cedricziel> if you only program for the frontend, you can completely forget about that kind of stuff
  • 11:23:47 <SuburbanWorrier> we still totally need tca stuff tho?
  • 11:24:21 <cedricziel> if you need to have hooks on records in the backend you're screwed with extbase as this is TCA and $GLOBALS land (though you can grab extbase stuff when you manually bootstrap it)
  • 11:24:45 <SuburbanWorrier> oooh! (totally over my head)
  • 11:25:09 <cedricziel> you'll get into it when you need it :)
  • 11:25:16 <SuburbanWorrier> I'll go read - 1000x thanks for the reading list
  • 11:25:36 <cedricziel> no problem, come back when you're thirsty for more, there's more fish :)
  • 11:26:47 <SuburbanWorrier> is there something (an extension?) I can use to view an Extbase object (other than f:debug in the F.end)?
  • 11:27:45 <jlumpe> SuburbanWorrier
  • 11:27:49 <jlumpe> DebugUtility
  • 11:28:02 <cedricziel> in a controller, yes
  • 11:28:20 <jlumpe> \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($obj);
  • 11:28:35 <cedricziel> DebugUtility::var_dump($object,$titleString,$depth)
  • 11:28:36 <cedricziel> or so
  • 11:29:06 <cedricziel> my IDE does it for me, i only ever have to type "Debug" :P
  • 11:29:11 <jlumpe> haha
  • 11:29:19 <jlumpe> i "use" it
  • 11:29:21 <SuburbanWorrier> k - your IDE being?
  • 11:29:46 <jlumpe> sublimetext :D
  • 11:29:56 <jlumpe> i don't have autocompelte etc ;/
  • 11:30:07 <cedricziel> Jetbrains things. most people use PhpStorm and its _the thing_, but i switched to IntelliJ IDEA as I need more than PHP ;)
  • 11:30:59 <cedricziel> IntelliJ offers all languages as plugins (like ecplise does), which they distribute as standalone products.
  • 11:31:10 <SuburbanWorrier> thanks - I'm swapping between NetBeans and Sublime (for the multiple cursors! :-))
  • 11:31:21 <cedricziel> (and yes, i think you should use an IDE which is not Eclipse ;) )
  • 11:31:35 <SuburbanWorrier> I'll install the PHPStorm trial
  • 11:31:49 <cedricziel> good thing :)
  • 11:32:19 <jlumpe> i really hope we'll get a good autocompletion/introspection for sublime text at some point :)
  • 11:32:19 <cedricziel> the "multiple plugins thing" is only offered in IntelliJ Ultimate Edition. The community edition only works with java.
  • 11:33:13 <mrboe> @SuburbanWorrier if you install PHPStorm and want to use Autocompletion be sure to have some tranquilizers
  • 11:33:23 <SuburbanWorrier> I've found Sublime wanting to autocomplete for me on occasion
  • 11:33:33 <SuburbanWorrier> @mrboe - ta, I'll bear it in mind
  • 11:33:45 <jlumpe> SuburbanWorrier: yeah there are some extension for it, but the're not great
  • 11:33:57 <jlumpe> mrboe: doesn't it work well?
  • 11:34:15 <mrboe> i got it running all the time
  • 11:34:36 <mrboe> but since two days i want to update my XSD files
  • 11:34:41 <mrboe> and all is gone
  • 11:36:25 <mrboe> @jlumpe does it work for u ?
  • 11:39:40 <jlumpe> mrboe: i don't use phpstorm :)
  • 12:16:28 <aPollO2k> hallo welt
  • 12:22:41 <bjo3rn> SuburbanWorrier iirc multiple cursors are announced for phpstorm (which make me switch to sublime also from time to time ;) )
  • 12:22:59 <bjo3rn> mrboe about that ac issue...
  • 12:23:17 <bjo3rn> it seems to have something to do with the identifiers
  • 12:23:36 <bjo3rn> I haven't fully understood it yet myself :S
  • 12:23:51 <mrboe> i actually found a way to get it working
  • 12:24:00 <mrboe> but dont know if thas a good way
  • 12:24:31 <bjo3rn> how?
  • 12:24:39 <mrboe> one sec
  • 12:24:43 <bjo3rn> how?
  • 12:24:45 <bjo3rn> ^^
  • 12:24:52 <bjo3rn> how?
  • 12:24:58 <bjo3rn> =)
  • 12:26:39 <mrboe> https://github.com/misterboe/phpstormAC
  • 12:27:07 <mrboe> if take the template
  • 12:27:30 <mrboe> and drop the XSD files into any folder of the "project" the AC works
  • 12:27:36 <mrboe> also the BE and FE works
  • 12:27:53 <bjo3rn> no need to register them in phpstorm?
  • 12:27:58 <mrboe> no
  • 12:28:03 <mrboe> delete all in schemas
  • 12:28:19 <mrboe> aut have a look
  • 12:28:27 <mrboe> my xsd files are edited
  • 12:28:49 <mrboe> the flux and the vhs
  • 12:28:57 <mrboe> the url inside is also switched
  • 12:29:57 <bjo3rn> ok, thx. I'll test it
  • 12:30:15 <mrboe> ok thx - please report me if it works
  • 12:30:22 <bjo3rn> will do
  • 12:30:54 <mrboe> all other tries with working AC lead to >> Namespace identifier "v" is already registered
  • 12:32:23 <mrboe> here i found an post about that, i think this might be the reason why the AC doesnt work as it sould http://typo3.helmut-hummel.de/post/85031122475/xml-schema-auto-completion-in-phpstorm
  • 12:33:15 <mrboe> i think it could be a problem that the URL's like http://typo3.org/ns/fluid/ViewHelpers has no content
  • 12:36:32 <SuburbanWorrier> bjo3rn: thanks for the heads up. Checking out PhpStorm now
  • 13:04:43 <Guest|39918> hi, if i have contents which are translated and put them in a flux/fluid box they will be hidden.
  • 13:05:47 <Guest|39918> So there are problems in the database with the flux_parent and children
  • 13:05:53 <Guest|39918> are there some known bugs?
  • 13:07:31 <Guest|39918> and its not able to delete these contents
  • 13:07:36 <Guest|39918> *possible
  • 13:27:37 <randomresult> hi all
  • 13:30:17 <jlumpe> ho
  • 13:30:44 <benjamin_654> hi
  • 13:31:10 <benjamin_654> Guest|39918: you can look here if its a known bug: https://github.com/FluidTYPO3/flux/issues?direction=desc&sort=created&state=open
  • 13:34:12 <SuburbanWorrier> cedricziel: to whom should I address fixing typos in the docs you suggested earlier?
  • 13:36:26 <benjamin_654> Guest|39918: If its something new, please open a issue with the information which versions typo3/flux, what values are wrong in the database and the steps that brought you there..
  • 13:55:58 <dokma> Got a simple domain Conversation, Message, Visitor, Administrator for a visitor support AJAX chat with angularjs
  • 13:56:27 <dokma> just started learning Fluid and extbase so I can't wrap my head around how I am supposed to persist my messages
  • 13:56:59 <dokma> I've managed to get the chat gui to show a Conversation single view that contains Message List view and New view
  • 13:57:11 <dokma> so now I can submit a Message with angular
  • 13:57:32 <dokma> but I don't know how to persist this to the DB
  • 14:00:20 <dokma> using Typo3 6.1.7 here
  • 14:00:40 <dokma> Fluid 6.1.0
  • 14:01:15 <dokma> Extbase 6.1.0
  • 14:02:30 <dokma> a message for now is just a string
  • 14:15:21 <mrboe> @bjo3rn there was a wrong URL please check https://github.com/misterboe/phpstormAC
  • 14:17:50 <cedricziel> coolio :)
  • 14:26:25 <Guest|39918> okay benjamin_654 i keep on looking for this issue
  • 14:37:15 <Guest|39918> i m going to get crazy... i made a content box with fluid and i try to put a news plugin inside the box
  • 14:37:35 <Guest|39918> if i drag the plugin drop it into the box, the box going to be hidden
  • 14:37:40 <Guest|39918> what can i do?
  • 14:38:29 <mrboe> @Guest|39918 which version of FT3 do you use
  • 14:38:30 <mrboe> ?
  • 14:39:37 <Guest|39918> 6.2.2
  • 14:39:45 <Guest|39918> and new flux fluid
  • 14:39:53 <mrboe> dev oder master
  • 14:39:56 <Guest|39918> master
  • 14:40:11 <mrboe> try the dev versions
  • 14:40:25 <mrboe> i thougt there were some d&d issues
  • 14:40:45 <Guest|39918> which are fixed yet?
  • 14:41:09 <mrboe> https://github.com/FluidTYPO3/flux/pull/541
  • 14:41:49 <mrboe> i dont know exactly
  • 14:41:57 <BenjaminR> Guest: checkout https://github.com/hmspl/flux/tree/workbench/commands
  • 14:42:11 <BenjaminR> should solve your place plugin into fce grid problem
  • 14:42:25 <BenjaminR> cant tell you which one of the commits solves it but its one of them
  • 14:42:35 <BenjaminR> if you need to know which single commit solves it ask danilobuerger
  • 14:43:16 <BenjaminR> Maybe you want to checkout the development branch of flux first. Maybe the needed commit is merged already there
  • 14:43:23 <BenjaminR> Guest|39918
  • 14:43:44 <Guest|39918> first thx for your help
  • 14:44:00 <Guest|39918> so i m going to use the dev version not the masterß
  • 14:44:05 <Guest|39918> ?
  • 14:45:18 <BenjaminR> definitely dev
  • 14:45:22 <BenjaminR> master doesnt solve the issue yet
  • 14:45:46 <BenjaminR> if dev doesnt solve checkout hmspl/flux/workbench/commands
  • 14:46:47 <Guest|39918> thanks Benjamin, i will try the dev version first.
  • 15:01:42 <Guest|39918> oh yes... thx benjamin u saved my day :p it looks rly good now. thx so much.
  • 15:02:38 <jlumpe> BenjaminR: latest dev of flux also has the patch for plugins in it
  • 15:02:57 <BenjaminR> jlumpe: thanks for the feedback
  • 15:03:34 <jlumpe> (i just know it, since i had the issue and updated to that branch :D)
  • 15:24:26 <randomresult> hello ladies and gentlemen
  • 15:26:13 <soee_> hiho randomresult
  • 15:26:15 <mrboe> old man rises
  • 15:26:20 <Guest|39918> by the way, is it confirmed that too many if conditions in a template can make your perfomance worse?
  • 15:26:27 <randomresult> mrboe shut up
  • 15:26:44 <randomresult> Guest|39918 i think so
  • 15:26:58 <randomresult> you could place them in content/page controller
  • 15:27:03 <randomresult> maybe thats the better place
  • 15:27:13 <randomresult> bjo3rn u there?
  • 15:27:24 <Guest|39918> oh nice idea thank you :) now i know why my site is too slow...
  • 15:27:29 <mrboe> @Guest|39918 you can use the ext:builder to check your templates
  • 15:28:17 <Guest|39918> okay great, i will try this. Thank you guys!
  • 15:34:53 <soee_> what am i missing guys @ this bug https://github.com/FluidTYPO3/flux/issues/533
  • 15:35:18 <soee_> both tables mentioned checked here: http://pastebin.com/nL11Hwsm
  • 15:35:52 <soee_> first print shows them in com and second note, why tey are missing probably marked to be removed ?
  • 15:37:44 <soee_> where in this short code $FDcomp array could be modified so the both *datamap* keys ar egone
  • 15:39:13 <soee_> so this is the reason of the bug
  • 15:39:44 <soee_> if we put in comment what is in this condition if (!isset($FDcomp[$table])) {
  • 15:39:57 <soee_> than this problem with both tables is gone as they are here marked to be removed
  • 15:42:35 <jlumpe> Guest|39918: as far as i know deep nesting in general affects performance
  • 15:49:23 <bjo3rn> randomresult sup?
  • 15:50:16 <Guest|39918> @jlumpe hm yes i think so too. I had some good ideas with the conditions but the performance is too bad now.
  • 15:50:24 <cedricziel> just chillin' ey
  • 15:50:54 <cedricziel> https://www.youtube.com/watch?v=kCpjgl2baLs
  • 15:51:36 <soee_> cedricziel: maybe a quick look @ my commment https://github.com/FluidTYPO3/flux/issues/533 ?
  • 15:51:40 <soee_> -.-
  • 15:52:33 <cedricziel> i just read the mail
  • 15:54:48 <bjo3rn> randomresult SUP?
  • 15:54:55 <randomresult> hey
  • 15:55:00 <bjo3rn> hehe, hi
  • 15:55:07 <bjo3rn> I mean: HI!
  • 15:55:09 <randomresult> have u had time to check the xsd files?
  • 15:55:32 <bjo3rn> ah, no. not yet. still fighting with some mothereffin' oxid shop
  • 15:55:50 <randomresult> k.
  • 15:56:00 <randomresult> could you pls report when done?
  • 15:56:05 <bjo3rn> but I will do so
  • 15:56:08 <bjo3rn> now
  • 15:56:18 <randomresult> cause if u think its right, i switch all my webs to that ones
  • 15:56:24 <randomresult> thx. need to wake my son now
  • 15:56:56 <bjo3rn> oh, I don't think I'm the right one to tell if it is 'comme il faut'
  • 16:01:03 <mrboe> but who can say?
  • 16:02:29 <randomresult> cedricziel maybe?
  • 16:02:51 <randomresult> sometimes i think we are the only ones who want autocomplete
  • 16:03:05 <bjo3rn> ok, tested it
  • 16:03:07 <bjo3rn> works
  • 16:03:38 <bjo3rn> but for me it also works when I don't put the xsd files into the project folder but configure them as usual
  • 16:03:39 <mrboe> the cicle gets closed - cedric say i should talk to bjorn
  • 16:03:44 <bjo3rn> hehe!
  • 16:03:56 <bjo3rn> chicken-egg situation
  • 16:04:14 <bjo3rn> so what did you actually change in the xsd files?
  • 16:04:22 <mrboe> i think this is not the problem
  • 16:04:54 <mrboe> you can put them anywhere and setup in preferences
  • 16:05:18 <mrboe> if they are in the project php find it by itself
  • 16:05:22 <bjo3rn> so where's the magic you added?
  • 16:05:55 <mrboe> that the urls in the xsd and in the div directly point to the files
  • 16:05:59 <mrboe> on the web
  • 16:06:00 <bjo3rn> btw ps complains about wrong attribute values for like multiple="TRUE"
  • 16:06:10 <bjo3rn> aha
  • 16:06:31 <mrboe> when we have a look here
  • 16:06:31 <mrboe> http://fluidtypo3.org/viewhelpers/vhs/master.html
  • 16:06:42 <mrboe> the url sould be xmlns:v="http://typo3.org/ns/vhs/ViewHelpers"
  • 16:06:58 <mrboe> but under this adress nothin can be found
  • 16:07:16 <mrboe> its the same for fluid nad flux
  • 16:07:35 <bjo3rn> that shouldn't be a problem as those are simply identifiers
  • 16:07:52 <bjo3rn> someone we all know told me ;)
  • 16:08:29 <mrboe> yes but it seems to be that the url in the XML must be the same than xmlns:v
  • 16:08:53 <bjo3rn> ach so, well, that makes sense ofc
  • 16:09:23 <bjo3rn> nice
  • 16:09:38 <mrboe> and if target namespace is: targetNamespace="http://fluidtypo3.org/schemas/flux-development.xsd"
  • 16:09:43 <mrboe> the file can be reacht
  • 16:09:55 <bjo3rn> ps can download it
  • 16:10:08 <mrboe> yes its fixed
  • 16:10:14 <mrboe> lokk here at the original
  • 16:10:14 <mrboe> http://fluidtypo3.org/schemas/vhs-master.xsd
  • 16:10:37 <bjo3rn> yep, got it
  • 16:10:48 <bjo3rn> well spotted, Sir
  • 16:11:02 <mrboe> i dont know if my solution is right
  • 16:11:10 <mrboe> but the target namespace should recha a file
  • 16:11:13 <mrboe> i think
  • 16:11:21 <bjo3rn> that's what I think too
  • 16:11:43 <bjo3rn> any idea why boolean arguments are considered incorrect?
  • 16:12:03 <bjo3rn> or is it only me?
  • 16:12:43 <mrboe> boolean?
  • 16:12:51 <randomresult> well... i think you should use true instead of 1
  • 16:13:21 <mrboe> yes - i saw that its now possible to get AC iside
  • 16:13:22 <bjo3rn> I tried TRUE, true and 1
  • 16:13:30 <bjo3rn> nada
  • 16:13:41 <mrboe> if you write tr.... it makes a AC
  • 16:13:43 <bjo3rn> oh, wait, true it is
  • 16:14:02 <bjo3rn> yep, ac ftw!
  • 16:14:12 <bjo3rn> cool!
  • 16:14:19 <mrboe> yes thats nice
  • 16:15:38 <randomresult> so you guys discuss this and mrboe will fix it in all my webs.
  • 16:15:42 <randomresult> need to go for now
  • 16:15:43 <randomresult> cu all
  • 16:15:50 <bjo3rn> like a boss!
  • 16:15:52 <bjo3rn> cya
  • 16:17:28 <mrboe> and bjo3rn a nice feature would be that the XSD files can be auto downloaded with phpstorm
  • 16:17:52 <bjo3rn> yes, like in sf2
  • 16:18:17 <mrboe> it would work
  • 16:18:29 <mrboe> have a lokk here http://typo3.helmut-hummel.de/post/85031122475/xml-schema-auto-completion-in-phpstorm
  • 16:18:40 <mrboe> Step2
  • 16:18:51 <mrboe> but the files must be correct
  • 16:20:04 <bjo3rn> yep
  • 16:21:19 <mrboe> so thanks for testing
  • 16:21:55 <bjo3rn> thank you for fixing :)
  • 16:22:43 <mrboe> its not fixed - i think the URL that schemaker creates must be corrected
  • 16:36:57 <soee_> ok this is comething more than i mantioned in issue comment
  • 16:58:46 <soee_> hunted more or less
  • 18:04:24 <cedricziel> have a nice weekend folks, I'm gone fishing..
  • 18:19:38 <BenjaminR> fisch hail
  • 18:19:51 <BenjaminR> or how do you say cedricziel
  • 19:25:49 <randomresult> @cedricziel you go fishing? take me with you!!! petri heil!
  • 19:25:58 * randomresult loves fishing
  • 19:39:31 <BenjaminR> randomresult: still no weekend? :)