Re: tagErrorMsg doesn't display

2006-06-06 Thread Mike
Can anyone help, please? --~--~-~--~~~---~--~~ 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

Re: tagErrorMsg doesn't display

2006-06-07 Thread Mike
Any ideas, please? --~--~-~--~~~---~--~~ 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

Re: tagErrorMsg doesn't display

2006-06-07 Thread Mike
Thanks for the suggestion, gwoo. Thanks to PhpNut too, for suggesting that I install the latest version of cake. Now running 1.1.3.2967 and the validation works fine :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Arrays in sessions.

2006-06-14 Thread Mike
If you want to add to the array without using a key you can use: $this-Session-write('myarray\'][][\'', 'myvalue' ); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: validation

2006-06-21 Thread Mike
Hi Felix Thanks for the improvement, but it still produced an error - undefined index in the model. However, the fix you wrote in your ticket(1040) works: function validates($data = array()) { if (empty($data)) { $data = $this-data; } $this-data = $data; return

Re: Social Networking Example

2006-07-15 Thread Mike
Have you forgotten to set the debug level to 0 in app/core.php for your production site? define('DEBUG', 0); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: Social Networking Example

2006-07-15 Thread Mike
There's a link on http://www.chattypet.com/about/ to http://www.chattypet.com/about/users/add , which has a missing controller debug message. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

No mod_rewrite on *nix host

2006-11-07 Thread Mike
Can someone link me or explain how to handle a web server host that doesnt have mod_rewrite installed? I tried uncommenting the //define ('BASE_URL', $_SERVER['SCRIPT_NAME']); Line, however nothing seemed to change. Any thoughts? Everything else works fine in my local env. Thanks,

Re: No mod_rewrite on *nix host

2006-11-08 Thread Mike
Troy, I checked the phpinfo() and there was no mod_rewrite. Do the .htaccess files cause a problem if there is no mod_rewrite? AKAL should i delete them? Mike Troy Schmidt wrote: Depends on what kind of host you have. Some of them that isn't enough and you have to also delete

Installing a CakePHP application on an existing site

2007-02-15 Thread Mike
without having to have everything on the site be Cake-enabled. Thanks. -- Mike --~--~-~--~~~---~--~~ 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

Re: Installing a CakePHP application on an existing site

2007-02-16 Thread Mike
should be what you want. Just make sure to get all of the .htaccess files in the right places when you extract. HTH, Eric On 2/15/07, Mike [EMAIL PROTECTED] wrote: Hi, I think my first post was eaten, so here I am again. If it wasn't, please ignore this spam

seaching various feilds

2007-02-21 Thread mike
if someone could give me a hint? Thanks, Mike. function search() { if(empty($this-data)) { $this-render(); } else { $conditions =array(); $search_term = $this-data['Enquiry']['surname']; $conditions['Enquiry']['surname'] = LIKE

Re: seaching various feilds

2007-02-21 Thread mike
PROTECTED] En nombre de mike Enviado el: Miércoles, 21 de Febrero de 2007 07:11 a.m. Para: Cake PHP Asunto: seaching various feilds I have implimented a search using the code below which works well, but it only searches one field. What I'd like is a drop down box in the view to select the feild

variable number of items in one table

2007-02-24 Thread mike
linked into orders? Your advice and expertise is welcome and always greatly appreciated. Thanks, Mike. --~--~-~--~~~---~--~~ 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: variable number of items in one table

2007-02-25 Thread mike
some more and a belongsTo Order association When you retrieve an Order, you'll get its Orderlines too On 24 fév, 16:18, mike [EMAIL PROTECTED] wrote: Hi all, I have a small problem and wonder if I could get some advice on the best way to overcome it. What I want is an orders table where

Re: variable number of items in one table

2007-02-26 Thread mike
I have setup table relations so that Order brings in Orderlines, but this leads me to another problem. I somehow need to total the order but this isn't as easy as I first thought. I'm wondering if anyone can give any help on how to do this, probably a for loop i would think? Thanks very much any

Re: variable number of items in one table

2007-02-26 Thread mike
I have searched this board high and low and cannot find a solution to this problem On Feb 26, 12:24 pm, mike [EMAIL PROTECTED] wrote: I have setup table relations so that Order brings in Orderlines, but this leads me to another problem. I somehow need to total the order but this isn't as easy

Re: variable number of items in one table

2007-02-28 Thread mike
$total in as many rows it prints. Simple enough but not sure how. I think I need to add a unique variable to $total on each loop then add then all up when it breaks out of the loop () Does anyone have an example I could look at? Thanks very much for the help so far! Mike

Re: variable number of items in one table

2007-02-28 Thread mike
Found this answer and seems to work. $sum = 0; foreach($result as $row) { $sum += $row['price']; } Thanks Mariano On Feb 28, 1:39 pm, mike [EMAIL PROTECTED] wrote: Thanks very much fo the reply. I currently have the simple code below printing out of the values in Orderlines

afterSave callbacks

2007-03-07 Thread mike
but I can get it working. Can anyone give me some advice and am I going about it the right way. Thanks Mike. --~--~-~--~~~---~--~~ 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: afterSave callbacks

2007-03-07 Thread mike
21 Hope that's enough info. As always any help greatly appreciated!! Thanks On Mar 7, 1:44 pm, Mariano Iglesias [EMAIL PROTECTED] wrote: Mike, Can I respectfully ask you that you provide more information as to why you can't get it working? It makes us waste emails to keep explaining

Re: afterSave callbacks

2007-03-07 Thread mike
That's fantastic, you're a legend! Thanks so much for your help. On Mar 7, 4:10 pm, ianh [EMAIL PROTECTED] wrote: More info needed as MI says. Based on whats available why not do it as a beforeSave? Only one expensive write to your DB then. function beforeSave() { // assuming your data

lack of associated data

2007-03-30 Thread mike
not pulling in the associated quote data? Is it that my models are not correct or is there more to do in the controller? Any help or advice on this would be really great! Thanks, Mike. Array ( [Invoice] = Array ( [id] = 1 [quo_id] = 136 [date] = 2007

simple write to database

2008-12-06 Thread mike
I have a simple example below. I just want a form that saves stuff to the database. Its never getting to log test2 I guess the data is not in the right format but how am I supposed to do it? I've already spent a considerable amount of time debugging this and other problems, please help!

appmodel save returns true to data not in database

2008-12-16 Thread mike
somehow, its getting to 'test2' in the controller, however, I don't see the data in the table! I actually had this working in cake1.1 but updated to 1.2 changed htmlhelper to formhelper, and now it doesn't work! any help appreciated. Thanks. database: CREATE TABLE users ( id int NOT NULL

Re: appmodel save returns true to data not in database

2008-12-19 Thread mike
somehow, the only sql i see in debug mode is DESCRIBE `users` On Dec 16, 4:28 am, grigri j...@hendersonwebdesign.com wrote: What SQL is being executed? On Dec 16, 5:26 am, mike mwu...@gmail.com wrote: somehow, its getting to 'test2' in the controller, however, I don't see thedatain

Re: appmodel save returns true to data not in database

2008-12-20 Thread mike
please someone help with this! I'm stuck On Dec 19, 10:49 pm, mike mwu...@gmail.com wrote: somehow, the only sql i see in debug mode is DESCRIBE `users` On Dec 16, 4:28 am, grigri j...@hendersonwebdesign.com wrote: What SQL is being executed? On Dec 16, 5:26 am, mike mwu...@gmail.com

Re: appmodel save returns true to data not in database

2008-12-20 Thread mike
AppModel, or any behaviors you might have enabled? And make sure you try running in debug mode = 2 to ensure table cache is being refreshed. Cheers, Adam mike wrote: please someone help with this! I'm stuck On Dec 19, 10:49 pm, mike mwu...@gmail.com wrote: somehow, the only sql i see

checkbox groups in cakephp 1.2

2008-12-26 Thread mike
I saw a helper class for this for 1.1, but nothing for 1.2. Is their an example of a checkbox group that maps to the same database field? for example, one checkbox maps to a value of 1, another maps to a value of 2. thanks. --~--~-~--~~~---~--~~ You received

Re: checkbox groups in cakephp 1.2

2008-12-29 Thread mike
'); } } } view: ? echo $form-input('UsersEthnicity.ethnicity_id', array( 'type' = 'select', 'multiple' = 'checkbox' ),$ethnicities); ? On Dec 27, 2:18 pm, Arthur Pemberton pem...@gmail.com wrote: On Sat, Dec 27, 2008 at 1:54 AM, mike mwu...@gmail.com

Re: checkbox groups in cakephp 1.2

2008-12-30 Thread mike
can someone help me with this please? the documentation is not good enough for dumbasses like me. thanks. On Dec 29, 10:55 pm, mike mwu...@gmail.com wrote: thanks, thats what I was looking for.  However, I'm still having trouble getting the save to work properly. here is the controller dump

Re: checkbox groups in cakephp 1.2

2008-12-30 Thread mike
ok here is my current issue: here is the controller dump: [data] = Array ( [UsersEthnicity] = Array ( [ethnicity_id] = Array (

Re: checkbox groups in cakephp 1.2

2008-12-31 Thread mike
with you about the sigular ids but thats the least of my concerns right now. On Dec 31, 1:57 am, brian bally.z...@gmail.com wrote: On Wed, Dec 31, 2008 at 12:53 AM, mike mwu...@gmail.com wrote: but I need something like this right?            [data] = Array

Re: checkbox groups in cakephp 1.2

2008-12-31 Thread mike
'='add')); ? ? echo $form-input('Ethnicity', array( 'type' = 'select', 'multiple' = 'checkbox' ),$ethnicities); ? ?php echo $form-end('Submit'); ?br/ On Dec 31, 3:17 pm, Arthur Pemberton pem...@gmail.com wrote: On Wed, Dec 31, 2008 at 1:54 PM, mike mwu...@gmail.com wrote: thanks for the response

saving to habtm models from checkbox groups.

2009-01-03 Thread mike
I posted about this earlier but I'm still having trouble. I think I have my models set up properly now: class User extends AppModel { var $name = 'User'; var $hasAndBelongsToMany = array ( 'Ethnicity' = array( 'className'= 'Ethnicity', 'joinTable'

Re: saving to habtm models from checkbox groups.

2009-01-04 Thread mike
awesome, thanks finally working. On Jan 4, 3:49 am, brian bally.z...@gmail.com wrote: On Sat, Jan 3, 2009 at 9:41 PM, mike mwu...@gmail.com wrote: ... here is what I have in the view, which I don't think is correct: ? echo $form-create('User', array('action'='add')); ? ? echo $form

Calendar Helper

2009-01-14 Thread Mike
Hi everyone, I was wondering if there is a good up to date calendar helper that I can use to integrate to my intranet application ? Thanks for help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To

Validate date from model

2009-01-14 Thread Mike
Hi everyone, I'm a new user of CakePHP, I tried to do a validation and comparison between 2 dates, a start date and a end date, for calendar events purpose. I want to know how can I do to implement the validation between these 2 dates information just to validate that the end date must be

getLastInsertId or something similar

2009-01-16 Thread mike
I have a multi page input form thingy - on the first page, the user inputs some event information, then clicks next, this information is saved, then on the next page, the user inputs some user information, clicks save, and this information is saved. The issue is, now the event info has to be

Re: getLastInsertId or something similar

2009-01-16 Thread mike
I'm not sure I understand this. How would the user controller know which event its supposed to be related to? I have the user model set to hasMany Events, and Event belongsTo User. In the view I have the hidden field as suggested. then I tried this:

Re: getLastInsertId or something similar

2009-01-17 Thread mike
with the Event controller, all you need to do is make sure there's a hidden field for Event.user_id and that its value is set to the User.id. On Fri, Jan 16, 2009 at 11:45 PM, mike mwu...@gmail.com wrote: I'm not sure I understand this.  How would the user controller know which event its supposed

Re: getLastInsertId or something similar

2009-01-18 Thread mike
thanks for all the responses, sorry for being slow, but I don't understand: * grab the 'lastInsertId()' of the event record * pass this to the view to use in your User form, eg User.event_id where do I grab the lastInsertId()? in the event_controller? and then how do I pass it to the user

Re: getLastInsertId or something similar

2009-01-19 Thread mike
eeerrr, this is not working. I have this in the User model: var $hasMany = array ('Event'); this in the event model: var $belongsTo = array ( 'User' = array( 'className'= 'User', 'foreignKey'= 'creator_id', ) );

Re: getLastInsertId or something similar

2009-01-21 Thread mike
21, 4:49 pm, Webweave webwe...@gmail.com wrote: It will only return a value after you do an insert (a save of the new Event). Post the action you are having trouble with, and perhaps we can spot the issue. On Jan 19, 3:41 pm, mike mwu...@gmail.com wrote: eeerrr, this is not working

Re: Calendar Helper

2009-01-22 Thread Mike
Thanks John, I'll take a look at it... :) On 15 jan, 17:53, Flipflops johnsv...@googlemail.com wrote: Hi Mike I built a calendar helper about a year ago. It is pretty basic - literally just a shell that lays out the days of the week and a back and forward button. Its up to you to get

Re: getLastInsertId or something similar

2009-01-26 Thread mike
' = $event_id )); users controller: $user_id = $this-User-getLastInsertId(); $this-User-Event-save($this-data); $this-data['Event']['creator_id'] = $user_id; maybe not the best way but at least it's working for now! On Jan 16, 9:12 pm, mike mwu...@gmail.com wrote: I have a multi page input form

Htmlhelper link and passing value to controller function

2008-05-27 Thread Mike
, it's blank after the . . .where clientID = . I would really appreciate some help on this. I've gone through docs and groups, but to no avail. Thanks!! --Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: Htmlhelper link and passing value to controller function

2008-05-27 Thread Mike
($conditions); Which does not work (any ideas why???). However, this does work: $results = $this-Transaction-findByClientid($theclientid); Regards, --Mike On May 27, 9:53 am, Mike [EMAIL PROTECTED] wrote: Hi: I am using Cake 1.2 and I love it so far! I have a small problem that I cannot solve. I

Re: Htmlhelper link and passing value to controller function

2008-05-28 Thread Mike
Chris: You're the man! Thanks for the tip, that worked quite nicely. --Mike On May 27, 1:31 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On Tue, May 27, 2008 at 1:51 PM, Mike [EMAIL PROTECTED] wrote: Ok, I think I solved it. The proper value was being passed into the function after all

Cake 1.2 Apache Install

2008-05-28 Thread Mike
structure given above? Thank you! --Mike --~--~-~--~~~---~--~~ 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: Cake 1.2 Apache Install

2008-05-28 Thread Mike
name in the app/config/database.php file. I am setting the server to 'localhost'. Is this correct? It keeps coming back with [EMAIL PROTECTED] access denied messages. I'll keep beating on this, but if anyone has a suggestion, it would be much appreciated. Thank you! --Mike On May 28, 1:24 pm

Re: Cake 1.2 Apache Install

2008-05-29 Thread Mike
on the cache issue? Thanks, Mike On May 28, 3:36 pm, clemos [EMAIL PROTECTED] wrote: Hi Mike Your database config is probably wrong. The hostname is often localhost, but depending on your web hosting it may be different. If so, nobody here can help you about that, except your web hosting

AjaxHelper - Adding an observeField to a dynamic div?

2008-06-26 Thread Mike
Hello! I've looked at the docs, at the API, and a little bit at the source, as well as Googling around for this, but I can't seem to find any answers, and I'm kinda stuck :) I'm trying to use the Cake 1.2.0.6311 (beta) distribution, and I've tried it using both FireFox 3 and IE 7.0.5730.13 I'm

Re: AjaxHelper - Adding an observeField to a dynamic div?

2008-06-27 Thread Mike
a tutorial to the bakery? Also - thanks for the help with this! I had found a 'workaround', but not the bug, and probably would have dropped it if I hadn't seen your reply :) Thanks! --Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed

Newbie Question: conditions on a find('all') for hasMany?

2008-06-30 Thread Mike
here, please let me know! If anyone could help (or even just offer suggestions/hints), that would be great! Thanks! --Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email

Re: Use model inside helper

2008-06-30 Thread Mike
kosher'? Is there a better way to do this? Thanks! --Mike On May 13, 1:23 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: If Iuse ClassRegistry::getInstance(); in thehelperthemodelis present. If Iuse$Model= ClassRegistry::getObject('ModelName'); I get that $Model=null On 13 Mag, 10:17, grigri

Re: Newbie Question: conditions on a find('all') for hasMany?

2008-07-01 Thread Mike
Thanks for the informative reply! It was kinda looking like this was the way things are, but I always wonder if I'm just missing something :) Thanks! --Mike On Jun 30, 9:49 pm, Grant Cox [EMAIL PROTECTED] wrote: The documentation you are referring to is misleading - a join is only used

Re: Newbie Question: conditions on a find('all') for hasMany?

2008-07-01 Thread Mike
this. Thanks! --Mike On Jun 30, 11:51 pm, majna [EMAIL PROTECTED] wrote: First question: maybe with Containable behaviour? $this-Term-contain('Course' = array(     'conditions'=array( 'Course.id' = 1),     'order' = 'year DESC',) ); Damn, You can even be dirty  $this-Term-hasMany['Course

CakePHP causes 500 error b/c of syntax error - help?

2008-09-12 Thread Mike
, or ideas, would be greatly appreciated! (And of course, if you happen to know exactly how to fix this, that would be appreciated, too :) ) Thanks! --Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group

Re: CakePHP causes 500 error: fixed!

2008-09-12 Thread Mike
? This was definitely my mistake, but it might help clarify things for others. Plus, if we have the error_reporting keyword in there, Google might index it for future searches, so it might be easier to find later b/c of that. If not, that's fine, too. Thanks! --Mike

bulk load data into CakePHP?

2008-09-23 Thread Mike
wrong here, and then fix it? 3) Does anyone have any good suggestions for perf-tuning CakePHP apps? Sorry for not doing more digging myself - the first N Google results weren't promising, so I figured that I'd go for help now, since I'm in a bit of a rush :( Thanks! --Mike

Re: bulk load data into CakePHP?

2008-09-24 Thread Mike
appreciate the 'ok' from someone who knows more about this than I do! :) --Mike --~--~-~--~~~---~--~~ 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

Re: bulk load data into CakePHP?

2008-09-24 Thread Mike
if anyone's done any sort of measurements about CPU X, with memory Y GB, Cake can draw Z records into memory in A milliseconds, but it would be fascinating to see :) Thanks again for the quick, really helpful response! (And, for what it's worth, I'm loving Cake right back! :) ) --Mike On Sep 24, 8:17

Re: bulk load data into CakePHP?

2008-09-24 Thread Mike
. Thanks! --Mike On Sep 24, 10:43 am, Rafael Bandeira aka rafaelbandeira3 [EMAIL PROTECTED] wrote: Well, again, it's not a matter of can or can't, the thing is, there's no why... even wanting a full featured view, with whole lots of data of all sorts of associations and purposes, what you have

Future of jQuery in CakePHP?

2009-07-07 Thread Mike
? Will it built-in support for the jQuery UI widgets? I understand that this may be early enough in the lifecycle that there aren't real solid answers to this, but I'd love to hear more about this, if possible :) Thanks! --Mike --~--~-~--~~~---~--~~ You received

Re: adding file upload to existing form

2009-07-11 Thread mike
path and filename in the database. There are quite a few tutorials around for file uploads but hopefully that will point you in the right direction.  You won't need to create a separate model or anything. On Fri, May 8, 2009 at 10:26 PM, mike mwu...@gmail.com wrote: I want to add

App::import - I'm doing it wrong?

2009-07-16 Thread Mike
no idea how it will affect anything else (haven't even run the unit tests) Anyways - am I wrong about the vendors files not needing inflection, or is this a bug? Thanks! --Mike P.S. It appears that I can forcibly direct Cake to the right file using the following, in case anyone else is using

Re: App::import - I'm doing it wrong?

2009-07-16 Thread Mike
Is that by design (for the 'vendors' stuff)? If it is, I'd love to volunteer to update the documentation in the online Cake book to make this more clear. Thanks! On Jul 16, 8:15 pm, Miles J mileswjohn...@gmail.com wrote: Yeah if the import doesnt work right off the bat, you have to use the

Re: App::import - I'm doing it wrong?

2009-07-17 Thread Mike
? Thanks! --Mike --~--~-~--~~~---~--~~ 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 cake-php+unsubscr

Model::execute still exists, causes MySql 1064 syntax error

2009-07-18 Thread Mike
, and I love working with it! :) --Mike --~--~-~--~~~---~--~~ 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 cake

jQuery with Cake forms

2009-08-26 Thread Mike
parts of Cake/vast amounts of your own code are also appreciated (I'd rather find out this isn't possible try something else, instead of throwing tons of time into it and find that out on my own :) ). Thanks! --Mike --~--~-~--~~~---~--~~ You received this message

Re: jQuery with Cake forms

2009-08-27 Thread Mike
slid out allowed me to use it. :) Thanks again! --Mike On Aug 26, 7:57 pm, Matt Curry m...@mcurry.net wrote: This one's pretty easy actually...Just set the input to be type text and attach the datepicker to the id of the input (not the div): ?php echo $form-input('field', array('type' = 'text

Error on website

2010-09-24 Thread Mike
Under Learn - CakePHP cheatsheet the PDF isn't there: Not Found Error: The requested address '/files/Resources/CakePHP-1.2- Cheatsheet.pdf' was not found on this server. Cheers. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

Re: Plugin and css links

2010-04-27 Thread Mike
({PluginName}/img/ bg.gif); Mike On Apr 26, 5:21 pm, Ziki zixw...@gmail.com wrote: Hi, I have images in img folder in webroot of my plugin, but images aren't load when links from css file also in plugin. This is problem when making theme. I must put img in default img folder of site, not under plugin

Re: i need ajax shopping cart with cakephp

2010-04-30 Thread Mike
From suggestions I've heard, I have moved the Kaching plugin to github. So the new URL is http://github.com/mfriesen/kaching-php. It doesn't use Ajax, but with a little bit of work you definitely could change it to do so. On Apr 29, 10:44 pm, Jeremy Burns jeremybu...@me.com wrote: For a

Re: i need ajax shopping cart with cakephp

2010-04-30 Thread Mike
It's something I'll add at some point. But Kaching is meant for people who want to write code. If you don't then you should be looking at a something like Magento (www.magentocommerce.com) On Apr 30, 8:53 am, hoss7 hoss...@gmail.com wrote: i am new in cakephp mike can you do it for me

Re: Multiple Undo/Redo!!

2010-05-03 Thread Mike
Hey Jason, you have an interesting idea and done some nice work. I had to do something similar in the past as well. How I approached it was to add a version to my model and then everytime the model was saved, re-save the entire model and increment the version number . Mike On May 2, 8:53 pm

Problems with admin routing in 1.3 stable

2010-05-18 Thread Mike
I've been developing a web app with 1.3RC2, which I've just migrated to 1.3 stable. I've completed the migration guide but am having a few problems with admin routing: I have the following line in my core.php config file: Configure::write('Routing.prefixes', array('admin')); 1. I've

Cupcake forum plugin and Cake 1.3

2010-06-16 Thread Mike
. Thanks, Mike Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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

Re: Cupcake forum plugin and Cake 1.3

2010-06-16 Thread Mike
Thanks Jeremy, but unfortunately that does not work. If I click on the link to take me to the forum, it now displays a directory listing in the browser instead of the main forum page. --Mike On Jun 16, 1:44 am, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: I don't know Cupcake

Re: Cupcake forum plugin and Cake 1.3

2010-06-16 Thread Mike
...@classoutfit.com wrote: Wow - that's a surprise. I wouldn't have expected any degradation just by creating a few new folders. Sorry it don't help. Jeremy Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 16 Jun 2010, at 15:08, Mike wrote: Thanks Jeremy, but unfortunately

Re: CakePHP Ajax - Getting returned JSON code evaled and into variable

2010-06-24 Thread Mike
Just this exact thing this week There's a good example here: http://api.jquery.com/jQuery.getJSON/... if your not using jquery you can use eval() just the same. On Jun 24, 9:56 am, Joakim ban...@gmail.com wrote: Hello, I have a ajax link that returns a json datastructure(writes out the

Validation errors not being displayed

2010-08-16 Thread Mike
My Order model belongsTo both a DeliveryContact and a BillingContact. It looks like this: class Order extends AppModel { var $belongsTo=array( 'DeliveryContact'=array( 'className'='Contact' ), 'BillingContact'=array( 'className'='Contact'

saving habtm relationship overwriting my data

2009-10-24 Thread mike
I have two objects, user and seekingprofile, that both habtm ethnicities. in my app, I save the seeking profile, then go to a new page, save the user, then attempt to update the seekingprofile to associate it with the newly created user. the saves work fine, but the ethnicities I've saved with

Re: saving habtm relationship overwriting my data

2009-10-25 Thread mike
I'm certain that this line is overwriting the data in the ethnicities_seekingprofiles: $this-User-Seekingprofile-save($this-data); when I comment it out, the table has the right data. On Oct 25, 3:37 am, WebbedIT p...@webbedit.co.uk wrote: Neither of the above controller calls can be

Kaching: CakePHP Shopping Cart Framework Plugin

2010-03-15 Thread Mike
If your looking for a shoppingcart plugin for CakePHP that is distributed under the MIT License, here you go... http://code.google.com/p/kaching-php Kaching is tailored for developers that want full control on building their online store. Kaching provides the store administration and lots of

using jquery and json on cakephp

2008-02-16 Thread mike
How do I send and process ajax request using jquery's .getJson() on cakephp. I need to setup dynamic dropdown box? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: using jquery and json on cakephp

2008-02-17 Thread mike
. This assuming you have a file message.ctp in views/post hope this helps Regards, On Feb 16, 3:53 pm, mike [EMAIL PROTECTED] wrote: How do I send and process ajax request using jquery's .getJson() on cakephp. I need to setup dynamic dropdown box? Thanks

Dynamic Error Messages in 1.2?

2008-03-06 Thread Mike
to do this (to have the validation method set/change the message dynamically) without hacking Cake itself? I'm really sorry if I've missed this, but I've looked around, but haven't found anything that seems directly applicable. Thanks! ---Mike

Re: Dynamic Error Messages in 1.2?

2008-03-07 Thread Mike
else have an interest in being able to create dynamic error messages from within a validation method/function? If so, how do we ask for this feature to be incorporated into Cake? Thanks! --Mike On Mar 7, 7:31 am, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: Have you tried Model::invalidate

Re: Dynamic Error Messages in 1.2?

2008-03-07 Thread Mike
function can produce exact error messages. Thanks! --Mike On Mar 7, 4:19 pm, b logica [EMAIL PROTECTED] wrote: Why not just create a second validation method and narrow the first one to whatever concerns the message you've set for it? On Fri, Mar 7, 2008 at 6:46 PM, Mike [EMAIL PROTECTED

Re: Dynamic Error Messages in 1.2?

2008-03-08 Thread Mike
Awesome!! Thank you very much! (I do understand that this decision was made independent of my questions about this feature, but I figure that it's a nice feature that I'm looking forwards to, and so saying 'Thanks' seems to be a good thing to do :) ) Thanks! --Mike On Mar 8, 6:42 am, nate

Re: Dynamic Error Messages in 1.2?

2008-03-09 Thread Mike
be faster for y'all to just do this on your own, that's fine by me, too. Thanks! --Mike On Mar 8, 11:24 pm, Mike [EMAIL PROTECTED] wrote: Awesome!! Thank you very much! (I do understand that this decision was made independent of my questions about this feature, but I figure that it's a nice

containable on deep model relationships

2009-02-13 Thread mike
I got user has many event, event belongsTo eventtype and user, eventtype has many event make sense? did I set this up right? I trying to fetch all the data for one event. Following the example in the cookbook, I tried this: $this-User-find('all', array( 'conditions' =

Re: containable on deep model relationships

2009-02-15 Thread mike
oops, that was I typo, I have that already, with the end paren. I've also tried what Miles suggested, same thing any other ideas? On Feb 14, 5:25 am, WebbedIT p...@webbedit.co.uk wrote: I surprised that find call fetches any data as you have your contain criteria mixed in with your

Autocomplete search on users table

2009-02-23 Thread Mike
Hi everyone, I'd like to know if there is out there a component or helper using JQuery to help me build a search autocomplete functionnality on a users table. I'd like the end user to be able to search a user by firstname, lastname, email and phone number, everything using an autocomplete text

Pages and Views

2009-02-23 Thread Mike
Hi everyone, I'd like to manage my users search functionality on a page called search, then the end users will be able to access it using the url www.mywebsite.com/search. Actually, i already created a search.ctp element with just a form to process the search on the user table here is the code

Re: Pages and Views

2009-02-24 Thread Mike
' =   'search')); 2) You should explicitly set your search form url. echo $form-create('User',array('url' =  '/search')); 3) Then inside your users controller, you'll have a search method that looks at $this-data['User']['search'] for the search string. Make sense? Adam Mike wrote

Re: Autocomplete search on users table

2009-02-28 Thread Mike
, Graham Weldon w.http://grahamweldon.com e. gra...@grahamweldon.com p. +61 407 017 293 On Mon, 23 Feb 2009 19:59:02 -0800 (PST), Mike mickael.he...@gmail.com wrote: Hi everyone, I'd like to know if there is out there a component or helper using JQuery to help me build a search autocomplete

afterDelete question

2009-04-06 Thread Mike
since it properly executes. Has anyone run into this? Am I doing something wrong? Thanks, -mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

  1   2   3   4   5   6   >