# |
Jul 18th 2017, 08:57 |
neon1024 |
`['controller' => 'Examples', 'action' => 'first', 'plugin' => 'ExamplePlugin']` |
# |
Jul 18th 2017, 08:56 |
neon1024 |
Usually just add the plugin to your route `'plugin' => 'MyPlugin'` |
# |
Jul 18th 2017, 08:51 |
juststeveking |
How do I route to a plugin controller in cake2 |
# |
Jul 18th 2017, 08:37 |
ono-t |
Yes,work.See Collection.php. I was clogged there yesterday. sorry,poor english. |
# |
Jul 18th 2017, 08:37 |
hagen00 |
->find('children', ['for' => $answer->id])->order(['sort_order' => 'ASC']); |
# |
Jul 18th 2017, 08:37 |
hagen00 |
anyone know why this doesn't work (tree behaviour. Trying to sort the children by a DB field)? |
# |
Jul 18th 2017, 08:34 |
cakephp586 |
works with bake? |
# |
Jul 18th 2017, 08:33 |
ono-t |
Using Trait is one answer |
# |
Jul 18th 2017, 08:29 |
ono-t |
table prefix? https://stackoverflow.com/questions/28792720/cakephp-3-0-using-tableprefix. |
# |
Jul 18th 2017, 08:19 |
cakephp586 |
and for bake command? |
# |
Jul 18th 2017, 08:14 |
neon1024 |
Morning everyone |
# |
Jul 18th 2017, 07:17 |
dakota |
Cake 3 doesn't have support for table prefixes. However, what you can do is have an AppTable class that overloads the table() method to prepend the orefix |
# |
Jul 18th 2017, 07:03 |
braeden |
If it ain't broke don't fix it! |
# |
Jul 18th 2017, 07:02 |
cakephp586 |
first problem: table prefix |
# |
Jul 18th 2017, 07:02 |
cakephp586 |
this morning I had the bad idea to start thinking to switch from 2 to 3 |
# |
Jul 18th 2017, 06:35 |
designskiller |
Ok |
# |
Jul 18th 2017, 06:34 |
braeden |
Oh, well, my issue with the plug-in might have been an issue with my MongoDB setup. I couldn't authenticate/connect for some reason, so it sounds as though you've gotten farther than I have |
# |
Jul 18th 2017, 06:33 |
designskiller |
I am not sure that's why i'm asking though. |
# |
Jul 18th 2017, 06:33 |
designskiller |
No problem |
# |
Jul 18th 2017, 06:32 |
braeden |
is the plugin working at all? I'm guessing it is |
# |
Jul 18th 2017, 06:32 |
designskiller |
ok |
# |
Jul 18th 2017, 06:32 |
braeden |
No, I'm sorry |
# |
Jul 18th 2017, 06:32 |
designskiller |
@braeden what about join data. Have you tried ? |
# |
Jul 18th 2017, 05:58 |
braeden |
well, I'm 26 but most are 18-19 |
# |
Jul 18th 2017, 05:58 |
braeden |
haha I'm honestly too old to muck around at Uni |
# |
Jul 18th 2017, 05:51 |
voycey |
Yeah dont do that - get a decent grade and onto a decent graduate job - I still coast on my IBM coat tails to this day haha |
# |
Jul 18th 2017, 05:45 |
braeden |
honestly I'd have a bit of free time if I was content with crappy grades |
# |
Jul 18th 2017, 05:45 |
braeden |
I'll graduate in 2018 |
# |
Jul 18th 2017, 05:45 |
voycey |
ok cool - ill pm you |
# |
Jul 18th 2017, 05:45 |
braeden |
Bachelor of Computer Science, Maj: Systems Programming |
# |
Jul 18th 2017, 05:44 |
voycey |
Yeah lots of them, only a few from Aus though - when do you graduate? and what's your degree in? |
# |
Jul 18th 2017, 05:44 |
braeden |
are there many freelancers in here? |
# |
Jul 18th 2017, 05:43 |
braeden |
haha, I'll be around anyway if you're still looking at the end of the year |
# |
Jul 18th 2017, 05:43 |
voycey |
haha yeah probably not tbh |
# |
Jul 18th 2017, 05:42 |
braeden |
I'm a University student so it depends on how flexible you are with deadlines! :) |
# |
Jul 18th 2017, 05:42 |
voycey |
looking for work? might have some stuff coming up - trying to drum up some local devs |
# |
Jul 18th 2017, 05:42 |
braeden |
Sydney :,( |
# |
Jul 18th 2017, 05:41 |
voycey |
Melbourne mate - you? |
# |
Jul 18th 2017, 05:41 |
braeden |
Where abouts in Straya are you located? |
# |
Jul 18th 2017, 05:40 |
voycey |
personally I just stick to bigint and then worry about uniques when distributing - usually with some kind of ETL process |
# |
Jul 18th 2017, 05:39 |
braeden |
that makes sense, and yes, I had a feeling it would be slower :+1: |