My custom Login Page does not load the login css! Any ideas?

Permalink
Hello,

It has been driving me crazy all day and I finaly decided to give up and ask around on here. Any help would be greatly appreciated.

Now for the tough stuff:

I have created my own custom login and Reg page by editing the view.php file and the site_theme_paths file.

Only problem I have is that the form elements such as Username, Name, Email etc text entry boxes do not align up as they did when I used the original concrete5 login page.

The form doesnt seem to recognise the css elements that it did before but I am stumped as to how this can be fixed.

Once again any help would be great. Thank you.

PixelPals
 
PixelPals replied on at Permalink Reply
PixelPals
If anyone wants to see the page I am talking about it can be found here>http://www.yourpeterlee.org.uk/concrete5/index.php/register/...
:D
12345j replied on at Permalink Best Answer Reply
12345j
copy root/concrete/single_pages/register to root/single_pages/register and replace the contents with
<? defined('C5_EXECUTE') or die("Access Denied."); ?>
<h1><?=t('Site Registration')?></h1>
<div class="ccm-form">
<? 
if($success) { 
   switch($success) { 
      case "registered": 
         ?>
         <p><strong><?=$successMsg ?></strong><br/><br/>
         <a href="<?=$this->url('/')?>"><?=t('Return to Home')?></a>
         <? 
      break;
      case "validate": 
         ?>
         <p><?=$successMsg[0] ?></p>
which will insert a breakpoint after each question for the defaults at least.
PixelPals replied on at Permalink Reply
PixelPals
Hi,

Thanks 12345j that has worked great - the reg form now displays as I wanted it to.

However, after adding that etc am I right in thinking that I should have done this sort of thing for my custom Login page aswell? As i didnt - I simply editied my view.php.

Im thing I should have done that as my css seems to have been changed on my login page since doing what you said.

If you go to the pagehttp://www.yourpeterlee.org.uk/concrete5/index.php/login... you can see that the buttons have the left side of an image beside them. I don't know why this is and would like rid :)

Once again any help would be much appreciated. :D
12345j replied on at Permalink Reply
12345j
sorry? I can't see any left side of an image. What I gave you should only change the register page, as it doesn't contain any css.
PixelPals replied on at Permalink Reply
PixelPals
THanks j

But just to wrap things up haha when you told me to copy the login.php to my other single pages folder and change the contents.

Should I have followed this same procedure (using different code obviously) for creating my custom login single page.

:D