Re: How much to charge?

2011-02-16 Thread Jeremy Burns | Class Outfit
£36. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 16 Feb 2011, at 22:47, euromark wrote: its a suggestive question like what car should i bye plus its not even remotely cake related so nobody in this group will probably be able to help you

Re: How much to charge?

2011-02-16 Thread Jeremy Burns | Class Outfit
clients like to hold out on payment Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 16 Feb 2011, at 22:47, euromark wrote: its a suggestive question like what car should i bye plus its not even remotely cake related so nobody in this group will probably

Re: Big problem with using Model 1.3

2011-02-16 Thread Jeremy Burns | Class Outfit
to the right model too. You need to make sure your filenames are right too. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 17 Feb 2011, at 03:42, damia...@gmail.com wrote: I change names but my problem don't solved. Undefined property: GroupsController::$Group

Re: Big problem with using Model 1.3

2011-02-16 Thread Jeremy Burns | Class Outfit
? Have you read the guide - at all? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 17 Feb 2011, at 05:52, damia...@gmail.com wrote: It work. I check directly url to function and returned data. I want display resault by helper function getGroupsList

Re: Big problem with using Model 1.3

2011-02-16 Thread Jeremy Burns | Class Outfit
Yes, you can do a find in models that are linked by association. So your example $this-Model1-Model2-Model3-find() is valid. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 17 Feb 2011, at 06:01, damia...@gmail.com wrote: It work. I check directly url

Re: Big problem with using Model 1.3

2011-02-16 Thread Jeremy Burns | Class Outfit
This still feels very wrong. I think you need to simplify. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 17 Feb 2011, at 06:01, damia...@gmail.com wrote: It work. I check directly url to function and returned data. I want display resault by helper

Re: How to define a global constant which is available through whole app?

2011-02-15 Thread Jeremy Burns | Class Outfit
Some more info would help us help you. Can you show the actual error? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 15 Feb 2011, at 15:14, sanjib dhar wrote: Hi! I got unfinished class declaration error. On Tue, Feb 15, 2011 at 8:10 PM, Stephen step

Re: INVITATION TO JOB FAIR

2011-02-15 Thread Jeremy Burns | Class Outfit
Just delete it. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 15 Feb 2011, at 21:13, Robert J. Maiolo wrote: and this is why I hate joining email lists... On Mon, Feb 14, 2011 at 6:30 AM, job fair job.fair1...@gmail.com wrote: AMA Business JOB FAIR

Re: I want to add Auth authentication in all views.

2011-02-14 Thread Jeremy Burns | Class Outfit
No you don't. As AD7Six said earlier, you need to look at isAuthorized(); http://book.cakephp.org/view/396/authorize#!/view/247/AuthComponent-Methods Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 14 Feb 2011, at 13:16, Leonardo Hidalgo Piña wrote: need

Re: Plz can somebody tell what is the use of 'admin'=false in loginAction

2011-02-14 Thread Jeremy Burns | Class Outfit
to the link or redirect, the admin prefix will be ignored and the path will be login(), not admin_login(). Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 14 Feb 2011, at 11:08, ravi wrote: $this-Auth-loginAction = array('admin' = false, 'controller

Re: find all not working.

2011-02-14 Thread Jeremy Burns | Class Outfit
That all looks a little unusual. Can you explain in non-code terms what you are trying to do? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 14 Feb 2011, at 20:55, cake-learner wrote: Very often i got this error and i had to do custom query why it's

Re: Containable usage will not allow population of associated model view file data. Only find('all') is working. I am doing something wrong?

2011-02-14 Thread Jeremy Burns | Class Outfit
down the tree until you reach the field you want, so you'd use: echo $plan[0]['PlanDetail']['Company']['company_logo_url']; Does that produce anything? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 14 Feb 2011, at 22:34, OldWest wrote: Hi Jeremy

Re: Containable usage will not allow population of associated model view file data. Only find('all') is working. I am doing something wrong?

2011-02-14 Thread Jeremy Burns | Class Outfit
as $row): ... endforeach; If so, try this: $row['PlanDetail']['Company']['company_logo_url']; If that isn't right, debug out $row and look at it to work out your path. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 14 Feb 2011, at 22:52, OldWest

