Re: Cake 2.1 Method Cache

2012-05-06 Thread Mika
The array has 500,000 entries in the [name] index! -- 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 em

Cake 2.1 Method Cache

2012-05-06 Thread Mika
Is it normal for /app/tmp/cache/persistent/ [cacheprefix]_cake_core_method_cache to be around 20MB in size? -- 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 rel

CakePHP 2.1.1 Performance

2012-04-27 Thread Mika
Since we upgraded our web application to Cake 2.1.1 it has literally killed our server several times. In WHM the "Server load (4 CPUs)" under Service Status runs above 15 the entire time, and spikes up to 50 and as high as 70, at which point the server basically dies. The same application under ex

Re: Will CakePHP be able to survive as the Zend Framework matures?

2007-12-19 Thread Mika
I doubt you're going to get a fair (or rather unbiased) answer posting in the cakephp forum. Maybe post in a more general php forum? Mika On Dec 17, 6:59 am, Action <[EMAIL PROTECTED]> wrote: > I've always used Cake as my primary framework, but the Zend Framework > seems t

Re: Changes to SecurityComponent - every form I submit gets blackholed

2007-05-24 Thread Mika
e with the database trace, and even if I put statements like die('here') in my action, it would never hit it so I was getting pretty confused for a while ;) Loving 1.2 though, and I can't wait for it to become stable. Cheers, Mladen (Mika) On May 23, 4:20 pm, "Larry E. Masters

Re: Changes to SecurityComponent - every form I submit gets blackholed

2007-05-23 Thread Mika
Hey Larry, Could you maybe explain the process if we use hand-written forms as I do not use the Forms helper at all. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group,

Re: Best Practices: Toggle Item In Element

2007-03-16 Thread Mika
One mistake - isset() also returns false if the variable is set to null. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscrib

Re: Best Practices: Toggle Item In Element

2007-03-16 Thread Mika
Check the example at http://www.php.net/manual/en/function.empty.php#id7108863 Basically isset() checks whether a variable has been set at all, no matter the value, while empty() considers the following all to mean "empty": "" (an empty string) 0 (0 as an integer) "0" (0 as a string) NULL FALSE a

Re: Gettext unstable ¿?

2007-03-13 Thread Mika
That might work for some short stings, but I would want to keep translated data from the database also in the database. For example whole articles that are translated. There must be a better way? --~--~-~--~~~---~--~~ You received this message because you are subs

Re: Gettext unstable ¿?

2007-03-13 Thread Mika
Brilliant, thanks for the reply. Any idea about the db questions? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: New Cake FAQ

2007-03-12 Thread Mika
Q: Why cant I use an action called list? (I remember you guys had this question posted like 50,000 here before) Q: How do I use the gettext functionality? Q: How do i do i18n and L10n? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Gettext unstable ¿?

2007-03-12 Thread Mika
I would like help with i18n as well. I do not know how the gettext and the translation works in cakephp and have not been able to figure it out by looking at the code. Could someone please write a little example? I can see we need to use _('') for static strings, but how are the .po files created

Re: Cake Recipes cancelled

2007-03-09 Thread Mika
As far as I know they can't stop anyone talking or mentioning CakePHP as per the 'Fair Use' defense. Check http://en.wikipedia.org/wiki/Fair_use_%28US_trademark_law%29 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Error At Top Of Every Page

2007-01-25 Thread Mika
I think the original problem was that you uncompressed the cakephp files without using the "full directory" option. Those directories are in the compressed zip but they are empty so if you don't set that option (which is usually on by default in most compression software) then it will just ignore

Re: Retrieving associated models: Why several SELECTs instead of one JOIN ?

2007-01-12 Thread Mika
Well if you had it in one query, then every product's data would be duplicated for each subproduct it has. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake

Re: Need multiple recursive levels

2006-10-16 Thread Mika
There already is a ticket for what he's talking about: https://trac.cakephp.org/ticket/980 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups

Re: Email Validations

2006-09-27 Thread Mika
Ha, it's as simple as: /\\A(?:^|([a-z0-9][a-z0-9_\\-\\.\\+]*)@([a-z0-9][a-z0-9\\.\\-]{0,63}\\.(com|org|net|biz|info|name|net|pro|aero|coop|museum|[a-z]{2,4}))$)\\z/i' Notice the | (9th char from the left) Please, notify me if I'm wrong, but it seems to work for me. --~--~-~--~~

