1

I want a registration section for users on the homepage of my site, but I don't want it to be like all other functions where I click a link to get to the controller.. I want the form to be on the homepage along with other content.. In PHP I would do this by creating the function and then just simply include('path/to/php/file.php')

Thanks

2 Answers 2

1

What you need here is a view helper. Rob Allen has a great tutorial about them. And I guess what you are searching for is more information about the logging in and authentication. Matthew Weier O'Phinney has a really good tutorial about it too. Matthew's tutorial is using view helpers too but they are not explained detailed enough. So it is probably better if you read Rob's tutorial first.

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

Comments

0

The form can be on the homepage even if it submits to another controller. Or you could create a standalone PHP script and include it in (probably from your view) if you prefer to work this way.

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.