Re: Containable usage will not allow population of associated model view file data. Only find('all') is working. I am doing something wrong?

2011-02-14 Thread Jeremy Burns | Class Outfit
No - because he was then containing another Model. There was nothing wrong with the statement. It was a parsing error inside the view. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 15 Feb 2011, at 00:02, Jamie wrote: It looks like an improperly closed

Re: find all not working.

2011-02-14 Thread Jeremy Burns | Class Outfit
improve your whole app. If they are not joined directly, you can just walk along the daisy chain: $variable = $this-Company-Department-User-etc-etc-Role-find('all'); Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 15 Feb 2011, at 00:05, Shinya Koizumi wrote

Re: Do not save Modified

2011-02-14 Thread Jeremy Burns | Class Outfit
you make that trigger on a reorder only is beyond me at this point. Someone far more experienced than me give some better advice. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 15 Feb 2011, at 05:25, Dr. Tarique Sani wrote: If modified is set in your Data

Re: help with guest table update

2011-02-14 Thread Jeremy Burns | Class Outfit
. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 15 Feb 2011, at 06:11, chris...@yahoo.com wrote: Hi All, Ok guys, what am I doing wrong...? $this-Guest-query('UPDATE fociki_guests' . 'SET user_id = ($user['User']['id'])' . ' AND guest_id

Re: Do not save Modified

2011-02-14 Thread Jeremy Burns | Class Outfit
Got it - I understand, and I'm sorry I was wrong. The way I read it was that you telling him not to put the value in the array. My bad. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 15 Feb 2011, at 07:05, Dr. Tarique Sani wrote: Please read what I wrote

Re: Variable scope problem

2011-02-13 Thread Jeremy Burns | Class Outfit
the $category code down a bit to save unnecessary work. Jeremy Burns Class Outfit jeremybu...@classoutfit.com (t) +44 (0) 208 123 3822 (m) +44 (0) 7973 481949 Skype: jeremy_burns http://www.classoutfit.com On 14 Feb 2011, at 06:28, adam_g2000 wrote: The edit method in my controller

Re: Variable scope problem

2011-02-13 Thread Jeremy Burns | Class Outfit
I know you've already had a few replies, but can you outline in a simple non-code sentence exactly what you are trying to achieve (rather than why your code isn't working)? Jeremy Burns Class Outfit jeremybu...@classoutfit.com (t) +44 (0) 208 123 3822 (m) +44 (0) 7973 481949 Skype

Re: HOW TO DO THIS.

2011-02-12 Thread Jeremy Burns | Class Outfit
No-one will give out their Skype id as that opens the channels for being a help desk. Fine if you want to pay, but is bound to offend when you are declined. This forum is a really, really good place to get help. Stick with it - you will get everything you need from here. Jeremy Burns Class

Re: New vs Old and need help - FEMALE NEEDS HELP!

2011-02-12 Thread Jeremy Burns | Class Outfit
I guess it all depends if you want an answer or not. Sent from my iPhone On 13 Feb 2011, at 05:54, ibejohn818 john.c.ha...@gmail.com wrote: I say just ask your questions. There are three possible events that can occur. 1) Somebody attempts to answer 2) Nobody attempts to answer 3)

Re: Build a string from resultset array (following example)

2011-02-11 Thread Jeremy Burns | Class Outfit
You can use an array in the conditions: 'conditions' = array('Model.id' = $array) ...which does an 'IN' query, in which case you don't need to do the extracting etc. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 11 Feb 2011, at 21:14, rgreenphotodesign

Re: Redirect URL format not as expected.

2011-02-11 Thread Jeremy Burns | Class Outfit
, $category ) ); Note that the 'Text' has gone but the array is the same. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 10 Feb 2011, at 21:25, adam_g2000 wrote: Hi Guys, Firstly, this is my first post, so please be gentle and my apologies for any

Re: HOW TO DO THIS.

