Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Wizard Model howto?

#9

Hi,

I follow documentation, but I must add CakePlugin::load('Wizard'); on boostrap php, and I can't understand now how to make the view.
If I made a Controller for the wizard and this don't hava a model I get an error:

"Error: Table signups for model Signup was not found in datasource default."

<?php echo $this->Form->create('Signup', array('id' => 'SignupForm', 'url' => $this->here)); ?>

<h2>Step 1:</h2>
<?php 

    echo $this->Form->input('User.username', array('label'=>'Email:'));
?>
<div class="submit">
    <?php echo $this->Form->submit('Continue', array('div' => false)); ?>
    <?php echo $this->Form->submit('Cancel', array('name' => 'Cancel', 'div' => false)); ?>
</div>

<?php echo $this->Form->end(); ?>

How can I made the Model class of the wizard?
There ia a complete sample to be downloaded?

Thankyou

Reported by Spiazzi · November 30th, 2012 @ 04:47 AM

State: new
Milestone: none
Assigned to: jaredhoyt jaredhoyt

Activity

  1. Spiazzi
    Spiazzi

    Ok I found solution adding

    var $uses = array('User', 'Member');

    in the controller

    November 30th, 2012 @ 04:57 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.