# |
Dec 21st 2017, 10:58 |
neon1024 |
:thumbsup: |
# |
Dec 21st 2017, 10:58 |
jotpe |
works perfect, thanks @neon1024 |
# |
Dec 21st 2017, 10:57 |
neon1024 |
Or you can just add the symlink command to your composer post install scripts |
# |
Dec 21st 2017, 10:57 |
neon1024 |
Plus if you use a relative path you can then commit the symlinks to Git as well if you want to |
# |
Dec 21st 2017, 10:56 |
neon1024 |
Or at least, it used to ;) |
# |
Dec 21st 2017, 10:56 |
neon1024 |
It prevents CakePHP doing an extra request to process the plugin prefix |
# |
Dec 21st 2017, 10:55 |
neon1024 |
`$ bin/cake plugin assets symlink` |
# |
Dec 21st 2017, 10:55 |
jotpe |
ok |
# |
Dec 21st 2017, 10:55 |
neon1024 |
Symlink the resources into your webroot folder instead |
# |
Dec 21st 2017, 10:55 |
neon1024 |
Don’t do it |
# |
Dec 21st 2017, 10:53 |
jotpe |
any ideas? |
# |
Dec 21st 2017, 10:51 |
jotpe |
i did <?= $this->Html->css('FoundationUI.foundation.css') ?> in the layout, since i want to include it in any view. unfortunately i get a 404 for the css, and the href is /foundation_u_i/css/foundation.css |
# |
Dec 21st 2017, 10:50 |
jotpe |
hey guys. I have a plugin called FoundationUI with a default layout and want to include css from the plugins webroot/css |
# |
Dec 21st 2017, 10:34 |
makallio85 |
lul, sounds like burden in programming perspective :) Dont tell her |
# |
Dec 21st 2017, 10:28 |
ludovic.barman |
@neon1024 Awesome thanks a lot! |
# |
Dec 21st 2017, 10:21 |
dereuromark |
I dont think cells need much anyway, looking at the code |
# |
Dec 21st 2017, 10:21 |
dereuromark |
We understand |
# |
Dec 21st 2017, 10:19 |
neon1024 |
Plus I’ve started seeing a girl, so that’s taking up time ;) |
# |
Dec 21st 2017, 10:18 |
neon1024 |
I haven’t really felt motivated to do much hobby coding recently |
# |
Dec 21st 2017, 10:18 |
neon1024 |
I will eventually, but might not be until 2018 now |
# |
Dec 21st 2017, 10:18 |
neon1024 |
Sorry |
# |
Dec 21st 2017, 10:18 |
neon1024 |
I’m not sure I’ll get to the Cell stuff |
# |
Dec 21st 2017, 10:18 |
neon1024 |
Sure thing |
# |
Dec 21st 2017, 10:17 |
dereuromark |
@neon1024 So I can tag a new release then |
# |
Dec 21st 2017, 09:40 |
k4t |
helllo |
# |
Dec 21st 2017, 09:34 |
neon1024 |
Morning all |
# |
Dec 21st 2017, 08:49 |
neon1024 |
You can add them in your userland code though if you’re running PHP 7.x, I know we do here at work |
# |
Dec 21st 2017, 08:49 |
neon1024 |
I think it’s something which will happen with the 4.0 release though |
# |
Dec 21st 2017, 08:49 |
neon1024 |
Until the minimum PHP is 7.0+ return types can’t be added |
# |
Dec 21st 2017, 08:48 |
neon1024 |
https://github.com/cakephp/cakephp/blob/master/composer.json#L31 |
# |
Dec 21st 2017, 08:48 |
neon1024 |
@ludovic.barman No I don’t think so |
# |
Dec 21st 2017, 08:45 |
ludovic.barman |
hi guys, sorry to bother. I couldn't find this info in the net. Is the latest Cakephp3.5.x using Php7 's types in the models and functions when I bake something ? e.g. it knows that the `id` in my `Article` is an `int`, etc? thanks! |
# |
Dec 21st 2017, 08:04 |
em. |
http://mcms.local.192.168.50.78.xip.io/admin/nodes/nodes?type_id=2 |
# |
Dec 21st 2017, 07:21 |
rchavik |
yes |
# |
Dec 21st 2017, 07:11 |
tukangkod |
guys, can we do contain inside custom find? |
# |
Dec 21st 2017, 07:03 |
kant |
whats the role of bootstrap.php in cakephp 3 ? |
# |
Dec 20th 2017, 23:26 |
braeden |
I want to display parent comments but limit the number of children for each parent |
# |
Dec 20th 2017, 23:26 |
braeden |
Is there a way to limit the number of nodes displayed within a parent node for the TreeBehaviour? e.g. with a limit of 5 [0] => [1, 2, 3, 4, 5], [1] => [1, 2, 3, 4, 5] |
# |
Dec 20th 2017, 23:18 |
spencdev |
yup. np |
# |
Dec 20th 2017, 23:02 |
josexato |
@spencdev thank Man, it worked flawlessly:v: |
# |
Dec 20th 2017, 22:47 |
josexato |
Nice:+1: |