New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Can't get a front-end Controller working

Roberto March 29, 2019 by Roberto


I've read about 100 times this docs page about Controllers but I can't get it working.

I've a complete site working with some pages, some custom collections, fields... everything is working great.

Now I want to create a private page for each user with some information that came from a remote API.

I think that the best way to accomplish that is to create a Controller that recover the user data from the API and the send it to the front-end view. Is that correct?

How can I do that with statamic?

Any help will be appreciated.

Answered by Erin Dalzell!
>>>>>>> Answered <<<<<<<
1 Reply