Re: Questions from a newbie

2006-06-29 Thread Daniel King
"It needs a table, but doesn't store any data? That doesn't seem to make sense - I need a little clarification here. " Sorry for my bad description. I asked the question because I didn't know how to create a controller without a model before. Now I know how to deal with it. If I don't need model,

Re: Questions from a newbie

2006-06-28 Thread John David Anderson (_psychic_)
On Jun 28, 2006, at 9:23 PM, Daniel King wrote: > How can I remove it? All of your views are encompassed in a layout. Cake's default layout is what you're seeing. Replace it by sticking in some HTML in a file at /app/views/layouts/default.thtml. Then stick in a special var to tell Cake wher

Re: Questions from a newbie

2006-06-28 Thread John David Anderson (_psychic_)
On Jun 28, 2006, at 9:16 PM, Daniel King wrote: > Do I need to create a model and a controller for every page? Nope. Models just reflect data sources (usually database tables), and a controller is a way to manage the logic for a given model. > This needs > a table called "pages", but I don't

Re: Questions from a newbie

2006-06-28 Thread Daniel King
And I have another question. All my views are included in a CakePHP's "frame". Every view has a CakePHP's Logo and some links at the top and some little icons at the bottom. How can I remove it? --~--~-~--~~~---~--~~ You received this message because you are su

Questions from a newbie

2006-06-28 Thread Daniel King
Hello, I am a newbie. I have some questions to ask. I read "The Cake Blog Tutorial" and knew how to build a simple application like this example. But I don't know how to build some complexier applications, such as an "Article Manager". An "Article Manager" has these pages: Index Page, including