# |
Oct 3rd 2016, 18:25 |
birdy247 |
it works fine on local |
# |
Oct 3rd 2016, 18:24 |
birdy247 |
I am trying to run a seed |
# |
Oct 3rd 2016, 17:53 |
inoas |
? |
# |
Oct 3rd 2016, 17:53 |
inoas |
https://www.youtube.com/watch?v=wPPFhcqGcvk what do you guys think about GraphQL |
# |
Oct 3rd 2016, 17:53 |
birdy247 |
sorry, I didnt reply |
# |
Oct 3rd 2016, 17:53 |
birdy247 |
Thanks |
# |
Oct 3rd 2016, 17:53 |
birdy247 |
hmic |
# |
Oct 3rd 2016, 17:41 |
djbuss |
nice, thanks |
# |
Oct 3rd 2016, 17:40 |
admad |
@djbuss https://github.com/UseMuffin/Orderly |
# |
Oct 3rd 2016, 17:38 |
djbuss |
in cake2 you could set an default orderBy in the model. Not anymore right ? |
# |
Oct 3rd 2016, 17:09 |
hmic |
2 steps: add 'block' => true to every postlinks options array, 2. add echo $this->fetch('postLink'); after you have closed the surrounding form |
# |
Oct 3rd 2016, 17:08 |
birdy247 |
think I got it |
# |
Oct 3rd 2016, 17:08 |
birdy247 |
Ok |
# |
Oct 3rd 2016, 17:08 |
birdy247 |
:slightly_smiling_face: |
# |
Oct 3rd 2016, 17:07 |
hmic |
exactly as i said and the book states |
# |
Oct 3rd 2016, 17:07 |
hmic |
they seem to provide working examples, yes. |
# |
Oct 3rd 2016, 17:06 |
birdy247 |
http://stackoverflow.com/questions/35007237/how-to-use-formhelperpostlink-inside-of-a-form |
# |
Oct 3rd 2016, 17:06 |
birdy247 |
I am reading this |
# |
Oct 3rd 2016, 17:06 |
hmic |
add the js to a block and echo that out after the surrounding form has been closed |
# |
Oct 3rd 2016, 17:05 |
hmic |
so you need to do as told! |
# |
Oct 3rd 2016, 17:05 |
birdy247 |
Its a table of results |
# |
Oct 3rd 2016, 17:05 |
birdy247 |
yes |
# |
Oct 3rd 2016, 17:05 |
hmic |
inside a form? |
# |
Oct 3rd 2016, 17:05 |
birdy247 |
I geenrate multiple post links |
# |
Oct 3rd 2016, 17:04 |
hmic |
so to use a postlink inside a form you need to do as told |
# |
Oct 3rd 2016, 17:03 |
hmic |
you cannot nest forms in http |
# |
Oct 3rd 2016, 17:02 |
birdy247 |
I dont understand that |
# |
Oct 3rd 2016, 17:02 |
birdy247 |
Be careful to not put a postLink inside an open form. Instead use the block option to buffer the form into a Using View Blocks |
# |
Oct 3rd 2016, 17:02 |
birdy247 |
postLink ** |
# |
Oct 3rd 2016, 17:01 |
birdy247 |
can postForm be used inside a form? |
# |
Oct 3rd 2016, 16:33 |
pedroseco |
and since on my local iâ??m not having that issue i must have missed something |
# |
Oct 3rd 2016, 16:32 |
pedroseco |
iâ??m just comparing the results using btoh enviorments |
# |
Oct 3rd 2016, 16:32 |
pedroseco |
yes i know |
# |
Oct 3rd 2016, 16:31 |
hmic |
maybe you are not aware of that the cookie gets encrypted? |
# |
Oct 3rd 2016, 16:31 |
pedroseco |
i must have missed something to not find it obvious :| |
# |
Oct 3rd 2016, 16:28 |
hmic |
not quite i guess. i think the reason is obvious :p |
# |
Oct 3rd 2016, 16:28 |
pedroseco |
the strange thing is on my localmachine i donâ??t have that behaviour. |
# |
Oct 3rd 2016, 16:28 |
pedroseco |
strange thing to debug |
# |
Oct 3rd 2016, 16:27 |
hmic |
no. it should not of course |
# |
Oct 3rd 2016, 16:27 |
pedroseco |
should it? |
# |
Oct 3rd 2016, 16:26 |
hmic |
pedroseco: your security token has changed inbetween |