2011-02-11 Thread Jeremy Burns | Class Outfit
Very respectful. Well done. I suspect he does know the answer. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 12 Feb 2011, at 04:24, sanjib dhar wrote: HOW TO DO THIS is not an appropriate title for your thread! by the way

Re: New vs Old and need help - FEMALE NEEDS HELP!

2011-02-11 Thread Jeremy Burns | Class Outfit
- I fixed it without explaining how or why Delete. Or stroppy reply. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 12 Feb 2011, at 01:53, Ryan Snowden wrote: Or Noobhag Neat On 12 February 2011 09:04, Larry E. Masters php...@gmail.com wrote: Old

Re: Cakephp App::import() broken

2011-02-10 Thread Jeremy Burns | Class Outfit
Looks like a file in your vendor files is echoing something to screen before the main output starts - this is an HTML error. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 10 Feb 2011, at 17:48, RLR wrote: Sorry for the broken post. I prematurely hit

Re: Cakephp App::import() broken

2011-02-10 Thread Jeremy Burns | Class Outfit
I wasn't necessarily referring to that file - is there something else doing an echo? Unless, of course, the problem goes away if you remove that content. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 10 Feb 2011, at 17:55, RLR wrote: I thought

Re: should be able to access model easier

2011-02-10 Thread Jeremy Burns | Class Outfit
Comment, you can do this: $this-User-Post-Comment to get to the the Comment model. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 10 Feb 2011, at 19:45, cake-learner wrote: Why not we can't access models by $this - Controller - ModelName( I meant all models

Re: views = 1234... numbers

2011-02-10 Thread Jeremy Burns | Class Outfit
RTFM. http://book.cakephp.org/ Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 10 Feb 2011, at 20:57, chris...@yahoo.com wrote: Hi Mike, Yes, I know that I have to read from table,... But I don't know how... LOL the code... anyone can help...? Thanks

Re: views = 1234... numbers

2011-02-10 Thread Jeremy Burns | Class Outfit
by one. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 11 Feb 2011, at 03:31, chris...@yahoo.com wrote: Hi Jeremy, What I'm looking for is to set the data,... say to set field views in Video table increment by 1 every time page accessed. To set data

Re: Emty query result

2011-02-09 Thread Jeremy Burns | Class Outfit
What code are you writing that triggers this error? Are you using the Model-query method? If so, what variable are you sending in? Is it empty? (This is just wild guess work.) Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 9 Feb 2011, at 07:36, Gopinath

Re: Emty query result

2011-02-09 Thread Jeremy Burns | Class Outfit
Then why not check for empty before you call the function? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 9 Feb 2011, at 08:40, Gopinath T.M wrote: ya its empty... in some case it may have value On Wed, Feb 9, 2011 at 2:08 PM, Jeremy Burns | Class

Re: Emty query result

2011-02-09 Thread Jeremy Burns | Class Outfit
$variable = SOME SQL STATEMENT;; if ($variable): $this-Model-query($variable); else: // oops - the query is empty - do something else instead endif; Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 9 Feb 2011, at 08:44, Gopinath T.M wrote: i

Re: baking complete cakephp applicaation

2011-02-09 Thread Jeremy Burns | Class Outfit
No - it's strictly forbidden unless you have read (or even glanced at) the online book and tutorials: http://book.cakephp.org/ Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 9 Feb 2011, at 10:24, ambati kiran wrote: Hi guys, I had set up cake console

Re: sving values of check boxes

2011-02-09 Thread Jeremy Burns | Class Outfit
What happens when you just use $this-Form-input() instead? It ought to still render as a checkbox. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 10 Feb 2011, at 06:14, andy_the ultimate baker wrote: hoi i m trying to save values of check boxes which has

Re: PHP framework

2011-02-08 Thread Jeremy Burns | Class Outfit
Yes. No. Maybe. What would you like us to say? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 8 Feb 2011, at 08:17, appi wrote: i want to develop large scale web application ,which is basically contains following features Online Registration process

Re: why we use Caching in cakephp?

2011-02-08 Thread Jeremy Burns | Class Outfit
And stop using the I'm new card. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 9 Feb 2011, at 07:08, Dr. Tarique Sani wrote: On Wed, Feb 9, 2011 at 12:35 PM, hoss7 hoss...@gmail.com wrote: i am new in cake,tell me why we use Caching in cakephp? and how

