{"action":"created","issue":{"url":"https://api.github.com/repos/makroxyz/yii2-wizard/issues/3","labels_url":"https://api.github.com/repos/makroxyz/yii2-wizard/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/makroxyz/yii2-wizard/issues/3/comments","events_url":"https://api.github.com/repos/makroxyz/yii2-wizard/issues/3/events","html_url":"https://github.com/makroxyz/yii2-wizard/issues/3","id":80955394,"number":3,"title":"Not working in Yii2","user":{"login":"EugenyHo","id":12044185,"avatar_url":"https://avatars.githubusercontent.com/u/12044185?v=3","gravatar_id":"","url":"https://api.github.com/users/EugenyHo","html_url":"https://github.com/EugenyHo","followers_url":"https://api.github.com/users/EugenyHo/followers","following_url":"https://api.github.com/users/EugenyHo/following{/other_user}","gists_url":"https://api.github.com/users/EugenyHo/gists{/gist_id}","starred_url":"https://api.github.com/users/EugenyHo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EugenyHo/subscriptions","organizations_url":"https://api.github.com/users/EugenyHo/orgs","repos_url":"https://api.github.com/users/EugenyHo/repos","events_url":"https://api.github.com/users/EugenyHo/events{/privacy}","received_events_url":"https://api.github.com/users/EugenyHo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-26T13:09:19Z","updated_at":"2015-05-26T14:35:29Z","closed_at":null,"body":"Trying to use this extension in my project.\r\n\r\nController:\r\n<pre>\r\n\r\npublic function actionNew($step=null)  //new must start the wizard\r\n\t{\r\n\t\tIf ($step=='reset') {\r\n\t\t\t$this->reset();\r\n\t\t\t$step=null;\r\n\t\t}\r\n\t\t$this->process($step);\r\n\t}\r\n...\r\n public function behaviors() \r\n\t{\r\n\t\treturn array(\r\n\t\t\t'wizard'=>array(\r\n\t\t\t'class'=>'makroxyz\\wizard\\WizardBehavior',\r\n\t\t\t'autoAdvance' => false,\r\n\t\t\t'steps'=>array(\r\n\t\t\t\t       'Begin'=>'BeginStep',\r\n\t\t\t\t       'Questions'=>'QuestionStep',\r\n\t\t\t\t          ),\r\n\t\t\t)\r\n\t\t);\r\n\t}\r\n...\r\n public function WizardProcessStep($event) \r\n\t{\r\n\t\t$modelName = \"frontend\\models\\\\\".ucfirst($event->step);\r\n\t\t$model = new $modelName();\r\n\t\t$model->attributes = $event->data;\r\n\r\n\t    if ($model->load(Yii::$app->request->post()) && $model->validate()) {\r\n\t\t\t     $event->sender->save($model->attributes);\r\n\t\t\t     $event->handled = true; \r\n        }\r\n        else {\r\n        \t     return $this->render($event->step, compact('event','model'));\r\n        }\r\n\t}\r\n\r\n</pre>\r\n\r\nMy view (at the fist step = BeginStep.php)\r\n\r\n<pre>\r\n\r\n/?php\r\nuse yii\\helpers\\Html;\r\nuse yii\\bootstrap\\ActiveForm;\r\n\r\n/* @var $this yii\\web\\View */\r\n/* @var $form yii\\bootstrap\\ActiveForm */\r\n/* @var $model \\frontend\\models\\SignupForm */\r\n\r\n$this->title = 'Step #1';\r\n$this->params['breadcrumbs'][] = $this->title;\r\n\r\n$event->sender->menu->run();\r\n?/\r\n/div class=\"bw\"/\r\n    /h1//?= Html::encode($this->title) ?///h1/\r\n\r\n    /p/Please fill out the following fields to signup://p/\r\n\r\n    /div class=\"row\">\r\n       /div class=\"col-lg-5\">\r\n            /?php $form = ActiveForm::begin(['id' => 'form-signup']); ?>\r\n                /?= $form->field($model, 'estatus') ?>\r\n                /?= $form->field($model, 'number') ?>\r\n                /?= $form->field($model, 'post_date')->passwordInput() ?>\r\n                /div class=\"form-group\">\r\n                    /?= Html::submitButton('Next step >>', ['class' => 'btn btn-primary', 'name' => 'next-step-button']) ?>\r\n                //div>\r\n            /?php ActiveForm::end(); ?>\r\n        //div>\r\n    //div>\r\n//div>\r\n\r\n</pre>\r\n\r\nNOTE: i was change < sing to / for correct view in github.\r\n\r\nSo, there is nothing out to the screen!\r\nTotaly nothing. No errors, no text. Empty.\r\n"},"comment":{"url":"https://api.github.com/repos/makroxyz/yii2-wizard/issues/comments/105546158","html_url":"https://github.com/makroxyz/yii2-wizard/issues/3#issuecomment-105546158","issue_url":"https://api.github.com/repos/makroxyz/yii2-wizard/issues/3","id":105546158,"user":{"login":"makroxyz","id":2069949,"avatar_url":"https://avatars.githubusercontent.com/u/2069949?v=3","gravatar_id":"","url":"https://api.github.com/users/makroxyz","html_url":"https://github.com/makroxyz","followers_url":"https://api.github.com/users/makroxyz/followers","following_url":"https://api.github.com/users/makroxyz/following{/other_user}","gists_url":"https://api.github.com/users/makroxyz/gists{/gist_id}","starred_url":"https://api.github.com/users/makroxyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makroxyz/subscriptions","organizations_url":"https://api.github.com/users/makroxyz/orgs","repos_url":"https://api.github.com/users/makroxyz/repos","events_url":"https://api.github.com/users/makroxyz/events{/privacy}","received_events_url":"https://api.github.com/users/makroxyz/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T14:35:29Z","updated_at":"2015-05-26T14:35:29Z","body":"Check namespaces in your files. Let me know"}}