# |
Apr 17th 2019, 12:07 |
rochasmarcelo |
Yeah, that's what I think |
# |
Apr 17th 2019, 12:04 |
neon1024 |
:thumbsup: |
# |
Apr 17th 2019, 12:04 |
neon1024 |
Perhaps it just got forgotten about? |
# |
Apr 17th 2019, 12:03 |
neon1024 |
@rochasmarcelo Sounds like that would be valuable comment on the ticket :slightly_smiling_face: |
# |
Apr 17th 2019, 11:58 |
rochasmarcelo |
The migration guide says that Email was renamed to email: "Templates have been moved from src/Template/ to templates/ folder on app and plugin root. Special templates folder like Cell, Element, Email and Plugin have be renamed to lower case cell, element, email and plugin respectively." |
# |
Apr 17th 2019, 11:54 |
xavier981 |
@neon1024 I comment your tikcet on github |
# |
Apr 17th 2019, 11:50 |
neon1024 |
@xavier981 I put a comment in about Email also for you, https://github.com/cakephp/cakephp/issues/13129 |
# |
Apr 17th 2019, 11:48 |
megan |
sure, no prob! :) |
# |
Apr 17th 2019, 11:48 |
neon1024 |
Super, thanks @megan |
# |
Apr 17th 2019, 11:48 |
megan |
@neon1024 https://cakephp.org/pages/trademark :slightly_smiling_face: |
# |
Apr 17th 2019, 11:48 |
steinkel |
https://cakephp.org/pages/rebranding |
# |
Apr 17th 2019, 11:47 |
neon1024 |
Ok |
# |
Apr 17th 2019, 11:47 |
admad |
@neon1024 `Flash` should be lowercased ideally, open a ticket :slightly_smiling_face: |
# |
Apr 17th 2019, 11:47 |
neon1024 |
Anyone rememeber where the Cakephp resources are? LIke the baked with cake flag etc? |
# |
Apr 17th 2019, 11:35 |
neon1024 |
Yeah, I think so too :slightly_smiling_face: |
# |
Apr 17th 2019, 11:33 |
xavier981 |
but the change .ctp to .php it's good choice |
# |
Apr 17th 2019, 11:33 |
xavier981 |
yes i can try lol |
# |
Apr 17th 2019, 11:32 |
neon1024 |
I’m sure you could change it if you wanted to, and setup the configuration. Perhaps it’s worth posting an RFC ticket about to discuss with the community? |
# |
Apr 17th 2019, 11:31 |
neon1024 |
Yeah, it does seem odd to me too |
# |
Apr 17th 2019, 11:30 |
xavier981 |
@neon1024 may be...it's disturbing uppercase and lower cas in the same folder... |
# |
Apr 17th 2019, 11:29 |
neon1024 |
@xavier981 Perhaps Email is the same as Flash, because there is an Email class |
# |
Apr 17th 2019, 11:23 |
neon1024 |
Because of the FlashComponent? |
# |
Apr 17th 2019, 11:23 |
neon1024 |
On the same topic, why is `/templates/element/Flash` uppercase? |
# |
Apr 17th 2019, 11:21 |
xavier981 |
do you have an explication for Email ? (it's for my logical :) ) |
# |
Apr 17th 2019, 11:17 |
xavier981 |
Yes you are right sorry |
# |
Apr 17th 2019, 11:16 |
admad |
Error corresponds to ErrorController and hence capital cased |
# |
Apr 17th 2019, 11:15 |
xavier981 |
it's only my opinion lol |
# |
Apr 17th 2019, 11:15 |
xavier981 |
for me Email forder can write with lower case, and Error too, the other i think it's best in uppercase yes |
# |
Apr 17th 2019, 11:13 |
dakota |
:wave: @neon1024 |
# |
Apr 17th 2019, 11:13 |
admad |
Only folders which match your controller name are upper cases. All other special folders are lowe cased |
# |
Apr 17th 2019, 11:12 |
xavier981 |
ok i understand, and why some folder have uppercase and another not ? (in templates folder) |
# |
Apr 17th 2019, 11:12 |
hollistergraham123 |
Is the Orders.completed suppose to represent a customer Model.Orders.completed event being emitted? |
# |
Apr 17th 2019, 11:12 |
slackebot |
‘always’ ] ] ]); } }` |
# |
Apr 17th 2019, 11:12 |
hollistergraham123 |
In the time stamp behavior their is this example `class OrdersTable extends Table { public function initialize(array $config) { $this->addBehavior(‘Timestamp’, [ ‘events’ => [ ‘Model.beforeSave’ => [ ‘created_at’ => ‘new’, ‘updated_at’ => ‘always’, ], ‘Orders.completed’ => [ |
# |
Apr 17th 2019, 11:11 |
admad |
@xavier981 because we only wanted to keep classes with autoloading within src folder |
# |
Apr 17th 2019, 11:09 |
xavier981 |
why i have separated templates folder of src ? |
# |
Apr 17th 2019, 11:07 |
neon1024 |
@xavier981 Be sure to send in your feedback to the core team :slightly_smiling_face: |
# |
Apr 17th 2019, 11:06 |
xavier981 |
@neon1024 It's work Thx |
# |
Apr 17th 2019, 11:06 |
martin |
ah I was cleaning it by myself, but it worked :slightly_smiling_face: |
# |
Apr 17th 2019, 11:05 |
neon1024 |
`bin/cake cache clear_all` perhaps |
# |
Apr 17th 2019, 11:05 |
neon1024 |
Then I’d agree with @hollistergraham123 perhaps it’s just some cached routes. If you’re using newer Cake routing can be cached |