# |
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 |
# |
Oct 3rd 2016, 16:24 |
pedroseco |
any reason for this? |
# |
Oct 3rd 2016, 16:24 |
pedroseco |
while debugging. |
# |
Oct 3rd 2016, 16:24 |
pedroseco |
instead of (example) pre>57f2819d-6530-4646-9ccf-2b57c0a8210a</pre |
# |
Oct 3rd 2016, 16:23 |
pedroseco |
Hi guys, using cake2.x, got a strange problem. Im setting a Cookie with a UUID using CakeText::uuid() And i see i send that data correct but when i read it on my methods it returns strange characters: oÃ?æ+Â¥ÂÂ?¹ RÂ?}Â?¢¡Ã?=~¯Â?QFúp¶±QX>ë¼ö¨Â?® |
# |
Oct 3rd 2016, 15:08 |
goldsatish |
what link mentioned in ctp ? bcz i want to change css as per language base |
# |
Oct 3rd 2016, 15:06 |
goldsatish |
when in my websites change URL that time what link |
# |
Oct 3rd 2016, 15:05 |
goldsatish |
sir one last question |
# |
Oct 3rd 2016, 15:05 |
Neon1024 |
slackebot1: <flangofas> just go here: http://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html |