Re: array_key_exists php statement

2011-02-06 Thread Jeremy Burns | Class Outfit
As the error says; ?php if(!(array_key_exists($gift['GiftCategory']['name'])); ? Sent from my iPad On 7 Feb 2011, at 05:56, chris...@yahoo.com chris...@yahoo.com wrote: Hi guys,... how u ding... I need help with php statement. I'm getting an error: Parse error: syntax error,

Re: Still stuck with Media View some one please help!!!

2011-02-05 Thread Jeremy Burns | Class Outfit
); } If you don't want to reveal the name of the file, you could store them in a table and pass in the id of the record instead of the filename, then in your download function do a find to get the name first. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com

Re: Pagination Problem in Custom Query

2011-02-05 Thread Jeremy Burns | Class Outfit
It's 'limit' not 'limits'. Not sure if that's the only problem, but it's a starter. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 5 Feb 2011, at 07:48, Joseph Buarao wrote: Hi Fellow Programmer, I getting problem with my code, I don't know what's

Re: Understanding the M in MVC?

2011-02-04 Thread Jeremy Burns | Class Outfit
Shell scripts are beyond my experience, so can't contribute to that one. Sounds like this ought to go in a component though, if you want to do it from multiple controllers. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 4 Feb 2011, at 07:45, Ryan Schmidt

Re: Understanding the M in MVC?

2011-02-04 Thread Jeremy Burns | Class Outfit
it into the model function when possible). Am I alone in that? What is the principle behind fat model/skinny controller; is it performance, efficiency, code cleanliness? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 4 Feb 2011, at 09:09, AD7six wrote

Re: how decrypt password in view?

2011-02-04 Thread Jeremy Burns | Class Outfit
a pain, but it's the most secure way. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 4 Feb 2011, at 10:36, andy_the ultimate baker wrote: hi, friends i want to show the password in view to user but its coming hash encoded, can any one tell me how

Re: how decrypt password in view?

2011-02-04 Thread Jeremy Burns | Class Outfit
No, it's a one way encryption. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 4 Feb 2011, at 10:50, andy_the ultimate baker wrote: i have made all validations but when user view he/her profile the password get encrypted in view, there is not any way

Re: Forum Is A Free For All?

2011-02-04 Thread Jeremy Burns | Class Outfit
happy to pay back where I can but won't do someone else's job for them for free just because they can't be bothered. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 5 Feb 2011, at 05:13, John Maxim wrote: I think that's what kept Cake going, a friendly

Re: Forum Is A Free For All?

2011-02-04 Thread Jeremy Burns | Class Outfit
You're missing my point. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 5 Feb 2011, at 05:52, andy_the ultimate baker wrote: The forum is all about to promote innovative thoughts and sharing knowledge. but just for the sake of please u just cat stop

Re: Model debugging

