# |
Dec 16th 2017, 16:35 |
furqan |
Hi every one @hmic ,hi |
# |
Dec 16th 2017, 13:39 |
saeideng |
if you use DB for strore menu items ... use Cell |
# |
Dec 16th 2017, 13:38 |
saeideng |
`Template/Element/main-menu.ctp ` |
# |
Dec 16th 2017, 12:35 |
maneken |
Hello. I have a variable $menu where I define my site's main menu structure, and then I use it in Template/Element/main-menu.ctp to render the menu markup. What would be the best place to define the $menu array? |
# |
Dec 16th 2017, 12:34 |
jason001 |
hi cake - I'm using cake 3.5 - I'm looking through the docs but can't find an example for joining two queries. so let's say I have 2 subqueries that both contain a matching column, and I wanted to join the 2 - how would I do that in cakephp? |
# |
Dec 16th 2017, 11:55 |
joopm |
just found the reason |
# |
Dec 16th 2017, 11:50 |
joopm |
between this there is nothing happen which can reduce the elements |
# |
Dec 16th 2017, 11:49 |
joopm |
i made a query,pass the view by compact |
# |
Dec 16th 2017, 11:49 |
joopm |
but without the debug only the first element of the hasmany appear in the first input |
# |
Dec 16th 2017, 11:48 |
joopm |
now if i debug the query all the datas appear nice in the inputs |
# |
Dec 16th 2017, 11:48 |
joopm |
i have an edit form for editing hasmany datas |
# |
Dec 16th 2017, 11:48 |
joopm |
i have the following strange issue |
# |
Dec 16th 2017, 10:45 |
nanu |
any onr |
# |
Dec 16th 2017, 10:45 |
nanu |
gys |
# |
Dec 16th 2017, 10:45 |
nanu |
hello |
# |
Dec 15th 2017, 20:07 |
joopm |
and finally saved all desired |
# |
Dec 15th 2017, 20:07 |
joopm |
now i used saveMany with the patcEntities |
# |
Dec 15th 2017, 20:06 |
joopm |
and finally just saved that element |
# |
Dec 15th 2017, 20:06 |
joopm |
so its in every cycle of the foreach its jumps back there,owerwrite the first element |
# |
Dec 15th 2017, 20:05 |
joopm |
but the saving only works for the last item, because i saw in the debug the last saved item was the first element of array |
# |
Dec 15th 2017, 20:04 |
joopm |
its drive me crazy, itried save an entity with foreach |
# |
Dec 15th 2017, 20:04 |
joopm |
hihi |
# |
Dec 15th 2017, 20:03 |
admad |
any last words before you pass on to the after life? |
# |
Dec 15th 2017, 20:00 |
joopm |
but its kill me |
# |
Dec 15th 2017, 20:00 |
joopm |
i found out |
# |
Dec 15th 2017, 19:49 |
joopm |
? |
# |
Dec 15th 2017, 19:49 |
joopm |
but maybe you dont why save only the last item of foreach |
# |
Dec 15th 2017, 19:49 |
joopm |
hihi |
# |
Dec 15th 2017, 19:48 |
admad |
since you aren't rafael.js i am not :slightly_smiling_face: |
# |
Dec 15th 2017, 19:46 |
joopm |
excusme i am not sure if you talking to me |
# |
Dec 15th 2017, 19:45 |
admad |
@rafael.junqueira.sant i still can't understand what problem you are having. Mind giving it one more go? Start by showing what code are using for the flash component |
# |
Dec 15th 2017, 19:41 |
joopm |
oh its seems everybody is out |
# |
Dec 15th 2017, 19:32 |
joopm |
i saw something with create() but i can not use |
# |
Dec 15th 2017, 19:32 |
joopm |
the symptons is only the last Entity is saved |
# |
Dec 15th 2017, 19:31 |
joopm |
i am triing to save many records with a foreach |
# |
Dec 15th 2017, 19:31 |
joopm |
and last ask here |
# |
Dec 15th 2017, 19:31 |
joopm |
try code |
# |
Dec 15th 2017, 19:31 |
joopm |
before asking a made a lot of experiments |
# |
Dec 15th 2017, 19:30 |
joopm |
hello all |
# |
Dec 15th 2017, 17:55 |
dereuromark |
Es: you need to be more specific |
# |
Dec 15th 2017, 17:55 |
Es0teric |
question -- does anyone know of a way that cake interpolates strings within lang files in 2.x? |