1

I want to create a testAction in testController of testModule with command line. So I go to tesModule directory(cd application/modules/test) and run the following command.

zf.sh create action test -c test

It created a action in application/modules/test/controllers/testController.php but it created testAction's test.phtml file in application/views/scripts/test/ folder. But I think it should be in same module folder like this: application/modules/test/views/scripts/test/ folder.

What command should I use that will create action and its phtml file in same module folder.

Thanks

1 Answer 1

1

zf.sh create test test 1 test

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.