# |
Mar 12th 2018, 00:49 |
savant |
I think the prefix for plugins applies beforehand |
# |
Mar 12th 2018, 00:48 |
angelxmoreno |
I am currently trying to migrate from Router::connect to Router::scope. just learning something new in Cake3 |
# |
Mar 12th 2018, 00:48 |
angelxmoreno |
the question is what is the 'default'routing. i know i can make it anything i want but was curious to know the default behavior or if the default is even compatible with that contoller namespace |
# |
Mar 12th 2018, 00:28 |
savant |
whatever you want ti to be according to your routing |
# |
Mar 12th 2018, 00:28 |
dereuromark |
Why do you need to ask? Just generate the URL via helper or Router::url() and see for yourself. It depends on your routing |
# |
Mar 12th 2018, 00:19 |
angelxmoreno |
greetings bakers! I have a controller in a namespace like so `Finances\Controller\Api\Dashboard`, what is the default url given that plugin name and controller namespace ? |
# |
Mar 11th 2018, 23:19 |
dereuromark |
cant be acl, it can be the cache of db, did you clear it after creating the tables? |
# |
Mar 11th 2018, 23:19 |
bakro.istvan |
Could you please help me? Do you have any history the these two could work alongside? |
# |
Mar 11th 2018, 23:18 |
bakro.istvan |
the this is just a wild guess. |
# |
Mar 11th 2018, 23:18 |
bakro.istvan |
I was thinking about a possibility of conflict with the ACL plugin. |
# |
Mar 11th 2018, 23:17 |
bakro.istvan |
Getting the entity I get the tags alongside, |
# |
Mar 11th 2018, 23:17 |
bakro.istvan |
I tried to test the other way of retrieving tags. It work by manually creating two entries in the database (tags_tagged, tags_tags) |
# |
Mar 11th 2018, 23:15 |
bakro.istvan |
When I posting a new people with the provided helper. The baked form posts the tags as string. I see that it gets processed. The original entity gets patched and in the TagsTable beforeSave event is firing. Whoever the tags does not gets created. |
# |
Mar 11th 2018, 23:12 |
bakro.istvan |
I want to tag this. So i required your plugin through composer. Loaded in bootstrap. Added the behavior and the config not to use the `taggedCounter` |
# |
Mar 11th 2018, 23:11 |
bakro.istvan |
Ive got a Person entity |
# |
Mar 11th 2018, 23:10 |
bakro.istvan |
My app looks like the following |
# |
Mar 11th 2018, 23:09 |
bakro.istvan |
@dereuromark What do you mean? I dont understand your question. |
# |
Mar 11th 2018, 21:49 |
dereuromark |
istvan: how come? its Posting to the same action? |
# |
Mar 11th 2018, 19:49 |
edgaras.jan |
use some library like https://github.com/spatie/analytics-statistics to get data |
# |
Mar 11th 2018, 19:43 |
rafael.junqueira.sant |
I did it with plain php last year, but I would like to know how are you doing with cakephp |
# |
Mar 11th 2018, 19:42 |
rafael.junqueira.sant |
What I mean is displaying google analytics data in a dashboard |
# |
Mar 11th 2018, 19:42 |
rafael.junqueira.sant |
what about the server side code? |
# |
Mar 11th 2018, 19:41 |
edgaras.jan |
just insert google analytics snippet to template |
# |
Mar 11th 2018, 19:40 |
rafael.junqueira.sant |
the latest plugin I found was updated 6 years ago, and google analytics api seems to have changed since then |
# |
Mar 11th 2018, 19:38 |
rafael.junqueira.sant |
What is everybody using for google analytics in CakePHP nowadays? |
# |
Mar 11th 2018, 19:28 |
bakro.istvan |
I think it it conflicting with the cakephp/acl plugin |
# |
Mar 11th 2018, 19:07 |
kitcat711 |
thanks ionas |
# |
Mar 11th 2018, 18:43 |
bakro.istvan |
Hi, I would like to use dereuromark/cakephp-tags in my app, but I am running into troubles when I would like to create a new tag on the fly. |
# |
Mar 11th 2018, 18:16 |
inoas |
it is sadly trial and error for me even after reading the docs |
# |
Mar 11th 2018, 18:16 |
inoas |
maybe _ext xlsx as a route key or so |
# |
Mar 11th 2018, 16:43 |
kitcat711 |
I put it here : https://discourse.cakephp.org/t/cakephp-3-5-and-spout-xlsx-library-how-to-handle-xlsx-extension/4035 |
# |
Mar 11th 2018, 16:28 |
kitcat711 |
adding $routes->extensions(['xlsx']); is my first step, and then? |
# |
Mar 11th 2018, 16:27 |
kitcat711 |
how can I set up that? |
# |
Mar 11th 2018, 16:27 |
kitcat711 |
let says mydomain.tld/article/1.xlsx => to reach the view method in a "xlsx dedicated" controller |
# |
Mar 11th 2018, 16:26 |
kitcat711 |
so far I am calling a controller method 'xlsx' to get my file, but I would prefer to handle the extension |
# |
Mar 11th 2018, 16:25 |
kitcat711 |
I am trying to generate xlsx file with cake. I made it work using the spout xlsx library |
# |
Mar 11th 2018, 16:23 |
kitcat711 |
hello |
# |
Mar 11th 2018, 16:21 |
bravo-kernel |
@ionas unfortunately sometimes the right decision take time to sit out the lesser one |
# |
Mar 11th 2018, 16:00 |
inoas |
wonder why we didn't stay on IRC and simply added Mattermost as an alternative... at least then the cake software foundation would have been in control of choices. |
# |
Mar 11th 2018, 15:59 |
inoas |
once it is all nice and perfectly central our contracts/jobs will be in danger too... :( |
# |
Mar 11th 2018, 15:59 |
inoas |
all part of the big trend laid out here: https://staltz.com/the-web-began-dying-in-2014-heres-how.html |