Re: Email Validations

2006-09-27 Thread Mika
Ha, it's as simple as: /\\A(?:^|([a-z0-9][a-z0-9_\\-\\.\\+]*)@([a-z0-9][a-z0-9\\.\\-]{0,63}\\.(com|org|net|biz|info|name|net|pro|aero|coop|museum|[a-z]{2,4}))$)\\z/i' Notice the | (9th char from the left) Please, notify me if I'm wrong, but it seems to work for me. --~--~-~--~~

Email Validations

2006-09-27 Thread Mika
Could one of you regex guru's please help me? I need this regex: /\\A(?:^([a-z0-9][a-z0-9_\\-\\.\\+]*)@([a-z0-9][a-z0-9\\.\\-]{0,63}\\.(com|org|net|biz|info|name|net|pro|aero|coop|museum|[a-z]{2,4}))$)\\z/i' which is the VALID_EMAIL regex, to return true if the field is empty. In other words the

Re: Deployment tools

2006-09-21 Thread Mika
There's always ANT, NANT and MSBUILD. They all have FTP extensions for them. Ant: http://ant.apache.org/ (Java) Nant: http://nant.sourceforge.net/ (.NET) Msbuild: http://msdn2.microsoft.com/en-us/library/wea2sca5.aspx (.NET + VS2005) MSBUILD comes with Visual Studio 2005 which is great if you're

Re: exit() after redirect

2006-09-21 Thread Mika
This is exactly why I asked the question in the first place. I see that exit() seems to be recommended all over the place, but people should realise that it will stop the flow of cake totally at that spot. This is usually not a problem, as Nate said, but if you've set some callbacks or something

Re: exit() after redirect

2006-09-21 Thread Mika
Shouldn't people actually be calling return instead of exit? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this

Re: IMPORTANT CakePHP Security Fix

2006-09-06 Thread Mika
Half a dozen? I only know of 2, linking directly to the controller and using set. Which others are there? Also, you say the session helper provides an interface but then isn't that the same as linking the controller to the view? It's also just an interface. --~--~-~--~~~

Re: NiftyCube and Cakephp: Not working

2006-09-06 Thread Mika
Another option is to use Jquery and it's round corners plugin: http://jquery.com/ http://jquery.com/plugins/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to ca

Re: IMPORTANT CakePHP Security Fix

2006-09-06 Thread Mika
Someguy has a point. If you take out the link to the controller, the helpers will not have access to the controllers and components either. Right? If this is the case then the session helper is breaking that rule itself. --~--~-~--~~~---~--~~ You received this me

Re: NiftyCube and Cakephp: Not working

2006-09-06 Thread Mika
Why not use Rossoft's corner helper. http://rossoft.wordpress.com/2006/06/04/rounded-corners-helper/ It uses Curvy Corners instead of NiftyCube but it works well. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cak

Re: Having the Controller be the action

2006-08-24 Thread Mika
The best way would be to create a pictures controller and put a view function in that. Using the default way your url will be like domain.com/pictures/view/#id if you want to change that, you can always create a route which points to the action in a different way. in config/routes.php: $Route->c

Re: Eclipse and CakePHP

2006-07-25 Thread Mika
One way to add the .chm file is as an external tool. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, s

Re: Save Date < 1970

2006-07-21 Thread Mika
You could use the adodb_date library by putting it in the vendors folder. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscri

Re: Save Date < 1970

2006-07-21 Thread Mika
You could use the adodb_date library by putting it in the vendors folder. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscri

Re: flash and FlashOut

2006-07-14 Thread Mika
I think it only redirects when Debug is set to 0 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: Project management software

2006-07-13 Thread Mika
I've used NetOffice before - which can integrate with the Matis bug tracker software. Also do a search on SourceForge for collaboration/project management software. The other option is to use Trac as you've stated. You can structure the wiki whichever way you like. But it can get a bit tedious fo

Re: Setting up cake php

2006-07-13 Thread Mika
Is that good practice? Isn't there any way to overcome this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this

Re: HTML / Form helper... what the?

2006-07-12 Thread Mika
In an XHTML textarea, rows and columns are mandatory so it's probably better to leave it there anyway. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@

Re: Subdomains as Controllers

