If you want to change the look of it all (make it look like your theme with logo / headers / etc. I assume), do this:
1) Edit the YOURSITE/config/site_theme_paths.php file, erase everything in it and replace with this:
<?phpdefined('C5_EXECUTE') or die(_("Access Denied."));$v= View::getInstance();$v->setThemeByPath('/login','your_theme_name');$v->setThemeByPath('/register','your_theme_name');$v->setThemeByPath('/page_not_found','your_theme_name');$v->setThemeByPath('/page_forbidden','your_theme_name');$v->setThemeByPath('/download_file','your_theme_name');$v->setThemeByPath('/maintenance_mode','your_theme_name');
(Note that we're also including some other pages you'll probably want to brand as well)
2) Make sure your theme has a view.php file, and that the file contains somewhere in it the line <?php print $innerContent; ?> (or it may be "echo $innerContent").
3) In your theme's view.php, just above the <?php print $innerContent; ?> (or it could be <?php echo $innerContent; ?>), paste in this code:
(Yeah, it's ugly, but if you don't do that, then error messages won't show up if the user has the wrong password or leaves a required field blank, etc. [Make sure you click that little "View entire code block." before copying this code, otherwise you'll miss the last 2 lines).
4) Now, when you visit those pages you will see that the forms and such appear inside your theme's overall look, and mentions of "Concrete5" are no longer there. If you want to further customize the look of it, you'll have to "view source" on the page in your browser to see what CSS classes and id's are available to apply styles to.
Good luck!
-Jordan
Code
Post Reply
Delete Post
You are allowed to delete your post for 5 minutes after it's posted.
If you just want to change the logo, check out this thread:
http://www.concrete5.org/community/forums/customizing_c5/how-to-rem...
If you want to change the look of it all (make it look like your theme with logo / headers / etc. I assume), do this:
1) Edit the YOURSITE/config/site_theme_paths.php file, erase everything in it and replace with this:
(Note that we're also including some other pages you'll probably want to brand as well)
2) Make sure your theme has a view.php file, and that the file contains somewhere in it the line <?php print $innerContent; ?> (or it may be "echo $innerContent").
3) In your theme's view.php, just above the <?php print $innerContent; ?> (or it could be <?php echo $innerContent; ?>), paste in this code:
(Yeah, it's ugly, but if you don't do that, then error messages won't show up if the user has the wrong password or leaves a required field blank, etc. [Make sure you click that little "View entire code block." before copying this code, otherwise you'll miss the last 2 lines).
4) Now, when you visit those pages you will see that the forms and such appear inside your theme's overall look, and mentions of "Concrete5" are no longer there. If you want to further customize the look of it, you'll have to "view source" on the page in your browser to see what CSS classes and id's are available to apply styles to.
Good luck!
-Jordan