Re: Composer and Cake lib folder

2015-07-13 Thread euromark
That is actually how you are *supposed* to do it. the vendors including the cake core should never be commited and tracked. See https://github.com/dereuromark/cakefest for an example implementation (both 2.x and 3.x composered). mark Am Sonntag, 12. Juli 2015 13:23:06 UTC+2 schrieb

Re: Hide folder in url

2015-07-13 Thread michel martins
Can I configure this option in ROUTES? How? Em sexta-feira, 10 de julho de 2015 18:36:09 UTC-3, michel martins escreveu: Hi people, I use cakephp and I have a domain www.site.com.br/new and i will like the user see www.site.com.br . I made in .htaccess, but don't is working. Can anybody

Re: Check tax code (fiscal code) when insert a user

2015-07-13 Thread John Andersen
If you are storing the fiscal code in a database, make the column unique and then the database will inform you if you are trying to insert a fiscal code that already exists. Enjoy, John On Tuesday, 30 June 2015 21:27:38 UTC+3, Andrea Manca wrote: Hi all, i'm new to cakephp and i use the 3

Re: Assets via IP working but not with domain

2015-07-13 Thread John Andersen
Hi Sven Have you fixed your issue? In case you have, what was the solution? In the case you haven't - when you access it via IP how exactly are you doing that? http://-ip address- or something else? How are you trying to access it using the URL? Enjoy, John On Tuesday, 30 June 2015 12:12:21

Re: cakephp ajax pagination

2015-07-13 Thread euromark
There are many different (and easy ways), IMO the best way would be one that also allows a fallback (non js in case js is broken or for google bot etc) see http://sandbox3.dereuromark.de/sandbox/ajax-examples/pagination for an example in cake3. mark Am Sonntag, 12. Juli 2015 13:23:07 UTC+2

Re: XML output

2015-07-13 Thread John Andersen
Take a look in the CakePHP book 2.x at this location http://book.cakephp.org/2.0/en/views/json-and-xml-views.html#using-a-data-view-with-view-files The solution is written in the class XmlView section :) Enjoy, John On Tuesday, 30 June 2015 16:43:25 UTC+3, Juan Ezquerro LLanes wrote: I'm