Site integration
Permalink
I would like to make my entire website comply to one theme, login pages, error pages included. I'm still developing the theme (in my mind and in code). How does one go about fixing the entire site to comply to the theme? I care not if the dashboard uses the integrated theme, but login and error (404) must. Is it necessary to find these *.php files and edit them by hand, and refix them each release or is there a better way, I've been using this for a couple of months, and have been coming up with design ideas to fix onto the website before creating more content and possibly writing my own blocks so that I can have that extra bit of functionality I may need.
Ok, that is what I was looking for. Thanks :-)
Feedback messages are not being displayed in login and profile pages. How do I get the Concrete output messages to display via my theme? Do I need in include a div tag with specific id in my theme default page? Or some of the Concrete javascript or stylesheets?
Feedback messages meaning if user submits incorrect authentication, the message that is displayed back to him.
Feedback messages meaning if user submits incorrect authentication, the message that is displayed back to him.
Include this in your custom register.php. Then validation / errors are shown.
<div id="ccm-theme-wrapper"> <?php if (isset($error)) { ?> <?php if ($error instanceof Exception) { $_error[] = $error->getMessage(); } else if ($error instanceof ValidationErrorHelper) { $_error = $error->getList(); } else if (is_array($error)) { $_error = $error; } else if (is_string($error)) { $_error[] = $error; } ?> <ul class="ccm-error"> <?php foreach($_error as $e) { ?><li><?php echo $e?></li><?php } ?>
Viewing 15 lines of 18 lines. View entire code block.
this handles themes like login/403/page_not_found etc.