Little help getting started

First, I am completely new to Yii, but not OOP. I created a skeleton site, and used Gii to generate Models from my existing MySQL database. That alone was super awesome, as it "just worked".

Now, I want to create a registration system (a multi-page one where the user creates his account on the first page and then on a second page, enters some extra details).

What I am struggling with is, what do I do now? Is there a tutorial that I can look at that would give me some pointers, or can someone help? I’m kind of looking for something along the lines of:

  • Use Gii to create model/controller, etc.

  • Put it in X directory

  • Plug in the custom code to X file.

I hope that’s not too basic, or newbie to ask. With a solid foundation, I’ll be up and running.

Many thanks in advance for your help.

John

kevinkorb.com/post/list

Maybe you should have a look there. I’m not sure about what help you’re actually looking for but some of the tutorials listed there helped me with customizing models and controllers.

Hope it helps!

(p.s. I’m not allowed to post links yet lol)

You should read the Blog tutorial for a step-by-step guide. The Definitive Guide explains the detailed workings of Yii.

For what it’s worth, I’m struggling with the same thing. My create form needs to only have three fields, but the update needs to have all of them.