2006-07-11 Thread Mika
You might also want to look at this thread about wildcard dns' http://groups.google.com/group/cake-php/browse_thread/thread/8fef8e12c622365f/# --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To pos

Re: Cake test suite problems / not detected by bake script

2006-07-10 Thread Mika
I'm also getting this error. I think there is an error with the TESTS define as well. Does anybody have any idea when a new version of the test suite will be released? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Question about CakePHP controller.... I don't get it

2006-07-10 Thread Mika
yup. If you want to use more than one table then use: eg: var $uses = array('user', 'post'); Of course if users are linked to posts in the model then you could use eg: var $uses = array('user'); and then get posts through the user like eg: $posts = $this->user->post->findAll(); --~--~

Re: Is there anyone who integrate CakePHP with Prado?

2006-07-07 Thread Mika
Also you could do MVC in .NET if you wanted to. Go check out the Castle.Net project's MonoRail (http://www.castleproject.org/index.php/MonoRail) for something similar to ruby-on-rails and cakephp. The fact that .NET out of the box works with a front-controller pattern can't be held against it. Th

Re: cool editors for using with cakephp

2006-07-05 Thread Mika
I used to use and be very happy with Eclipe and the Trustudio eclipe plugin, but nowdays I use ActiveState's Komodo. It's a commercial editor but it's really good if you've got the cash. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: CakePHP Built-in Webservices?

2006-07-04 Thread Mika
Actually I'm quite interested in this too. Could you maybe please give a proper working example with using soap? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to

Re: Hi, I'm a newbie, where do I report an error in the manual

2006-07-03 Thread Mika
It would help if I actually read your post though :) You can override functions in AppController by creating an app_controller.php file in your apps directory. Search through this group to see exactly how. So in other words it's not a bug per se, maybe just an omission. --~--~-~--~

Re: Hi, I'm a newbie, where do I report an error in the manual

2006-07-03 Thread Mika
Go to https://trac.cakephp.org and create a new documentation ticket. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe f

Re: View cache

2006-06-28 Thread Mika
Hi AD7six, How are you testing this. When I run a view I still see the sql trace at the bottom which makes me think that it's not running (with debug=2). I _do_ see the file in the folder, but even with debug =0 I don't really experience any speed up. --~--~-~--~~~--

Re: View cache

2006-06-26 Thread Mika
I'm getting the same results. Anyone wish to comment? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,

Re: Standalone Model

