Resource icon

Remove everything else on login page

Matthew Hawley

Well-known member
Matthew Hawley submitted a new resource:

Remove everything else on login page - Removes header, breadcrumb & footer on login page.

Overview
This guide will show you how to remove the header, breadcrumbs & footer on login pages.

1. Go to the template "login_page" and replace everything with this:
Code:
<xen:title>{xen:phrase log_in}</xen:title>

<style type="text/css">
#header { display: none; }
.footer { display: none; }
.breadcrumb { display: none; }
</style>

<xen:include template="helper_login_form" />

You can further customize to suit your needs.

There ya go! :)...

Read more about this resource...
 
Is there a trick to get this to work with 1.3.0 ?
Template file is 'login' rather than 'login_page'

Thanks (newbie here)
 
Yes, the template is "login" and here is a sample of what it looks like to remove everything:

Code:
<xen:title>{xen:phrase log_in}</xen:title>

<style type="text/css">
#headerMover #headerProxy { display: none; }
.breadcrumb { display: none; }
#headerMover #header { display: none; }
#header_bar { display: none; }
.footer { display: none; }
</style>

<xen:include template="helper_login_form" />

Welcome to the best community.
 
Cleared cache (yes) and tried in IE (which I rarely use) so that should do it.
Can I send you a PM rather then publish URL here ? (Setting up a private forum, that's all)

Essentailly, trying to create a clean login only page, with no fluff as it is be invitation and private members only.
 
Top Bottom