How do you edit site registration.php to eliminate or change fields
Permalink 1 user found helpfulThis works but I have a related problem in that as soon as I apply the theme to the register page using the below , I lose any error messages on the form. Not sure if left anything out.
Have also tested this using the Elemental theme in the concrete directory and works ok so seems to be related to themes installed in the application directory.
application/config/app.php
ex:
Loader::element('system_errors', array('error' => $error));
echo $innerContent;
<?php defined('C5_EXECUTE') or die("Access Denied."); $this->inc('elements/header.php'); ?> <main> <div class="container"> <div class="row"> <div class="col-sm-12"> <?php Loader::element('system_errors', array('error' => $error)); print $innerContent; ?> </div> </div> </div> </main> <?php $this->inc('elements/footer.php'); ?>
I believe it can be done this way.
5.7
Single Page
- copy register.php
concrete\single_pages\register.php
- paste into application\single_pages
application\single_pages\register.php
Single Page Controller
- copy register.php
concrete\controllers\single_page\register.php
- paste into application\controllers\single_page
application\controllers\single_page\register.php
- open register.php and change the namespace
namespace Concrete\Controller\SinglePage;
to
namespace Application\Controller\SinglePage;
5.6
http://www.concrete5.org/community/forums/themes/editing-system-pag...