# |
Jul 25th 2016, 21:33 |
slackebot2 |
~tell azzenovic about awesome |
# |
Jul 25th 2016, 21:33 |
slackebot2 |
Command sent from Slack by admad: |
# |
Jul 25th 2016, 21:27 |
azzenovic |
Hi guys! I am currently using cakephp and I was wondering if there is a plugin with a search bar functionality . |
# |
Jul 25th 2016, 21:20 |
sat |
help |
# |
Jul 25th 2016, 21:18 |
sat |
have some one? |
# |
Jul 25th 2016, 21:18 |
sat |
hi |
# |
Jul 25th 2016, 21:15 |
sat |
help |
# |
Jul 25th 2016, 21:15 |
sat |
? |
# |
Jul 25th 2016, 21:15 |
sat |
but cake how to detect that |
# |
Jul 25th 2016, 21:14 |
sat |
i know those are hasOne |
# |
Jul 25th 2016, 21:14 |
sat |
? |
# |
Jul 25th 2016, 21:14 |
sat |
$this->belongsTo('Users'); |
# |
Jul 25th 2016, 21:14 |
sat |
or |
# |
Jul 25th 2016, 21:14 |
sat |
$this->hasOne('Users'); ? |
# |
Jul 25th 2016, 21:13 |
sat |
in addresses table how defiend relation? |
# |
Jul 25th 2016, 21:13 |
sat |
i defiend $this->hasOne('Addresses'); in users table |
# |
Jul 25th 2016, 21:12 |
sat |
i want put foreign key in addresses table |
# |
Jul 25th 2016, 21:11 |
sat |
and addresses hasOne users |
# |
Jul 25th 2016, 21:11 |
sat |
users hasOne addresses |
# |
Jul 25th 2016, 21:10 |
sat |
i have hasOne relation |
# |
Jul 25th 2016, 21:09 |
cakebake |
hi |
# |
Jul 25th 2016, 21:09 |
sat |
hi |
# |
Jul 25th 2016, 20:56 |
cakebake |
??? |
# |
Jul 25th 2016, 20:56 |
cakebake |
for a specific theme |
# |
Jul 25th 2016, 20:56 |
cakebake |
I'm very lazy to build each crud manually |
# |
Jul 25th 2016, 20:56 |
cakebake |
Hello Everyone, I'm trying to bake a custom theme, what would be the best approach? |
# |
Jul 25th 2016, 20:17 |
cavallari |
And how could I call this? |
# |
Jul 25th 2016, 20:17 |
cavallari |
Hi... is it possible to use a Table in another directory?? Like in App\Model\Table\Cars\BrandsTable.php for example?? |
# |
Jul 25th 2016, 18:53 |
ra7bi |
name convention is very important , as i read in doc. you can check out this link http://book.cakephp.org/3.0/en/orm.html#quick-example |
# |
Jul 25th 2016, 18:52 |
ra7bi |
cakephp use ORM |
# |
Jul 25th 2016, 18:50 |
ra7bi |
does your conventions names is correct ? |
# |
Jul 25th 2016, 18:45 |
comeAndHelpMeObi |
but when I try to load the association using "contain", it doesnt works |
# |
Jul 25th 2016, 18:44 |
comeAndHelpMeObi |
and through |
# |
Jul 25th 2016, 18:44 |
comeAndHelpMeObi |
using belongsToMany |
# |
Jul 25th 2016, 18:43 |
comeAndHelpMeObi |
I'm following the cake book to create a many-to-many association |
# |
Jul 25th 2016, 18:43 |
comeAndHelpMeObi |
Good evening |
# |
Jul 25th 2016, 18:41 |
antograssiot |
I usually hack the js on the form submit |
# |
Jul 25th 2016, 18:41 |
mikatone |
( kinda sad I supposed that this could be configurable |
# |
Jul 25th 2016, 18:41 |
mikatone |
antograssiot so suppose that must hack ->request->data |
# |
Jul 25th 2016, 18:40 |
mikatone |
antograssiot I found that if i reverse the date picker to dd-mm-yyyy and add the rule 'dmy' I got no errors but can't save form data I bealive that is because mysql date is expecting yyyy-mm-dd |
# |
Jul 25th 2016, 18:38 |
mikatone |
lol |