Re: Tip: FormHelper can create field names like Model[][field]

2008-12-10 Thread [EMAIL PROTECTED]
PROTECTED] wrote: Hey Martin, interesting trick.  This isn't technically sactioned by the API, and could at some point change, but I agree that there needs to be a way to do this, so we'll look at formalizing one in the future. On Dec 8, 10:26 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I may

Re: Email Attachments with MIME/Support? PDF is not showing up?

2008-12-10 Thread [EMAIL PROTECTED]
@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: Ajax form FIELDS validation :-) How to?

2008-12-10 Thread [EMAIL PROTECTED]
I also have this problem... On 27 Nov, 20:48, Anna P [EMAIL PROTECTED] wrote: Hello! I have a register form with several fields, which I want to validate in real-time usingajax. Let's say that form has 4 fields: login_name, pass, confirm_pass, email. Validation rules in model User

Re: Performance crash moving to 1.2 from 1.1?

2008-12-09 Thread [EMAIL PROTECTED]
% (1348 calls) Folder-slashTerm = 7.69% (3413 calls) Folder-addPathElement = 4.42% (3312 calls) php::preg_match = 3.81% (12008 calls) That's like 51% of runtime.. On 8 Dez., 19:23, mark_story [EMAIL PROTECTED] wrote: Well testing times in debug mode is not really representative of performance

Re: Performance crash moving to 1.2 from 1.1?

