# |
Apr 19th 2017, 08:24 |
joop |
good morning |
# |
Apr 19th 2017, 08:24 |
inoas |
joop: condition is - more or less - old style syntax |
# |
Apr 19th 2017, 08:16 |
Neon1024 |
ankr* |
# |
Apr 19th 2017, 08:16 |
Neon1024 |
Hey ank |
# |
Apr 19th 2017, 08:16 |
ankr |
morning |
# |
Apr 19th 2017, 08:05 |
joop |
also "select" or 'fields'=> does it works the same way? |
# |
Apr 19th 2017, 08:04 |
joop |
i dont really understand whats the differenece between the "where" and "condition" when try to acces data |
# |
Apr 19th 2017, 08:03 |
joop |
hello guys |
# |
Apr 19th 2017, 07:50 |
voycey |
only difference is 5.6 local and 5.5.9 on live |
# |
Apr 19th 2017, 07:49 |
voycey |
it errors out before anything renders |
# |
Apr 19th 2017, 07:49 |
voycey |
but ive not used this for almost 6 months now |
# |
Apr 19th 2017, 07:49 |
theaxiom |
what does vardump() show you? |
# |
Apr 19th 2017, 07:49 |
voycey |
I think it is something to do with the setup as the code is working on live |
# |
Apr 19th 2017, 07:48 |
voycey |
yeah |
# |
Apr 19th 2017, 07:48 |
theaxiom |
@voycey is it added to $helpers in Controller? |
# |
Apr 19th 2017, 07:43 |
voycey |
the plugin is loaded |
# |
Apr 19th 2017, 07:43 |
voycey |
Any idea why on php 5.6 with Cake 2 I am getting AssetCompress Helper not found? |
# |
Apr 19th 2017, 07:18 |
Guest71037 |
Also, there is the issue of it being a user generated content site (like a forum), so with forum listing index pages they need to update as and when something is added to show the latest items. |
# |
Apr 19th 2017, 07:17 |
Guest71037 |
Hi, I am trying to implement caching on my site but having a few issues. The site is very dynamic, lots of ifloggedin type queries and things and view caching made the site very fast but it caused so many issues like showing logged in pages and elements etc. I tried caching just queries but it didn't make too much difference. |
# |
Apr 19th 2017, 06:53 |
metoyoko |
one more question. what is widget and how it works in association is it essential to have own widget? |
# |
Apr 19th 2017, 06:50 |
metoyoko |
Thanks @sjundee I will check that |
# |
Apr 19th 2017, 06:49 |
sjundee |
https://book.cakephp.org/3.0/en/orm/associations.html |
# |
Apr 19th 2017, 06:49 |
sjundee |
https://book.cakephp.org/3.0/en/views/helpers/form.html#creating-inputs-for-associated-data |
# |
Apr 19th 2017, 06:47 |
sjundee |
Read association docs. |
# |
Apr 19th 2017, 06:46 |
metoyoko |
thanks a lot @sjundee |
# |
Apr 19th 2017, 06:45 |
metoyoko |
Cakephp 3.4 How to insert to db with associations like: insert to table#1 table#2 with table#1 id and table#3 with table#2 id on single submission |
# |
Apr 19th 2017, 06:45 |
sjundee |
Examples from @dereuromark sandbox: https://github.com/dereuromark/cakephp-sandbox/blob/3.0/plugins/Sandbox/src/Controller/AjaxExamplesController.php |
# |
Apr 19th 2017, 06:44 |
metoyoko |
ok thanks |
# |
Apr 19th 2017, 06:43 |
sjundee |
If so, ajax. Check out cakephp-ajax |
# |
Apr 19th 2017, 06:43 |
metoyoko |
yes |
# |
Apr 19th 2017, 06:42 |
sjundee |
Depends what want. But I guess you want to query db based on a selection, then populate another selected with the result? |
# |
Apr 19th 2017, 06:41 |
metoyoko |
easiest way? |
# |
Apr 19th 2017, 06:41 |
sjundee |
Ajax? |
# |
Apr 19th 2017, 06:39 |
metoyoko |
Cakephp 3.4 How to populate selection #2 based on selection #1 dynamically inside form |
# |
Apr 19th 2017, 06:37 |
metoyoko |
Hi Good day |
# |
Apr 19th 2017, 04:16 |
voycey |
nvm got it |
# |
Apr 19th 2017, 04:15 |
voycey |
https://gist.github.com/voycey/dd8859febea0c5dc47cacdc9cce761cb |
# |
Apr 19th 2017, 04:15 |
voycey |
Anyone got any idea what this error represents? |
# |
Apr 19th 2017, 03:36 |
rrueco |
----> resolved |
# |
Apr 19th 2017, 03:32 |
rrueco |
how to remove the time from datetime? not general. just for one field |
# |
Apr 19th 2017, 03:04 |
davinci |
ok, thanks - will look into |