G'day Sorry, I'm new to cake and have been scaling hills for the past few weeks. I have read all the entries I can find and am still missing something on how it hooks up and works. I have to use Cake 1.1 for this, no choice....
I have a project where I use four forms "modelinfo","productinfo","custinfo" and "review". I took the FormWizard snippet from cakeforge and have been trying to implement it. I have the following structure. app/controller/component/wizard.php: ==================================== - contains the actual component as downloaded. app/controller/wizard_controller.php: ===================================== // code start <?php class WizardController extends AppController { var $name = 'Wizard'; var $helpers = array('Html', 'Form','Javascript', 'Ajax' ); var $components = array('FormWizard'); function index() { } function start() { $ways=array("start" => array("pages","modelinfo","productinfo", "custinfo","review")); $this->FormWizard->initWizard($ways); } } I put the following in each view that I use: <?php echo $html->submit("Previous Step",array("name"=>"previous")); echo $html->submit("Next Step",array("name"=>"next")); ?> The end result is that at first that I stay on the same page when using Previous/Next. I realize I'm not using it right, misunderstood something, but cannot find any info that helps me see how I've got it wrong. Can anyone please point me in the right direction, I've been on a tight timeline for this project and have had lots of hurdles so far. Thanks... -- ldb --~--~---------~--~----~------------~-------~--~----~ 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 more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---