Re: tilted table headers in cake...

2008-10-11 Thread soldier.coder
On Oct 11, 3:06 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > What kinda question is this??? Cake is a framework. As such, it trys to solve problems that a whole lot of peeps have in creating PHP database driven sites. So I just asked myself, is it really possible that I am the *only pers

how to edit multple rows in one view

2008-10-20 Thread soldier.coder
Hello coders! I'm trying to build a nice gradebook app, so teachers can keep of students grades. Right now, scaffolding has given me enough to enter one grade for one grade category for one student. The way my code is set up, teachers choose categories (like writing assignments, oral presentatio

Re: Table Join Problem Again

2008-10-20 Thread soldier.coder
Short answer is no, you do not. EVERY table in cake must have primary key "id" which is autonumber int. When you refer to the primary key of another table, it is that tablename + "_id". On Oct 20, 11:31 am, MDB <[EMAIL PROTECTED]> wrote: > Hello all, I am having a heck of a time trying to und

Re: how to edit multple rows in one view

2008-10-20 Thread soldier.coder
ted VERY fast.  First, do you want the changes to > be made immediately, or does the teacher have to click a submit/save > button to save changes?  Second, is ajax an option? > > hydra12 > > On Oct 20, 10:27 am, "soldier.coder" > > <[EMAIL PROTECTED]> wrote: >

mIRC

2008-10-20 Thread soldier.coder
Hello, One of the ways to get help is to ask questions on the irc channel. Does anyone use this? I have a registered version of mIRC and I could not connect to save my life. Could anyone offer a step by step on connecting to the channel please? Thanks! --~--~-~--~~~--

Re: tilted table headers in cake...

2008-10-20 Thread soldier.coder
That is a simple, direct, and probably truthful answer. Thank you. > Here is the simple answer. > > There ain't one. > > have a nice day --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to

Re: how to edit multple rows in one view

2008-10-20 Thread soldier.coder
On Oct 20, 3:49 pm, hydra12 <[EMAIL PROTECTED]> wrote: > I asked about ajax because that actually makes things easier in some > ways.  You can set each grade to save via ajax when the teacher moves > on to the next grade.  It all happens transparently in the background, > so no looping through

where is my main page??

2008-10-22 Thread soldier.coder
when I browse to the root of my app, I get the out of the box messages. One of them boldy states: To change the content of this page, edit: APP/views/pages/home.ctp. But when I look for that file, there is just an empty directory! Where does the page that is being rendered come from?? And ma

Re: Wampserver and Cake Bake

2008-10-25 Thread soldier.coder
Ok, I got 3 suggestions for you: 1) write a simple php script that echos "hello" and run it from a CMD box. Does it run? if not find out the path to where your php runs from and add it to your path. 2) add to your path the path to the console section of your cake app. I have an app called "Gra

Re: Wampserver and Cake Bake

2008-10-25 Thread soldier.coder
One more thing... It is hard to diagnose the problem without seeing the exact symptoms. Could you post the exact text of the error? And... do you have a prior version of MySql running as a service? Just some thoughts. On Oct 24, 5:41 pm, Merk <[EMAIL PROTECTED]> wrote: > Hi, > > I have an i

Re: Wamp cakePHP allright except bake

2008-10-28 Thread soldier.coder
Jacques, The key to your problem is in your phrasing: "everything works fine until...". In my experience, if your database worked fine before you tried console, you probably have a pathing problem. Cake has some nice docs and if you want the long spiel on what to do, check out http://book.cakep

databases supported?

2008-11-12 Thread soldier.coder
Is there a nice list somewhere of databases supported with CakePHP? It would be oh so nice if Ingres was one of them. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, s

questions about models

2008-09-11 Thread soldier.coder
I am still quite confused about expressing a "belongs to" relationship to more than one table at a time. Consider this: I am writing an app that will keep track of grades for students in multiple courses. So my final_grades table has a course id, a student id, and a final grade. So my understa

Re: what does __() mean?

2008-09-11 Thread soldier.coder
It is used for internationalizing your code. On Sep 8, 3:13 pm, "Gonzalo Servat" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 8, 2008 at 4:00 PM, Action <[EMAIL PROTECTED]> wrote: > > > The bake console generated the following code: > > > $this->Session->setFlash(__('The User has been saved', true));

Questions regarding models...

2008-09-11 Thread soldier.coder
I am totally new to Cake and need some help understanding models. But first let me give some background. I have a friend who is an English teacher and she asked me if I could set something up so she can enter grades in different weighted categories, and allow students to see their own grades (an

"Has ..." relationships help please

2008-09-12 Thread soldier.coder
I am getting lost in semantics and need a guide. I'm writing an app that keeps track of grades for students in multiple courses. Depending on the type of course, there will be different categories of grades ('Lab Assignments','Oral Presentation', 'Programming Assignments', ...) and there will be

Models and "Has..." help please!

2008-09-12 Thread soldier.coder
But I guess such thinking on my part is futile. So let me lay it all out for you. My tables: courses-- this is here to provide in ID and a course name for display. course_id course_name categories -- another look up table for category names category_id ca

form select help

2009-04-03 Thread soldier.coder
Hi all, In my rosters table I have a course_id, that points to the primary key in courses table, and I have a student_id, that likewise points to primary key in students, table... Right now, in my baked of views/rosters/add.ctp: create('Roster');?> input('course_id'); echo $f