2006-06-21 Thread Mika
I think the latest release of adodb also supports active record (although I don't think it supports associations). http://adodb.sourceforge.net/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To p

Re: Delete multiple Rows / Empty Table?

2006-06-18 Thread Mika
You don't get a conditional truncate. If you need conditions, you need to use delete. Truncate is only used for deleting ALL the data in the database (very quickly in some instanes). See http://dev.mysql.com/doc/refman/5.0/en/truncate.html for the mysql truncate command. --~--~-~--~

Re: CakePHP Wiki: In Loving Memory

2006-06-15 Thread Mika
In that list only bakery. CakeForge is gforge (http://gforge.org/) Manual is docbook (http://www.docbook.org/) Api is doxygen (http://sourceforge.net/projects/doxygen/) Trac is trac (http://www.edgewall.com/trac/) --~--~-~--~~~---~--~~ You received this message b

Re: Moving /pages/ to /

2006-06-14 Thread Mika
Woudln't this be quicker to do in the .htaccess file? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,

Re: popular framework?

2006-06-08 Thread Mika
Which .htaccess file were you referring to, considering there are so many? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscr

Re: Who's coming from ASP .net to Cake ?

2006-06-08 Thread Mika
I'm not sure what you find so tedious in that code considering that it would be pretty much exactly the same in ASP.NET. Just substitute Control.Text = "blah" for the $this->set commands :) --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: OpenID implementation in CakePHP

2006-06-06 Thread Mika
Check this: http://www.openidenabled.com/openid/libraries/php --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this

Re: CakePHP Manual 1.x.x.2997

2006-06-04 Thread Mika
Done. Updated cake-manual.chm and cake-api.chm. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send e

Re: Cake Software Foundation Certification

2006-06-01 Thread Mika
I would be interested in what the response it. Actually I'm sure a lot of people on this group would be. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-ph

Re: Help me out on my SQL syntax please

2006-05-28 Thread Mika
To me it seems that you are using the wrong character to denote table and field names. It should be ` (to the right of 1 on your keyboard) and not ' (on the same key as "). Unless of course you changed it for this post, which I doubt. --~--~-~--~~~---~--~~ You rec

Re: Google Maps + CakePHP Recipe

2006-05-25 Thread Mika
Nice work! Maybe you should post this on cakeforge.net as a snippet, or on wiki.cakephp.org? It will get lost quite soon here on the group. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post

Re: New templating component: "Icing"

2006-05-23 Thread Mika
This looks brilliant. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PRO

Re: CakePHP Manual 1.x.x.2819

2006-05-22 Thread Mika
Api's there now too... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED]

Re: Unit Testing

2006-05-19 Thread Mika
The component has been moved out of the main core into it's own project at cakeforge.org: http://cakeforge.org/projects/testsuite/ There are no files there yet though. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Unit Testing

2006-05-19 Thread Mika
The component has been moved out of the main core into it's own project at cakeforge.org: http://cakeforge.org/projects/testsuite/ There are no files there yet though. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Saving related model data

2006-05-18 Thread Mika
Create documentation bug at https://trac.cakephp.org/ticket/827 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from th

Re: Saving related model data

2006-05-18 Thread Mika
That's true. I think the manual should definitely explain this process more as it is quite common. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@goog

Re: Using a Model in a Layout or Helper

2006-05-18 Thread Mika
You could use an element on the layout and then in the element call $this->requestAction which would call another view. It can be a bit tedious but it's maybe a "cleaner" way. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Automatically generating 's?

2006-05-16 Thread Mika
Hmm. Do something like this: "; echo $row['data']; echo ""; if ( ($num % 3) == 0) echo ""; $num++; } ?> The 3 in the above code will dictate how many columns you will have until each is written. You could put this code into a helper yourself. --~--~-~--~~-

Re: Routes question

2006-05-14 Thread Mika
As far as I know, that names paramater is only used on the Pages controller. I think though that it should be documented better as there is no mention of it in the manual or the api. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: square(croped) thumbnails

2006-05-13 Thread Mika
Another: http://cakeforge.org/snippet/detail.php?type=package&id=1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: Helpers not available in my layout

2006-05-12 Thread Mika
Could be a problem with case? Try $helpers = array('html', browser'); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe f

Re: What kind of code is appropriate for a view?

2006-05-11 Thread Mika
Anytime :) I find that most of the time, questions like that have always been answered better than I could ever answer them. The trick is knowing where to look for them :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

Re: What kind of code is appropriate for a view?

2006-05-11 Thread Mika
Also the php4 version of the scope operator docs is here http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send em

Re: What kind of code is appropriate for a view?

2006-05-11 Thread Mika
Check these two pages: http://www.php.net/manual/en/language.oop5.paamayim-nekudotayim.php http://www.php.net/manual/en/keyword.parent.php --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to

Re: liens cachés réservés à l'administrateur

2006-05-11 Thread Mika
http://groups.google.com.vn/group/Cakephp-fra --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send ema

Re: Single field, multiple validation errors

2006-05-11 Thread Mika
To clarify, once using the advanced validation, you can add the validation needed to the model even if the field is not in the table. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this

Re: Single field, multiple validation errors

2006-05-11 Thread Mika
Use the advanced validation found at http://wiki.cakephp.org/tutorials:advanced_validation --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups

Re: Record locking at the model level

2006-05-11 Thread Mika
You could do some manual work using timestamps and such. So in other words, you read in the record and check whether the timestamp has been modified since the current user has worked on it, if so return an error message. It can get a bit complicated in the implementation but this is how it used t

Re: Getting Bake.php to work

2006-05-11 Thread Mika
Ok, a bit more info. You need to put the path to your php.exe file in your PATH environment. Once you do that, open a cmd window and go to the /cake/scripts directory. Once there just type "php bake.php". --~--~-~--~~~---~--~~ You received this message becaus

Re: Using routes to change the controller

2006-05-10 Thread Mika
What about plugins? Don't they do what you want? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: CakePHP Manual 1.x.x.2806

2006-05-10 Thread Mika
hehe /me too. We're glad to be able to help in our own little way :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe

Re: CakePHP Manual 1.x.x.2806

2006-05-09 Thread Mika
Api done too. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more

Re: CakePHP Manual 1.x.x.2806

2006-05-09 Thread Mika
cake-manual.chm released. Go get it... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [

Re: can't make module rewrite works

2006-05-09 Thread Mika
Also make sure thay AllowOverride is not None. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send em

Re: Scaffold: How to draw a SELECT OPTION for a filed having parent_id with the same Table

2006-05-09 Thread Mika
What response did you get? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTEC

Re: Scaffold: How to draw a SELECT OPTION for a filed having parent_id with the same Table

2006-05-09 Thread Mika
sorry that was supposed to be bake.php was broken. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, se

Re: Scaffold: How to draw a SELECT OPTION for a filed having parent_id with the same Table

2006-05-09 Thread Mika
Well if you're using the latest build (because build.php was pretty broken for a while) you can go to your /cake/scripts directory and run "php bake.php" from there. This is assuming that you have the path to your php.exe in your path environment variable. --~--~-~--~~~--

Re: Scaffold: How to draw a SELECT OPTION for a filed having parent_id with the same Table

2006-05-08 Thread Mika
Look at how category is done in this model: https://trac.cakephp.org/wiki/BuildingCakeBakery/Models --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@goo

Validations

2006-05-08 Thread Mika
Hi Guys, Is there any way to piggy-back off the validations on the model to validate fields that are not in the table? Other than doing it manually of course ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Re: How to change layout for plugins errors

2006-05-08 Thread Mika
Well considering that it seems to be quite needed functionality, maybe someone should create a tran enchancement for it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send

Re: MVC 101? Please forgive this really basic question

2006-05-08 Thread Mika
The fact is that it is _used_ in the controller. The controller is getting data back from the model which is the way MVC works. The other important thing to note is that findAll is _defined_ in the model. --~--~-~--~~~---~--~~ You received this message because you

Re: Cake and Plesk or other Managed Hosting software

2006-05-07 Thread Mika
Maybe you should post this as a bug on trac? (https://trac.cakephp.org/) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscrib

Re: Extending the blog tutorial to include login?

2006-05-07 Thread Mika
For an example of it check rdBloggery from http://cakeforge.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from t

Re: How would I make a site with "modules?"

2006-05-07 Thread Mika
Well you might want to look up layouts and elements in the manual. http://manual.cakephp.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegro

Re: Are you ready for the best Cake yet?

2006-05-01 Thread Mika
Wow - the new site looks really great! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [

Re:

2006-05-01 Thread Mika
Also make sure that the curl extension is enabled in your php. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from thi

Re:

2006-04-30 Thread Mika
You could do so using curl I think or maybe by publihing an rss from cake and then parsing it on your other site. Of course you'd probably have an easier time just reading the db directly. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: how to configure the $scaffold?

2006-04-29 Thread Mika
I know exactly what Nate's gonna say: "Scaffolding is just for prototyping, not for production use". :) In that case there is no need to remove any buttons. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP"

Re: Controller Relationship Many-to - Many

2006-04-28 Thread Mika
What does it do or what error message do you get? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: Multiple FKs to same model

2006-04-28 Thread Mika
I think you need to give the different bleongsTo associations different names as well as state their different foreign keys, but the class names must be the same. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Re: What printing solution should I use?

2006-04-24 Thread Mika
Well since Office 2003 (maybe even 2000) Excel (and all other Office Apps) have an XML file format, so you could use XML and XSL to create a nice excel report. Here are some links on this: http://www.codeproject.com/useritems/ExcelXmlReport.asp http://blogs.msdn.com/brian_jones/archive/2005/06/27

Re: Rendering HTML entities within link helper

2006-04-22 Thread Mika
link(' » All Projects','/projects', null, true);?> if I remember right. The 3rd (or maybe second) parameter is to not escape. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group,

Re: model->findBySql not returning expected resultset

2006-04-21 Thread Mika
He's expecting more than just 1 record though. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send em

Re: CakePHP Manual 0.10.x.2505

2006-04-19 Thread Mika
cake-manual.chm posted. Will update api asap. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send ema

Re: Clean install, confused about path settings

2006-04-18 Thread Mika
Hmm, come to think of it I've also experienced this problem too. Please let me know if you resolve it in any way. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email t

  1   2   >