Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

Admin Login template


Reply

8 Posts   1298 Views

Avatar
leafchild

4 November 2011 at 9:48am Community Member, 41 Posts

I want to change the way Admin login page looks.

Currently, it looks not really pretty but only I can find the file that I can change looks is

sapphire/tempalte/includes/Form.ss

but I should NOT edit this file, right?

Is there any way I can change admin template login without editing this file?

Thanks

Avatar
swaiba

4 November 2011 at 11:37am Forum Moderator, 1796 Posts

yep...

create and edit a themes\yourtheme\templates\Layout\Security_login.ss

here is an example...

<h1>my custom login page</h1>
<h2>please login</h2>
$Content
$Form

Avatar
leafchild

4 November 2011 at 12:32pm Community Member, 41 Posts

thanks swaiba,

I created a file, \yourtheme\templates\Layout\Security_login.ss
and wrote code exactly your example but nothing happened.

Did I miss something?

Avatar
swaiba

4 November 2011 at 12:43pm Forum Moderator, 1796 Posts

maybe...

dev/build?flush=all

Avatar
leafchild

4 November 2011 at 12:48pm Community Member, 41 Posts

thanks.

Yes, you were right. I had to do "dev/build?flush=all"
I didn't expected to do this.

Thank you for your help.

Avatar
swaiba

4 November 2011 at 12:51pm Forum Moderator, 1796 Posts

you should *always* expect to do at least a flush=1 when you change a *.ss file

Avatar
leafchild

4 November 2011 at 12:53pm Community Member, 41 Posts

I do flush but I do this dev flush after change DB not change .ss file

Avatar
swaiba

4 November 2011 at 12:55pm Forum Moderator, 1796 Posts

fair enough