2011-02-03 Thread Jeremy Burns | Class Outfit
Type: die(debug($variable)); ...in your model, and it will stop processing and print $variable to screen. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Feb 2011, at 08:35, Axel wrote: Hello! Following a previous comment (http://groups.google.com

Re: Great Job on The Cookbook

2011-02-03 Thread Jeremy Burns | Class Outfit
How much did you pay for or contribute to this 'book'? Nothing? Then I think you lose the right to criticise. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Feb 2011, at 09:12, Jens Dittrich wrote: blue colors might look good to some people but blue

Re: Great Job on The Cookbook

2011-02-03 Thread Jeremy Burns | Class Outfit
I'm all for constructive criticism. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Feb 2011, at 09:39, andy_the ultimate baker wrote: cake is open source, hence every can give there views jeremy On Feb 3, 2:18 pm, Jeremy Burns | Class Outfit

Re: Great Job on The Cookbook

2011-02-03 Thread Jeremy Burns | Class Outfit
seems a little petty, thankless and thoughtless. If it troubles you that much you could always step up to the plate and do it better. In truth, if people didn't like my website they probably wouldn't use me. But they do, and they do. Will you now stop using Cake? I thought not. Jeremy Burns

Re: how to validation messages next to the text field?

2011-02-03 Thread Jeremy Burns | Class Outfit
Your best bet is to modify the CSS. If you look at the classes being used (Firebug is great for this) you can amend the styles and position them where you like. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Feb 2011, at 11:52, andy_the ultimate baker

Re: Blog tutorial not working!

2011-02-03 Thread Jeremy Burns | Class Outfit
See here http://articles.classoutfit.com/2009/08/setting-up-cakephp-on-a-11-server/ for a tip on getting it to work on 11. Are you certain you don't already have a Posts controller? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Feb 2011, at 07:37

Re: Understanding the M in MVC?

2011-02-03 Thread Jeremy Burns | Class Outfit
relationships using inner joins (Contain uses outer joins). When models are associated correctly you can indeed daisy chain across them to call an action on a distant model. Not sure that totally answers your question, but I hope it gets the ball rolling. Jeremy Burns Class Outfit jeremybu

Re: confused! need urgent help.

2011-02-03 Thread Jeremy Burns | Class Outfit
(debug($city)); ? ...immediately before this code? And what error are you getting - is it just a blank td? Jeremy Burns Class Outfit jeremybu...@classoutfit.com (t) +44 (0) 208 123 3822 (m) +44 (0) 7973 481949 Skype: jeremy_burns http://www.classoutfit.com On 4 Feb 2011, at 05:37, andy_the ultimate

Re: Understanding the M in MVC?

2011-02-03 Thread Jeremy Burns | Class Outfit
your connection object. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 4 Feb 2011, at 07:06, Ryan Schmidt wrote: On Feb 3, 2011, at 23:36, Sam Sherlock wrote: On Feb 3, 2011, at 23:22, Ryan Schmidt wrote: It's still unclear to me what the best way

Re: Blog example not working - need edit in View

2011-02-02 Thread Jeremy Burns | Class Outfit
What version of Cake are you using? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 2 Feb 2011, at 12:43, Huy Nguyen wrote: Sorry for being brief. The error is described in the stackoverflow link. Notice (8): Undefined property: View::$Html [APP\views

Re: Blog example not working - need edit in View

2011-02-02 Thread Jeremy Burns | Class Outfit
Have you included any other helpers anywhere? If so, they override the defaults, which means that the Html helper is not loaded. Try adding 'Html' to your list of helpers (and 'Form' for good measure, as that will be missing too). Jeremy Burns Class Outfit jeremybu...@classoutfit.com http

Re: Blog example not working - need edit in View

2011-02-02 Thread Jeremy Burns | Class Outfit
That doesn't sound right to me - the convention is $this-Html and it works like a peach. If it didn't, there'd be a revolution. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 2 Feb 2011, at 12:58, Huy Nguyen wrote: I just downloaded and installed from

Re: Users name / changes

2011-02-02 Thread Jeremy Burns | Class Outfit
you don't want to change is the id. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 2 Feb 2011, at 21:49, Dave Maharaj wrote: What are your thoughts on allowing Users to change their names? Talking about real names, not username. f_name = John l_name

Re: Blog example not working - need edit in View

2011-02-02 Thread Jeremy Burns | Class Outfit
You are right - I stand corrected. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Feb 2011, at 01:04, euromark wrote: i am guessing its the cake1.3 bug do you use ANY variable in the view called $html? it destroys both $html and $this-Html helper

Re: Users name / changes

2011-02-02 Thread Jeremy Burns | Class Outfit
Decide? I meant downside. ^^ Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Feb 2011, at 04:06, Jeremy Burns | Class Outfit wrote: I would always let people change their names - I mean, why wouldn't you? Women change their surname on marriage anyway

Re: can any one help in tool tip for icons?

2011-02-02 Thread Jeremy Burns | Class Outfit
Do you mean on an image? echo $this-Html-image( 'image.png', array( 'alt' = 'For when the image is missing', 'title' = 'Your tooltip', 'url' = '/', 'width' = 100, 'height' = 100 ) ); Jeremy

Re: Does the CakePHP ready for 'Large Scale' web applications?

2011-02-02 Thread Jeremy Burns | Class Outfit
Always makes me chuckle when people are asking if their app can handle Facebook style traffic. Don't waste time solving problems you don't yet have. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 3 Feb 2011, at 07:01, keymaster wrote: You'll be lucky

Re: Containable Results

2011-02-01 Thread Jeremy Burns | Class Outfit
This is (regrettably) how it is supposed to work as it is using outer joins. To achieve what you want to do you need to use the 'joins' options, where you can specify inner joins, which will filter your results correctly. http://book.cakephp.org/view/1047/Joining-tables Jeremy Burns Class

Re: Strange names in cached views

2011-02-01 Thread Jeremy Burns | Class Outfit
for how to fix it. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 1 Feb 2011, at 15:58, faem...@gmail.com wrote: Hi to all, I've enabled cache in all actions of one controller and it works right in the developer server (local). But in production (MediaTemple

Re: CakePHP 1.3.7 released

2011-02-01 Thread Jeremy Burns | Class Outfit
I think an option to turn this on or off inside the 'contain' element would be fantastic. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 2 Feb 2011, at 06:52, Name256 wrote: Fantastic news. I was wondering whether there were going to be any changes made

Re: CakePHP 1.3.7 released

2011-02-01 Thread Jeremy Burns | Class Outfit
Don't forget you can use 'joins' that can give you the results you want. It's just a bit more fiddly. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 2 Feb 2011, at 07:13, Name256 wrote: This would be nice as well. I'm just kind of in a dilemma on my

Re: Containable Query Slow - Am I doing it wrong?

2011-01-31 Thread Jeremy Burns | Class Outfit
Looks alright. What are the indexes and relationships like on the db? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 31 Jan 2011, at 17:23, TimG wrote: Hey, This code below works well but the query is really slow. It adds five seconds more to the page

Re: Containable Query Slow - Am I doing it wrong?

2011-01-31 Thread Jeremy Burns | Class Outfit
AFAIK there is no problem using a fields key inside 'contain'. It's a good way of drawing back less data. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 31 Jan 2011, at 17:33, Tilen Majerle wrote: i think (i'm not sure), but in contain key you should

Re: Please help me! almost got crazy...with Tree behavior..

2011-01-31 Thread Jeremy Burns | Class Outfit
He was getting errors when calling a Tree helper method. As the array of helpers was set up incorrectly ($actAs instead of $actsAs) the helper wasn't loaded, so the method failed. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 31 Jan 2011, at 13:19, rahul

Re: Please help me! almost got crazy...with Tree behavior..

2011-01-30 Thread Jeremy Burns | Class Outfit
He had $actAs instead of $actsAs, so the behaviour wasn't loading. It's a common mistake. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 29 Jan 2011, at 11:59, satya prakash wrote: YOU ARE CHECH IN MODEL QUERYES AND CHECK SYNTAX ; OR ' OR . THESE SOULD

Re: Numeric Keys with Form Select

2011-01-30 Thread Jeremy Burns | Class Outfit
, and I would use Form-input, not Form-select. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 29 Jan 2011, at 21:05, richfarr wrote: I'm using the FormHelper (cake 1.3) to create a select box from an array. The array uses numbers as keys but the select box

Re: actAs Tree : generatetreelist error

2011-01-29 Thread Jeremy Burns | Class Outfit
It's $actsAs, not $actAs. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 28 Jan 2011, at 02:44, raymond wrote: Hi. I have tried Tree behavior just according to manual, but it reports error following: Warning (512): SQL Error: 1064: You have an error

Re: Please help me! almost got crazy...with Tree behavior..

2011-01-29 Thread Jeremy Burns | Class Outfit
It's $actsAs, not $actAs. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 28 Jan 2011, at 08:41, raymond wrote: Hi, everyone. This is second time to post with this kind of content to this group. My first time post was gone, never appears, and dunno why

Re: Tree behavior does not work!!!

2011-01-28 Thread Jeremy Burns | Class Outfit
It's $actsAs, not $actAs. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 28 Jan 2011, at 09:00, Raymond Chester wrote: Hi, everyone. This is second time to post with this kind of content to this group. My first time post was gone, never appears

Re: Is there any way to incldue all models automatically

2011-01-28 Thread Jeremy Burns | Class Outfit
If the models are associated you don't need to load them. You can access models by daisy chaining them, e.g.: $this-User-Profile-Image-find(); Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 28 Jan 2011, at 13:05, Stephen wrote: I wouldn't want to load

Re: Is there any way to incldue all models automatically

2011-01-28 Thread Jeremy Burns | Class Outfit
I'm confused about the challenge you are facing then...? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 28 Jan 2011, at 13:29, Stephen wrote: On 28 January 2011 13:15, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: If the models

Re: Is there a way to make all view context available in a helper's method? --psybear

2011-01-28 Thread Jeremy Burns | Class Outfit
Check for $this-params in the helper. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 28 Jan 2011, at 13:30, psybear83 wrote: Hey everybody I have a helper which should behave in different ways depending on the actual controller and action. But I don't

Re: Is there any way to incldue all models automatically

2011-01-28 Thread Jeremy Burns | Class Outfit
Two thousand apologies. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 28 Jan 2011, at 13:45, Stephen wrote: On 28 January 2011 13:31, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: I'm confused about the challenge you are facing

Re: Helper File

2011-01-28 Thread Jeremy Burns | Class Outfit
Can you show the line of code that is being called and returning this error? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 29 Jan 2011, at 07:09, newguy wrote: Hi guys am new to cakephp and Iam developing a simple user registration and login system

Re: Helper File

2011-01-28 Thread Jeremy Burns | Class Outfit
Try replacing $html- with: echo $this-Html-... Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 29 Jan 2011, at 07:29, newguy wrote: here is the code(knownusers.ctp) where I have used the helpers: table ?php echo $html-tableHeaders(array_keys

Re: Helper File

2011-01-28 Thread Jeremy Burns | Class Outfit
What version of Cake are you using? The Html helper is available out of the box. Have you declared any other helpers in your controller? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 29 Jan 2011, at 07:44, newguy wrote: I tried that but no change I

Re: Connecting to a remote database via SSH

2011-01-27 Thread Jeremy Burns | Class Outfit
= array( 'driver' = 'mysqli', 'persistent' = false, 'host' = '127.0.0.1', 'port'=, 'login' = 'user', 'password' = 'pass', 'database' = 'schema', 'prefix' = '' ); Jeremy Burns Class Outfit jeremybu...@classoutfit.com http

Re: anybody have idea for this

2011-01-27 Thread Jeremy Burns | Class Outfit
It's a CSS thing. Look for the style applied to the flash message and change it in your stylesheet. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 28 Jan 2011, at 05:54, Miqdad Ali wrote: anybody have idea for this var $validate = array

Re: getting an error Unknown column 'State.name' in 'order clause'

2011-01-27 Thread Jeremy Burns | Class Outfit
Try adding: var $displayField = 'title'; ...to the top of your model. PS: I presume the 'name' field exists in the table? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 28 Jan 2011, at 06:28, andy_the ultimate baker wrote: hi bakers, good morning

Re: Connecting to a remote database via SSH

2011-01-26 Thread Jeremy Burns | Class Outfit
Thanks - I will give this a go. Jeremy Burns Class Outfit jeremybu...@classoutfit.com (t) +44 (0) 208 123 3822 (m) +44 (0) 7973 481949 Skype: jeremy_burns http://www.classoutfit.com On 26 Jan 2011, at 07:41, Zaky Katalan-Ezra wrote: edit /etc/ssh/sshd_config on your local machine Add

Re: Connecting to a remote database via SSH

2011-01-26 Thread Jeremy Burns | Class Outfit
This worked perfectly - thanks Zaky. Jeremy Burns Class Outfit jeremybu...@classoutfit.com (t) +44 (0) 208 123 3822 (m) +44 (0) 7973 481949 Skype: jeremy_burns http://www.classoutfit.com On 26 Jan 2011, at 07:41, Zaky Katalan-Ezra wrote: edit /etc/ssh/sshd_config on your local machine Add

Re: Changing the layout and appearance

2011-01-25 Thread Jeremy Burns | Class Outfit
Start here: http://book.cakephp.org/view/1078/Views. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 25 Jan 2011, at 00:16, Kid wrote: Hello, I'm new to cake php but i know a bit bout basic php.. I understand the MVC concept i think^^, i need to change

Connecting to a remote database via SSH

2011-01-25 Thread Jeremy Burns
Does anyone have any ideas for how to connect to a remote database via SSH? It's a development thing so that people working remotely can develop against the same database hosted on our virtual server. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check

Re: Connecting to a remote database via SSH

2011-01-25 Thread Jeremy Burns | Class Outfit
Linux. Apache. MySQL. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 25 Jan 2011, at 20:03, Moises Alberto Lindo Gutarra wrote: what RDBMS??? What OS??? 2011/1/25 Jeremy Burns jeremybu...@classoutfit.com: Does anyone have any ideas for how to connect

Re: Connecting to a remote database via SSH

2011-01-25 Thread Jeremy Burns | Class Outfit
Thanks - I was hoping that someone could suggest a database.php setting that would make the connection. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 26 Jan 2011, at 05:01, bdwilton wrote: Not sure if this is exactly what you had in mind

Re: Connecting to a remote database via SSH

2011-01-25 Thread Jeremy Burns | Class Outfit
I need the guidance. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 26 Jan 2011, at 06:20, Zaky Katalan-Ezra wrote: 1. You need port 22 and 3306 to be open on the remote server 2. Install mysql workbench 3. In the new connection form set the connection

Re: static function in model

2011-01-24 Thread Jeremy Burns | Class Outfit
Use a virtual field: http://book.cakephp.org/view/1608/Virtual-fields Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 24 Jan 2011, at 08:01, cake-learner wrote: I want to define the static function so that the user name ( firstname + lastname ) can be used

Re: See insert statements

2011-01-23 Thread Jeremy Burns | Class Outfit
If the id field is always set by the database (which it is as it's an auto-increment) I'd remove all validation from it. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 23 Jan 2011, at 01:07, cricket wrote: On Sat, Jan 22, 2011 at 7:22 PM, opike hastapast

Re: Proper MVC structure in CakePHP

2011-01-23 Thread Jeremy Burns | Class Outfit
repetitive (some of which is replaced by components, behaviours and helpers) and is much easier to follow if you do, in fact, make good use of the right ids displayed throughout your app. Don't fight it. Jeremy Burns Class Outfit jeremybu...@classoutfit.com (t) +44 (0) 208 123 3822 (m) +44 (0) 7973

Re: Model query for controller to view results

2011-01-21 Thread Jeremy Burns | Class Outfit
Your order statement is incorrect. Try this instead: array('order' = array('monthly_cost ASC')) Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 21 Jan 2011, at 08:34, OldWest wrote: I am continuing to get an SQL error, and my query is NOT working

Re: Hashed password displaying

2011-01-21 Thread Jeremy Burns | Class Outfit
Why bother with fancy logic? It's always going to be an obscure, meaningless set length string, so just display something like in the view. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 22 Jan 2011, at 00:46, eldorado2768 wrote: Okay, that makes

Re: Links

2011-01-17 Thread Jeremy Burns | Class Outfit
There's one already in the Bakery: http://bakery.cakephp.org/articles/gstoner/2008/03/12/authorize-net-aim-integration-component Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 17 Jan 2011, at 13:03, Spha ps wrote: Hi All, Anyone know how to recognize

Re: Plugins

2011-01-17 Thread Jeremy Burns | Class Outfit
Doh. ^^ indeed. Jeremy Burns Class Outfit jeremybu...@classoutfit.com (t) +44 (0) 208 123 3822 (m) +44 (0) 7973 481949 Skype: jeremy_burns http://www.classoutfit.com On 17 Jan 2011, at 13:52, euromark wrote: i think you posted your component in the wrong thread, jeremy^^ On 17 Jan., 14:02

<    4   5   6   7   8   9   10   11   12   13   >