Profile Single Page as Part of a Theme Package

I have tried looking at how-tos and documenation, but I'm still a bit confused. I am trying to figure out exactly what I need to do to make it so that single pages - especially Profile - work well with the theme.

The view.php file only prints out what's there, but I need to do custom stuff to the various areas, such as the profile sidebar.

Step-by-step, what do I do to include single pages as part of the theme package?

View Replies:
jero replied on at Permalink Reply
I think in essence what you need to do is to add files into your theme that have the same name as the single page you want to use.

For example, you'd drop a login.php file into your theme if you want a theme styled login. Typically this page would be based on view.php, with the contents of the standard login.php inserted or included where the print $innertContent goes.

You would also need to follow the instructions in config/site_theme_paths.php to enable the use of those pages, otherwise the vanilla ones will continue to apply.

Having done that, you might want to have the page controller do something a little different. If so, then copy concrete/controllers/login.php into /controllers/login.php and make changes there. I've done just that on a site where confirming the site registration (which is done by login.php) subscribes the user to a mailchimp list.