Re: How do I typically migrate a CakePHP app?

2011-07-28 Thread Johan
CakePHP 2.0 is not yet finished. If you migrate now to 2.0 you will probably have to update your site with each release until they get to the stable version. Cheers, - Johan On Fri, Jul 29, 2011 at 1:37 AM, 24z wrote: > Dear group, > > I've just build my first CakePHP app (gpc.fm) and love the

RE: CakePHP 1.3.11 and 2.0.0-beta released

2011-07-28 Thread Meroe Kush
I've been using the beta since it was released a few days ago and so far no issues. I have not done any real meaningful benchmarks, but the application does feel snappier if that makes sense. Thanks! From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of Matthew Ka

RE: Media Views

2011-07-28 Thread Meroe Kush
If i recall correctly you need to set the mimetype as well. Add the line below and let me know if it helps. 'mimeType' => array('pdf' => 'application/pdf'), -Original Message- From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of UprightDog Sent: Thursday, Jul

Media Views

2011-07-28 Thread UprightDog
I'm trying to get Media Views up and running, to download PDFs. I'm on a completely new and fresh CakePHP install. This is my action: function download() { $this->autoRender = false; $this->view = 'Media'; $params = array( 'id' => 'test.pdf', 'na

Re: CakePHP 1.3.11 and 2.0.0-beta released

2011-07-28 Thread Matthew Kaufman
Thank you, I have been waiting for this release -- Matt Kaufman, 23, NYC http://mkfmn.com/ On Thu, Jul 28, 2011 at 12:46 PM, mark_story wrote: > Generally after a beta any existing functionality should stay the > same. New features will probably work their way in. But what is > already there

How do I typically migrate a CakePHP app?

2011-07-28 Thread 24z
Dear group, I've just build my first CakePHP app (gpc.fm) and love the framework. Being such a newbie, I've got what might be a very basic question: What does upgrading, e.g. to 2.0, typically involve besides possible code changes in _my_ part of the code? Do I basically just copy the /cake folde

Re: Internationalizing Validation Rules Messages in 2.0

2011-07-28 Thread Javier
Hey guys, thanks for your inputs! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+

Google+ Counter at gpc.fm

2011-07-28 Thread 24z
Just wanted to let the community know that large parts of my hugely popular Google+ Counter at http://gpc.fm and specifically the list feature at http://gpc.fm/lists have been built using the awesome CakePHP framework! Cheers, -Ralf http://twitter.com/24z | http://profiles.google.com/ralf.rottman

Re: Combos Country & Province

2011-07-28 Thread eraonline
Is it ok? array( 'className' => 'Provincia' ) ); var $validate = array( 'nombre' => array('rule' => 'notEmpty') ); } ?> array( 'className' => 'Pais' ) ); var $validate = array( 'nombre' => array('rule' => 'notEmpty') ); } ?> -- Our newest site for the communit

Combos Country & Province

2011-07-28 Thread eraonline
Hello! I have two combos: Countries and Provinces. When the user select an country, I want to filter the provinces. Can you help me to build the Model, Controller and View? Thanks! era -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakeP

Re: CakePHP 1.3.11 and 2.0.0-beta released / any documentation

2011-07-28 Thread Vitor Pacheco
the documentation is here https://github.com/cakephp/docs 2011/7/28 Serkan Sipahi > hi there, > any documentation about cakephp 2.0 ? > > sipatshi > > -- > ** > Generally after a beta any existing functionality should stay the > same. New features will probably work

Re: multi-language site

2011-07-28 Thread leafchild book
So all pages are in Japanese. I put this code "Configure::write('Config.language', 'ja');" to - core.php - in app_controller.php in function beforeFilter() {} - in my_controller.phpfunction beforeFilter() {} still page is translated to EN and if I access site my domain.com/en/my then still page i

Re: CakePHP 1.3.11 and 2.0.0-beta released / any documentation