2008-12-09 Thread [EMAIL PROTECTED]
Chmoded those dirs, and cake is creating some tmp files there now.. Profiled again .. in production mode with same results ;( Any other suggestions where to look? Thanks. On 9 Dez., 11:28, AD7six [EMAIL PROTECTED] wrote: On Dec 9, 11:10 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm

Re: HABTM on multiple DB---Please help me

2008-12-09 Thread [EMAIL PROTECTED]
MySql On 9 Dic, 10:17, Mauricio Morales [EMAIL PROTECTED] wrote: What kind of DB are using ? On 8 dic, 20:47, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How can I do it? On 6 Dic, 10:35, Mauricio Morales [EMAIL PROTECTED] wrote: Hi Marco, I think that you can't do

Re: Help with table relationships

2008-12-09 Thread [EMAIL PROTECTED]
email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: sorting records based on combobox selection

2008-12-09 Thread [EMAIL PROTECTED]
approach. /Martin On Dec 10, 7:27 am, Sami [EMAIL PROTECTED] wrote: hi,   i have to change paginate order query based on user selection on combo box, How to solve? .This my coding... In controller,      ...         var $paginate=array('limit'=10,'page'=1,'order'=array ('Alert.created

Help with table relationships

2008-12-08 Thread [EMAIL PROTECTED]
from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Tip: FormHelper can create field names like Model[][field]

2008-12-08 Thread [EMAIL PROTECTED]
it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group

Performance crash moving to 1.2 from 1.1?

2008-12-08 Thread [EMAIL PROTECTED]
much on the same code? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED

Re: Tip: FormHelper can create field names like Model[][field]

2008-12-08 Thread [EMAIL PROTECTED]
I may have added it to the manual... not sure since it has been acting a bit strange today and the post timed out. I will check later to see if my edit was submitted. On Dec 8, 2:59 pm, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: Sweet! Thanks for sharing this, it should probably be added

Everybody should download Neutrino CMS !

2008-12-08 Thread [EMAIL PROTECTED]
@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: upgrade from 1.2 beta to 1.2RC3

2008-12-08 Thread [EMAIL PROTECTED]
is if you close your form? $form-end() It should not affect your problem but you never know. /Martin On Dec 8, 12:25 pm, JermWorm [EMAIL PROTECTED] wrote: In my continuing effort to upgrade an app that is working on a early 1.2 beta of Cake I've now encountered another issue with the $form helper

Re: HABTM on multiple DB---Please help me

2008-12-08 Thread [EMAIL PROTECTED]
How can I do it? On 6 Dic, 10:35, Mauricio Morales [EMAIL PROTECTED] wrote: Hi Marco, I think that you can't do it with official methods, however you can implement this functionality. On Dec 5, 11:27 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have this question that I can't

Question on localization

2008-12-05 Thread [EMAIL PROTECTED]
this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

HABTM on multiple DB---Please help me

2008-12-05 Thread [EMAIL PROTECTED]
CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

multiple email validation problem

2008-12-02 Thread [EMAIL PROTECTED]
. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com

Re: custom find conditions

2008-11-28 Thread [EMAIL PROTECTED]
you're the man. thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED

custom find conditions

2008-11-27 Thread [EMAIL PROTECTED]
received this message because you are subscribed to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: Getting started with themes and static files

2008-11-27 Thread [EMAIL PROTECTED]
If your looking for an easy content management system that you can easily extend upon you might wanna look at wildflower which is a cms built in cakephp wf.klevo.sk Good luck Sean On Nov 27, 2:46 pm, Arthur Pemberton [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 7:20 PM, Dan Bair [EMAIL

Re: retrieve value of a select in the controller

2008-11-27 Thread [EMAIL PROTECTED]
 pm, pkclarke [EMAIL PROTECTED] wrote: I have an uber-noob question: My view has a select that is not associated with any models:   echo $form-select('site_id', array('1'='Site 1', '2'='Site 2'), '1', array('id' ='sites', 'label'='Site:')); How do I get the value of the select from

Re: find using HABTM relationship

2008-11-25 Thread [EMAIL PROTECTED]
habtm. This is where containable shines. You can specify conditions further down the associations and they will be used in the correct queries. /Martin On Nov 25, 11:09 am, pkclarke [EMAIL PROTECTED] wrote: Thanks to those who tried to help. I was unable to use find to retrieve the data based

Problem with cachng

2008-11-21 Thread [EMAIL PROTECTED]
read doesn't use the cache? Many Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

strange request: store view templates in one location

2008-11-20 Thread [EMAIL PROTECTED]
Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: strange request: store view templates in one location

2008-11-20 Thread [EMAIL PROTECTED]
The difference, to the client, is when you have 100+ views in 10 or 15 folders. I prefaced this whole thing with strange request, so I'm just trying to keep a client happy if the solution is not unbearable, that's all. On Nov 20, 9:49 am, AD7six [EMAIL PROTECTED] wrote: On Nov 20, 4:10 pm

Re: strange request: store view templates in one location

2008-11-20 Thread [EMAIL PROTECTED]
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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: Tutorial - How make associations between models on different database

2008-11-19 Thread [EMAIL PROTECTED]
Thi is all ok. But If I have this situation: Model A in DB A Model B in DB B Model A belongsTo Model B I make a find on Model A with a conditions on Model B. In this case I get error . How can I do in this case? Many Thanks On 8 Ott, 15:24, teknoid [EMAIL PROTECTED] wrote: The only problem

Re: Tutorial - How make associations between models on different database

2008-11-19 Thread [EMAIL PROTECTED]
I have noted from cake core (dbo_source.php) that in generation of the join of the query there is: if ($model-useDbConfig == $linkModel-useDbConfig) { So if databases for model is different the join build is bypassed. On 19 Nov, 11:01, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thi is all ok

How to set DB config settings automatically based on $_SERVER['HTTP_HOST']?

2008-11-19 Thread [EMAIL PROTECTED]
CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: How to set DB config settings automatically based on $_SERVER['HTTP_HOST']?

2008-11-19 Thread [EMAIL PROTECTED]
Nice–Thanks! On Nov 19, 11:07 pm, RyOnLife [EMAIL PROTECTED] wrote: Here's what I do: class DATABASE_CONFIG {         var $localhost = array(                 'driver' = 'mysql',                 'persistent' = false,                 'host' = '127.0.0.1',                 'login

Re: self-recursive models

2008-11-18 Thread [EMAIL PROTECTED]
I just get the same, as there are no more models associated =( On Nov 18, 10:00 am, grigri [EMAIL PROTECTED] wrote: What do you get if you set recursive to 3? On Nov 18, 7:53 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, thanks for the reply =) don't see how that matters, but sure

multiple select tags problem

2008-11-17 Thread [EMAIL PROTECTED]
, Roger. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options

self-recursive models

2008-11-17 Thread [EMAIL PROTECTED]
Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: self-recursive models

2008-11-17 Thread [EMAIL PROTECTED]
, BUT NOT all the people associated with that picture again. So what I want is the 'sister' persons of a person, the ones that appear on the same picture, but I guess cake isn't doing this to avoid loops or something, which it clearly wouldn't. Help? =S On Nov 18, 1:11 am, the_woodsman [EMAIL PROTECTED

Re: Determinate layout controller inside app_error.php

2008-11-16 Thread [EMAIL PROTECTED]
I would manage some error of my application that aren't in CakePHP's ErrorHandler and in these errors I need to know the layout On 15 Nov, 16:07, Kyo [EMAIL PROTECTED] wrote: I'm not clear on what you are trying to do but...I'm assuming you already have CakePHP's ErrorHandler class, which

Determinate layout controller inside app_error.php

2008-11-15 Thread [EMAIL PROTECTED]
are subscribed to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

problem With remotefunction

2008-11-14 Thread [EMAIL PROTECTED]
for that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake

call Remotfunction onload

2008-11-14 Thread [EMAIL PROTECTED]
CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: How to dynamically load controller based on field in database.

2008-11-13 Thread [EMAIL PROTECTED]
disclaimers) /Martin On Nov 13, 6:53 am, Nick [EMAIL PROTECTED] wrote: Basically I am using wildflower cms which is built on cakephp. It routes are setup so that / goes to the pages controller. I am building a product catalog and could simply have the urls be / products/category/product-name

Re: Ajax response includes entire html layout - why?

2008-11-13 Thread [EMAIL PROTECTED]
that is all it is. /Martin On Nov 13, 9:55 am, keymaster [EMAIL PROTECTED] wrote: I use $ajax-observeField() to update on the change of a dropdown. Don't know why I never used Firebug Net option to check the response (I guess because the ajax update is happening fine), but recently I checked

update filed based on current value

2008-11-13 Thread [EMAIL PROTECTED]
CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Help needed for inline WISIWYG editor...

2008-11-13 Thread [EMAIL PROTECTED]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options, visit this group at http

accessing other model

2008-11-13 Thread [EMAIL PROTECTED]
this message because you are subscribed to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: accessing other model

2008-11-13 Thread [EMAIL PROTECTED]
. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: Change in URL on redirection

2008-11-12 Thread [EMAIL PROTECTED]
? prefixes? But the solution is most likely in the router configuration. /Martin On Nov 12, 7:37 am, Cjo [EMAIL PROTECTED] wrote: Hi all, I am new to this part and have one problem - well not a problem, doubt actually as for me the application is working fine. Well I have an URlhttp://localhost

Re: Can CakePHP do what I need...

2008-11-12 Thread [EMAIL PROTECTED]
in a different table for each type of question: $model_name = $data['Question']['type']; $this-$model_name-findBySomething(...); /Martin On Nov 8, 1:00 am, pgraju [EMAIL PROTECTED] wrote: Thanks for the reply! To choose the correct gui element, I would, in the view (not the controller), use the same

Re: renderAction performance

2008-11-12 Thread [EMAIL PROTECTED]
Apache or something else entirely? /Martin On Nov 12, 2:07 pm, Pizgin [EMAIL PROTECTED] wrote: Hi! This is action renderPerformance: function renderPerformance() {         $time_start = getmicrotime();         for ($i=0;$i50;$i++)         {                 $this-requestAction('/menus

Re: renderAction performance

2008-11-12 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: A tip to improve speed is: Don't use requestAction with an action that renders. An action that returns data or simply echoes some string is faster. Please, show small example. My OS: Ubuntu 8.04, Apache 2.2.8. On 12 нояб, 16:29, [EMAIL PROTECTED] [EMAIL

Re: acess url only from email

2008-11-12 Thread [EMAIL PROTECTED]
the URL that they should be looking at and use requestAction (gasp!) or another similar trick to render the page. When you're done rendering remove the entry in the table and the link is dead. Just a thought. Sincerely, ~Andrew Allen On Nov 12, 10:17 am, Marcus Silva [EMAIL PROTECTED] wrote: You

Re: how to validate the empty fileds in cakephp

2008-11-12 Thread [EMAIL PROTECTED]
the validation codee there with your own and maybe see something you have missed. http://dsi.vozibrale.com/articles/view/neutrinocms-0-1-beta-has-been-released /Martin On Nov 12, 12:31 pm, sun [EMAIL PROTECTED] wrote: hello  David  can u  give some related ideas  how to solve  that problem  any

controller

2008-11-10 Thread [EMAIL PROTECTED]
are subscribed to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: Counting views of cached pages

2008-11-10 Thread [EMAIL PROTECTED]
have to be careful about any other work done in the beforeFilter and any Components you load, as all these will be initialised as well. Simon http://www.simonellistonball.com On Nov 9, 2:21 pm, Dave J [EMAIL PROTECTED] wrote: This may not be the cleanest solution, but here goes. It's a sort

Calendar with tasks

2008-11-10 Thread [EMAIL PROTECTED]
. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options, visit

Re: Using Console for Command Line (Cake Shell) Application

2008-11-08 Thread [EMAIL PROTECTED]
, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: Cake 1.2 is slow (4s...)

2008-11-07 Thread [EMAIL PROTECTED]
that as a apache module it measures only itself but as a cgi or fcgi process it may include the overhead of the cgi- wrapper. Apache also has a different worker setup for Windows that may affect memory usage. /Martin On Nov 7, 9:09 am, Remigijus [EMAIL PROTECTED] wrote: Well, I found my problem. It's

Re: Can CakePHP do what I need...

2008-11-07 Thread [EMAIL PROTECTED]
it is for the model side of things. Or, you might want to look at something like the Wizard component in the bakery. It is ideal for surveys as well. /Martin On Nov 7, 2:25 pm, pgraju [EMAIL PROTECTED] wrote: Hi all, To start off here is my idea: I want to build a survey application, users log

Re: Loosing passed arguments after validation and redirection to show errors

2008-11-07 Thread [EMAIL PROTECTED]
I am glad it worked out. Those ajax submits can have you scratching your head a lot before you realize what is going on. On Nov 7, 2:43 am, Home Boy Howy [EMAIL PROTECTED] wrote: Ok, I am a complete dork. The reason this wasn't working is because the AJAX submit wasn't going to the ACTUAL

Re: Enhancements to cakephp testing and code coverage

2008-11-07 Thread [EMAIL PROTECTED]
to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Session values not updated after an ajax call

2008-11-07 Thread [EMAIL PROTECTED]
! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options, visit this group at http

Re: is Cakephp 1.2 faster than Code Igniter ?

2008-11-06 Thread [EMAIL PROTECTED]
Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: is Cakephp 1.2 faster than Code Igniter ?

2008-11-06 Thread [EMAIL PROTECTED]
On 5 marras, 19:34, BrendonKoz [EMAIL PROTECTED] wrote: Another issue with benchmarking is that when dealing with OOP, or any code in PHP, TMTOWTDI (There's More Than One Way To Do It)...  So, to properly benchmark any framework, one would have to know each framework inside and out to take

SELECT DISTINCT using find('list')

2008-11-06 Thread [EMAIL PROTECTED]
for? Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED

Re: Cake 1.2 is slow (4s...)

2008-11-06 Thread [EMAIL PROTECTED]
Ziobe: It sounds like you are having some odd problem with that computer. I am sorry to say I have no idea of what could be the cause. If 1.2 works fine on another computer, then the oldest support answer in the world might be the only way: reinstall. On Nov 6, 12:12 pm, Ziobe [EMAIL PROTECTED

what can I do to speed up bootstrap beforeFilter ?

2008-11-06 Thread [EMAIL PROTECTED]
because you are subscribed to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: SELECT DISTINCT using find('list')

2008-11-06 Thread [EMAIL PROTECTED]
I see, I'll try that and post the results, thanks! On Nov 6, 10:36 am, teknoid [EMAIL PROTECTED] wrote: find('list') requires to fields, because it is used to build a select drop down (with value being the id, and option the name usually). You probably need find('all') + Set::extract

Re: what can I do to speed up bootstrap beforeFilter ?

2008-11-06 Thread [EMAIL PROTECTED]
It does not make much difference to the time either way actually. debug 0 results are more often down around 0.06 and debug 1 is more often around 0.08 or maybe up to 0.1 at times. On Nov 6, 8:42 pm, teknoid [EMAIL PROTECTED] wrote: You have debug at 0, I presume? On Nov 6, 2:35 pm, [EMAIL

Re: Loosing passed arguments after validation and redirection to show errors

2008-11-06 Thread [EMAIL PROTECTED]
CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

access variable in controller

2008-11-06 Thread [EMAIL PROTECTED]
to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: is Cakephp 1.2 faster than Code Igniter ?

2008-11-05 Thread [EMAIL PROTECTED]
to get a fair results of each framework's performance? Currently I'm comparing CakePHP, Codeigniter, Symfony and Zend Framework. Do you those are the essential ones? -Kalle On 28 loka, 19:39, mark_story [EMAIL PROTECTED] wrote: On Oct 27, 9:38 pm, teknoid [EMAIL PROTECTED] wrote: Here's a test

Changing the Auth-loginRedirect based on value in user model

2008-11-05 Thread [EMAIL PROTECTED]
are subscribed to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Hello friends,

2008-11-04 Thread [EMAIL PROTECTED]
are subscribed to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: Extending built-in Auth Component?

2008-11-03 Thread [EMAIL PROTECTED]
because you are subscribed to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: Before filter, the session falls

2008-11-03 Thread [EMAIL PROTECTED]
redirects after each-other. Those are unfortunately hard to reproduce at will. /Martin On Nov 3, 10:08 am, mcphisto [EMAIL PROTECTED] wrote: Well, I've a big big problem with two applications of mine. I use an authentication method made with before filter. The problem is that, after a login

Re: Another pagination problem

2008-11-03 Thread [EMAIL PROTECTED]
This has been covered numerous times before. http://groups.google.com/group/cake-php/search?q=search+pagination; If you have a specific issue related to this then please ask again. /Martin On Nov 3, 4:58 am, 0x1A4 [EMAIL PROTECTED] wrote: Hi all im relatively new to Cakephp.Currently im

Re: database is utf-8, page is utf-8, but i get weird characters

2008-11-03 Thread [EMAIL PROTECTED]
There is also an application-global encoding setting in config/ core.php On Nov 2, 8:33 pm, Dave J [EMAIL PROTECTED] wrote: Not sure why it would show up as a question mark when you generate the form with the helper, however, when connecting to the database, make sure you set the encoding

Re: Building Tagging feature in my site

2008-11-02 Thread [EMAIL PROTECTED]
This does not serve the purpose because tagging needs to be implemented on all the 3 types of entities : Posts, Teachers and Books . On Nov 1, 11:15 pm, Anupom [EMAIL PROTECTED] wrote: Please find my suggested db design below, tags: id, name types: id, name posts: id, name teachers: id

change language of setFlash()

2008-11-02 Thread [EMAIL PROTECTED]
@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Building Tagging feature in my site

2008-11-01 Thread [EMAIL PROTECTED]
to the Google Groups CakePHP 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 options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---

Re: Question about Data Sanitation in CAKEPHP

2008-10-31 Thread [EMAIL PROTECTED]
If I would sanitaze my input from javascript code? On 30 Ott, 18:57, Gwoo [EMAIL PROTECTED] wrote: The DBO layer handles proper escaping of your data to prevent SQL injection. You do not need to use Sanitize unless you are doing something out of the ordinary

Re: An OO question

2008-10-31 Thread [EMAIL PROTECTED]
Well I guess its Halloween so we can expect a few (help) vampires right? hehe! On Oct 31, 4:04 am, Calvin [EMAIL PROTECTED] wrote: Hi all, I am finding difficult to understand why this isn't working... ?php abstract class A {     protected static $property = false; # Q1     public

Re: Question about Data Sanitation in CAKEPHP

2008-10-31 Thread [EMAIL PROTECTED]
Ok Many Thanks On 31 Ott, 11:29, Dardo Sordi Bogado [EMAIL PROTECTED] wrote: If I would sanitaze my input from javascript code? No, you need to escape whenever you send dynamic content to de user (though the form helper will escape the inputs values), use the builtin h() function. echo h

Re: Looking for suggestion to filter data in cakephp

2008-10-31 Thread [EMAIL PROTECTED]
(255) default '', `created` datetime default NULL, `modified` datetime default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 On Oct 30, 5:13 pm, mario [EMAIL PROTECTED] wrote: Thanks Martin. That gave me a bit of an idea of what I'm going to do. And yes I want to know

How to manage HABTM that is reflexive?

2008-10-31 Thread [EMAIL PROTECTED]
? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options, visit this group at http

Re: HABTM in rc3 need now field id in link table.

2008-10-30 Thread [EMAIL PROTECTED]
: a composite pk has in my experience never caused any problems. I have used that since before 1.0 went stable. On Oct 29, 8:51 pm, teknoid [EMAIL PROTECTED] wrote: How else would ensure uniqueness of records if cake does not/will not support composite keys? On Oct 29, 3:42 pm, [EMAIL PROTECTED

Re: 1 Cake file, multiple apps / cake bake

2008-10-30 Thread [EMAIL PROTECTED]
but it hasn't worked for me. Neither has relative path like -app . /Martin On Oct 29, 9:52 pm, gemmes [EMAIL PROTECTED] wrote: Hi All, I have a windows tutorial which shows me how to create 1 cake folder that is used for all CakePHP localhost applications built(using WAMP). I am trying to set

Problem on Modify of AppModel

2008-10-30 Thread [EMAIL PROTECTED]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options, visit this group

Re: Problem on Modify of AppModel

2008-10-30 Thread [EMAIL PROTECTED]
Sorry I have forget to tell that with debug=2 I can see that the CAKEPHP does the correct SQL query.But I can see nothing On 30 Ott, 10:22, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I have add a function on AppModel (function try()) . With this modify when I try to make find('all

Re: Login Redirect not Redirecting

2008-10-30 Thread [EMAIL PROTECTED]
, thatsgreat2345 [EMAIL PROTECTED] wrote: I am having trouble with the redirect, I have manually inserted the username/password values, I have hashed the password with the correct security salt. However when I go to users/login and type in the username and password it does not redirect me to what I

Re: Db Design for my first Cake App

2008-10-30 Thread [EMAIL PROTECTED]
) in the users table. Or in another central table for email and created_by (= name). The email might be a good unique value for such a table. That table would then be linked to users, pois and comments. happy baking! /Martin On Oct 30, 3:13 am, pgraju [EMAIL PROTECTED] wrote: Hi all, I'm trying to create

Re: Problem with encoding when upgrading to 1.1.20

2008-10-30 Thread [EMAIL PROTECTED]
data on my website. If you find this is your problem , you can check it out: http://pensive.eimermusic.com/remember/fixing-existing-data-when-switching-character-set-in-mysql /Martin On Oct 30, 9:21 am, Sjurl [EMAIL PROTECTED] wrote: Hello, The application im developing has just upgraded from

Re: Problem on Modify of AppModel

2008-10-30 Thread [EMAIL PROTECTED]
, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry I have forget to tell that with debug=2  I can see that the CAKEPHP does the correct SQL query.But I can see nothing On 30 Ott, 10:22, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I have add a function on AppModel (function try

Re: Problem on Modify of AppModel

2008-10-30 Thread [EMAIL PROTECTED]
I find error: If I add in var $name=AppModel; there is the problem Instead If i remove this all works fine On 30 Ott, 11:23, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: At a guess I'd say that the function name try might clash with the try, catch features in php5. But I get a big fat error

Question about Data Sanitation in CAKEPHP

2008-10-30 Thread [EMAIL PROTECTED]
values.How can I do it? Many Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: Question about Data Sanitation in CAKEPHP

2008-10-30 Thread [EMAIL PROTECTED]
Is it someone can help me? On 30 Ott, 12:43, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I would use a systematic method to clean data to insert in DB. I think to use Sanitize::clean function in beforeSave(). Now my question : When I do a research in DB (for example with find) If I don't

Re: Whats the best idea to keep DB under version control or under sync with server?

2008-10-30 Thread [EMAIL PROTECTED]
Grover [EMAIL PROTECTED] wrote: I'm sorry this is not Cake related, but I feel its something which most of developers are missing. I found info about Cake migrations and think it would be too difficult to implement it in my team in short time. What tools or techniques are you using to overcome

Re: Looking for suggestion to filter data in cakephp

2008-10-30 Thread [EMAIL PROTECTED]
a few more boring details of the implementation. /Martin On Oct 30, 3:43 pm, mario [EMAIL PROTECTED] wrote: Hello everyone, I'm planning to include filters in my new project wherein it will allow the user to filter or show only the information that he/she wants. Of course there would

Re: HABTM in rc3 need now field id in link table.

2008-10-30 Thread [EMAIL PROTECTED]
price. On Oct 30, 4:30 pm, teknoid [EMAIL PROTECTED] wrote: Doesn't even matter so much in terms of cake. It's a simple DB design issue. Each record must (should really) have a unique identifier. Considering cake doesn't support compound (or composite) keys it makes the 'id' (primary key column

Re: HABTM in rc3 need now field id in link table.

2008-10-29 Thread [EMAIL PROTECTED]
('column'= array('article_id', 'tag_id'), 'unique'=1)) ); /Martin On Oct 28, 3:56 pm, Alexandru [EMAIL PROTECTED] wrote: no no in rc2 this was on manual Recipe HABTM Tag  = recipes_tags.recipe_id, recipes_tags.tag_id BUT now they changed in manual and put this Recipe HABTM Tag  = id

Problem on Error Handling with CAKEPHP

2008-10-29 Thread [EMAIL PROTECTED]
Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options, visit

  1   2   3   4   5   6   7   8   9   10   >