Users and the dashboard
Permalink
Whenever I enabled user profiles and tried to go to my profile, I got an error saying that I had to have a view.php file. I made the C5 template myself so I'm not really sure what view.php file they are talking about? Can you push me in the right direction?
Thanks
1) Copy your theme's default.php file.
2) Rename the copy to "view.php".
3) Edit the view.php file and replace the code that outputs your 'Main' area with "print $innerContent" -- for example, change this:
<?php $a = new Area('Main'); $a->display($c); ?>
...to this:
**IMPORTANT NOTE: The above code only works in Concrete5.4.2 and higher. If you're not using 5.4.2 or higher, let me know and I'll point you to some different code that does work**
Also see these how-tos for more info:
http://www.concrete5.org/documentation/how-tos/designers/why-do-i-n...
http://www.concrete5.org/documentation/how-tos/designers/themimg-sy...