Log message #4050425

# At Username Text
# Jul 11th 2017, 08:57 savant no, but why do you *need* it to be in the same file?
# Jul 11th 2017, 08:57 jonasz but i believe u cannot create element within view file. i will read more in doc, thx
# Jul 11th 2017, 08:57 glanceded you could pass your needed var to an element layout block by passign an array after the layout, like this: $this->element('your_element', ['var1' => 'value1']); and in your Elements/your_element.ctp $var1
# Jul 11th 2017, 08:55 savant then I would use an element, as @glanceded says
# Jul 11th 2017, 08:55 jonasz view cell seem to me as too much. i thought they are designed to cross layout/view and my piece of code is used only in single view.. hmm, maybe it would be handy feature to have 3rd param for View::fetch(), which would pass arguments to itself? Anyway, thx for your suggestions
# Jul 11th 2017, 08:52 savant they might be what you want
# Jul 11th 2017, 08:52 savant @jonasz look into View Cells
# Jul 11th 2017, 08:52 glanceded view block = $this->element()?
# Jul 11th 2017, 08:51 jonasz Morning Guys, have u ever passed any arguments to the view block? I have repetitive part of view, so I though it is good idea to put it into the view block and fetch it few times, but it doesn't seem to support any arguments I could possibly pass? I'm using cake 3.2.x.
# Jul 11th 2017, 08:48 savant trait all the things!
# Jul 11th 2017, 08:48 savant they are great
# Jul 11th 2017, 08:48 cleptric You mentioned that you like traits quite often in the cakeadvent last year ^^
# Jul 11th 2017, 08:47 savant trait jokes?
# Jul 11th 2017, 08:47 cleptric Yeees, more Trait jokes incoming :slightly_smiling_face:
# Jul 11th 2017, 08:47 savant that was last years cakeadvent
# Jul 11th 2017, 08:47 savant yeah
# Jul 11th 2017, 08:47 cleptric Tutorial for cake?
# Jul 11th 2017, 08:46 savant @cleptric that seems neat. I think I’m going to do a second pass at my microblog post series
# Jul 11th 2017, 08:45 chris-andre Allright, good night ;)
# Jul 11th 2017, 08:45 cleptric https://micro.blog/
# Jul 11th 2017, 08:45 savant you have 24 hours
# Jul 11th 2017, 08:44 savant yeah I’m going to sleep now
# Jul 11th 2017, 08:44 chris-andre Haha @savant Could you please sleep on that? :slightly_smiling_face:
# Jul 11th 2017, 08:44 cleptric https://www.kickstarter.com/projects/manton/indie-microblogging-owning-your-short-form-writing
# Jul 11th 2017, 08:44 savant @cleptric link?
# Jul 11th 2017, 08:44 cleptric Looked rad
# Jul 11th 2017, 08:44 savant if you don’t have a blog post up, I’m never helping you again
# Jul 11th 2017, 08:44 cleptric There was a nice kickstarter about a new micro blogging plattform
# Jul 11th 2017, 08:44 savant I’m going to bed, tomorrow im going to ask you for your blog url with your first blog post
# Jul 11th 2017, 08:43 cleptric True :,)
# Jul 11th 2017, 08:43 savant @chris-andre start one.
# Jul 11th 2017, 08:43 savant @cleptric its better than no blog
# Jul 11th 2017, 08:43 cleptric wordpress
# Jul 11th 2017, 08:43 cleptric But,… but… but… @savant :O
# Jul 11th 2017, 08:43 savant it would!
# Jul 11th 2017, 08:43 chris-andre But, seriously, have been thinking about it. But I honestly don't know if that would have been read much.
# Jul 11th 2017, 08:42 savant would be great if you started :slightly_smiling_face:
# Jul 11th 2017, 08:40 chris-andre No, I don't. I thought about "thecakenoobblog.com".
# Jul 11th 2017, 08:40 savant or you can use jekyll on github :slightly_smiling_face:
# Jul 11th 2017, 08:40 savant if not, its very easy to start one, wordpress.com provides hosting
# Jul 11th 2017, 08:40 savant if so, you can pay me back by blogging about that^