# |
Oct 4th 2016, 11:07 |
ndm |
@k4t Without knowing your specific use case: http://stackoverflow.com/questions/3577641/how-do-you-parse-and-process-html-xml-in-php |
# |
Oct 4th 2016, 11:04 |
k4t |
I want to find div and remove its content |
# |
Oct 4th 2016, 10:51 |
Speud1 |
@k4T, depends what you want to do ;) |
# |
Oct 4th 2016, 10:29 |
sonu_nk |
hi , when i am calling Router::url( $this->referer(), true ) it is throwing error Router class could not found.. |
# |
Oct 4th 2016, 10:26 |
k4t |
I need to remove some divs from Html string |
# |
Oct 4th 2016, 10:26 |
k4t |
what should I use to parse html strings in Cake3? |
# |
Oct 4th 2016, 10:07 |
dereuromark |
The first solution is the quick hack :slightly_smiling_face: |
# |
Oct 4th 2016, 10:07 |
dereuromark |
But a cleaner solution could be your own renderer: http://book.cakephp.org/3.0/en/development/errors.html#extending-and-implementing-your-own-exception-handlers |
# |
Oct 4th 2016, 10:07 |
dereuromark |
It is possible that it only allows 400 and 500 customization by default, you would need to switch inside that 400.ctp manually maybe |
# |
Oct 4th 2016, 10:05 |
dereuromark |
that's weird |
# |
Oct 4th 2016, 10:04 |
dereuromark |
if found it will use a custom layout, otherwise the default one |
# |
Oct 4th 2016, 10:03 |
dereuromark |
401 is probably the code for your exception right? |
# |
Oct 4th 2016, 10:03 |
dereuromark |
look in the Error folder, there should be errorxxx.ctp things |
# |
Oct 4th 2016, 10:01 |
hmic |
you can render a view manually, sure. |
# |
Oct 4th 2016, 09:55 |
hmic |
you should have the data in the response already |
# |
Oct 4th 2016, 09:55 |
hmic |
no |
# |
Oct 4th 2016, 09:45 |
jay |
dakota noted,thanks dude |
# |
Oct 4th 2016, 09:44 |
dakota |
but just be aware, nodejs is better suited as a websocket server |
# |
Oct 4th 2016, 09:44 |
dakota |
Take a look at reactphp |
# |
Oct 4th 2016, 09:44 |
jay |
oo |
# |
Oct 4th 2016, 09:44 |
jay |
dakota run - use case: When a client POSTS a new note against entity, other clients viewing that entity view it immediately |
# |
Oct 4th 2016, 09:44 |
dakota |
http://slides.com/wyrihaximus/getting-started-with-reactphp-cakfest-2016 |
# |
Oct 4th 2016, 09:42 |
dakota |
jay, do you want to connect to a websocket, or run a websocket server? |
# |
Oct 4th 2016, 09:41 |
jay |
Any recommendations for websocket libraries for use within cake? |
# |
Oct 4th 2016, 09:41 |
cakephp424 |
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f </IfModule> |
# |
Oct 4th 2016, 09:40 |
cakephp424 |
you can try it with a particular .htaccess inside a folder in webroot |
# |
Oct 4th 2016, 09:38 |
cakephp424 |
slacekebot1, is a resource (zip, image etc...) or is onloy an html page ? |
# |
Oct 4th 2016, 09:36 |
rudy1976s |
How can I access in url on a resource on webroot ? |
# |
Oct 4th 2016, 09:35 |
cakephp424 |
anyone can help me about that ? |
# |
Oct 4th 2016, 09:35 |
cakephp424 |
i'm trying to set a header param like a token but i don't know how to set it in a testAction |
# |
Oct 4th 2016, 09:35 |
cakephp424 |
i'm trying to make a new test in cakeph using cakephp2 and unit testing, i'm a little noobie about that |
# |
Oct 4th 2016, 09:34 |
cakephp424 |
hi there |
# |
Oct 4th 2016, 09:23 |
bernat1 |
dakota, oh, sorry, my issue was somwhere else. thanks anyway. |
# |
Oct 4th 2016, 09:22 |
dakota |
yup, no issues with shells |
# |
Oct 4th 2016, 09:22 |
bernat1 |
dakota, do your shells keep working? |
# |
Oct 4th 2016, 09:21 |
JohnWayne |
Is there option to cascade Update fields (like Cascading Deletes) ? |
# |
Oct 4th 2016, 09:20 |
dakota |
It hasnâ??t as far as I know |
# |
Oct 4th 2016, 09:20 |
bernat1 |
Hi. When has the Shell changed to camelized method names for subcommands? |
# |
Oct 4th 2016, 09:19 |
dakota |
Thatâ??s what the docs say to run, so, yes, itâ??s probably right :slightly_smiling_face: |
# |
Oct 4th 2016, 09:19 |
sonu |
bcz i m new in cakephp3 |
# |
Oct 4th 2016, 09:19 |
sonu |
i m just asking this one correct way.. |