2011-07-28 Thread Serkan Sipahi
hi there, any documentation about cakephp 2.0 ? sipatshi Generally after a beta any existing functionality should stay the same.  New features will probably work their way in.  But what is already there shouldn't change too much unless there are serious problem

Re: CakePHP 1.3.11 and 2.0.0-beta released

2011-07-28 Thread mark_story
Generally after a beta any existing functionality should stay the same. New features will probably work their way in. But what is already there shouldn't change too much unless there are serious problems. -Mark On Jul 27, 5:22 am, Jens Dittrich wrote: > Great Job! > > I would like to know if t

Re: CakePHP 1.3.11 and 2.0.0-beta released

2011-07-28 Thread mark_story
One big reason for the number jump is 2.0 is not backwards compatible with 1.3. In the past people have complained that the jump from 1.1 to 1.2 was much larger than the version number implied. Instead of repeating that, it made more sense to increment the major version number to better reflect t

Re: cakephp 1.3 loading page is slow

2011-07-28 Thread leafchild book
actually, I installed 2 cakephp at same server. One I installed to sub-domain side is ok but the other installed to webroot dir is slow. On Thu, Jul 28, 2011 at 4:44 AM, AD7six wrote: > > > On Jul 28, 7:26 am, euromark wrote: > > yeah, probably a cheap webhosting package on a shared environm

Re: Strange login problem

2011-07-28 Thread CaStarCo
2011/7/28 castarco > Hello. I'm having strange problems with the login feature... but in a > strange way, while it runs on my local installation, it doesn't work > in the production server... > > What I expect of the code: the users fill the login form, click login > and then is called the login

Strange login problem

2011-07-28 Thread castarco
Hello. I'm having strange problems with the login feature... but in a strange way, while it runs on my local installation, it doesn't work in the production server... What I expect of the code: the users fill the login form, click login and then is called the login action of users controller. If t

Re: Mobile url,, please help!!!!

2011-07-28 Thread Johan
What you need is to read the prefix routing on the cake cookbook: http://book.cakephp.org/view/945/Routes-Configuration#Prefix-Routing-950 Anyway, you only have to add these lines at the end of your routes.php: Router::connect('/m/:controller/:action/*', array('prefix' => null)); Router::connect(

Re: cakephp 1.3 loading page is slow

2011-07-28 Thread AD7six
On Jul 28, 7:26 am, euromark wrote: > yeah, probably a cheap webhosting package on a shared environment > sounds like it, anyway. based on what? AD > correct me if i'm wrong > > mark > > On 28 Jul., 08:45, WyriHaximus wrote: > > > > > Tbh it's worth the time to find out why a simple static p

Re: cakephp 1.3 loading page is slow

2011-07-28 Thread euromark
yeah, probably a cheap webhosting package on a shared environment sounds like it, anyway. correct me if i'm wrong mark On 28 Jul., 08:45, WyriHaximus wrote: > Tbh it's worth the time to find out why a simple static page is > extremely slow rather then just wack the html_cache plugin in the > mix

Re: multi-language site

2011-07-28 Thread gloop
Hi, ok i didn't know whats the problem is. When you want that i take a look come to http://www.stinto.net/jk9hn its a private chat. Then i help you there :) On 28 Jul., 02:32, leafchild book wrote: > "Configure::write('Config.language', 'ja');"  is NOT working. > > Yes I have "default.po"  at a

Re: CakePHP 1.3.11 and 2.0.0-beta released

2011-07-28 Thread Ryan Snowden
Great work, can't wait to dive into it :) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to ca

Re: CakePHP 1.3.11 and 2.0.0-beta released

2011-07-28 Thread Dr. Tarique Sani
On Wed, Jul 27, 2011 at 4:55 AM, Sam Sherlock wrote: > > http://cakephp.lighthouseapp.com/projects/42648/development-roadmap > https://github.com/cakephp/docs/blob/master/en/appendices/2-0-migration-guide.rst Cool - thanks, wonder how I had missed this till now Tarique -- =