Translations of this page?:

Customizing the Login Screen

IMPORTANT: Each of these edits are hacks. Only customize your login screen if you know what you are doing. Making an error may prevent you from logging into your Feng Office installation afterward!

IMPORTANT: These modifications will get lost when you upgrade your Feng Office installation! Make sure you add your changes to any new Feng Office files that may have been replaced during an upgrade!

Adding a Description to the Login Screen

The login screen usually doesn't give users any information about which system they are logging into. To add a text like

Welcome to the Green Frog Extranet

you have to edit the file \feng\application\views\access\login.php

Usually you add HTML code like the following on the top:

<p style="font-weight:bold;">Welcome to the Green Frog Extranet</p>

Adding a Logo to the Login Screen

The login screen does not show a logo. If you want to add a logo to the login screen, you should first copy your logo to your Feng Office site. It would be a good idea to create a folder for this, such as \feng\images. Copy your logo into this folder. Next, you can put the reference to the logo file in \application\layouts\dialog.php, in the section with div id=“dialog”:

<div id="dialog">
    <img src="" />

Alternatively, you can edit the CSS style in file public/assets/themes/default/stylesheets/dialog.css.

If a user forgets his or her password, there is a “Forgot password?” Link that takes the user to a page that will email their password to a provided email address. If for whatever reason you do not wish to have this feature available on the login screen, it can be removed by editing /application/views/access/login.php:

Change the last part from this:

<div id="loginSubmit"><?php echo submit_button(lang('login')) ?><span>(<a class="internalLink" href="<?php echo get_url('access', 'forgot_password') ?>"><?php echo lang('forgot password') ?>?</a>)</span></div>
  <!-- <p><a class="internalLink" href="<?php echo get_url('access', 'forgot_password') ?>"><?php echo lang('forgot password') ?></a></p> -->

to this:

<div id="loginSubmit"><?php echo submit_button(lang('login')) ?><span>If you forgot your password, contact the administrator at</span></div>
  <!-- <p><a class="internalLink" href="<?php echo get_url('access', 'forgot_password') ?>"><?php echo lang('forgot password') ?></a></p> -->


PLEASE NOTE: Comments to the wiki should only contain suggestions and questions that help us to improve the manual (and not the software). These comments will be deleted as soon as the information has been integrated into the manual.

Posts that do not contribute to the DOCUMENTATION of the project will be DELETED.

Ask QUESTIONS on the product here.
Report BUGS here.
Propose NEW FEATURES here.

Ivan Josiah Lapis, 2009-11-24 22:11

Based on how you can add items on the login screen, you can add all other things in it such as flash, ads, and so on. You can also then format the login screen to appear as a landing page where people can view information about the workspace or site, while including the login form to allow users to access the workspace. This should be a great idea if you have a link from your main site to your OpenGoo site to make them look alike.

David Hernandez, 2010-03-12 16:10

If you wish to “delete” the legends “Remember me for 14 days”, “Options” and ”(Forgot password?)”, you can include the following at the end of the file ”/[Feng Office]/public/assets/themes/default/stylesheets/login.css”:

.loginDiv .checkbox, #loginSubmit #optionsLink, #loginSubmit span {
	display: none;

At least it works for me in Feng Office 1.6.2

Enter your comment
login_screen.txt · Last modified: 2013-02-27 18:06 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported

Terms of Service | Privacy and Security policies | Copyright © 2021