Topic: Add a "Return To" link to Login and Logged out screens.

My FA is accessed via a link on my web site, I would like to offer my users the option to return to my web site before logging in and after logging out. Which php files shoud I edit to add a "Return To" link ?

Re: Add a "Return To" link to Login and Logged out screens.

access/login.php
access/logout.php

Re: Add a "Return To" link to Login and Logged out screens.

Thanks apmuthu, that worked fine, here is the code I added to the two php files.

Line 139 login.php and Line 33 logout.php

    echo "<table class='footer'>\n";
    echo "<tr>\n";
    echo "<td><a target='_blank' href='http://sgs4.com'>Return to sgs4.com</a></td>";
    echo "</tr>\n";
    echo "</tr></table>\n";

Now, how do I edit the class 'footer' as I want to increase the font size ? Or better still create a new class.

Re: Add a "Return To" link to Login and Logged out screens.

Just figured it out ...

    echo "<table class='returnto'>\n";
    echo "<tr>\n";
    echo "<td><a target='_blank' href='http://sgs4.com'>Return to sgs4.com</a></td>";
    echo "</tr>\n";
    echo "</tr></table>\n";

/themes/default/default.css

.returnto {
        font-family: Verdana, Arial, Helvetica;
    color: #cccccc;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    width: 100%;
        }


This adds a new class 'returnto'

Re: Add a "Return To" link to Login and Logged out screens.

Joe/Janusz -> This would be a nice to include into the FA core code with the "return to" link to be provided in the config.php and displayed if not false (backward compatible)