How do I add the "Lost Password Code" to my login page.

Hi,


I am using elgg 1.8.2 and a downloaded theme for the login page. I also have the walled garden activated. I removed the walled garden Content>>HTML so the walled garden login.php page loads then disappears. The theme shows up a split second later and it works fine only without the lost password link. I have a lot of people on this network that are constantly forgetting their password and it is becoming a daily chore to change it for them....

So I am wondering what code and where shall I put it to gain the enormous benefit of the lost password link.

Thank you to anyone who can help me out!!!

Here is the code from the index.php the plugin theme uses:

<a href="#" class="sbi_label">Login</a>
                        <div class="sbi_content">
                       
                            <ul>                            <li></li>

                                <li ><?php
                                    $form_body =
                                    "
                                        <p>
                                        <label style='color: white; font-size:17px; font-weight:bold;'>"
                                        .elgg_echo('username')
                                        ."<br />"
                                        .elgg_view
                                        (
                                            'input/text'
                                            ,array
                                            (
                                                'internalname' => 'username'
                                                ,'class' => 'login-textarea'
                                            )
                                        )
                                        ."</label><br />
                                    ";
                                    $form_body .=
                                        "<label style='color: white; font-size:17px; font-weight:bold;'>"
                                        .elgg_echo('password')
                                        ."<br />"
                                        .elgg_view
                                        (
                                            'input/password'
                                            ,array
                                            (
                                                'internalname' => 'password'
                                                ,'class' => 'login-textarea'
                                            )
                                        )
                                        ."</label><br /><br />
                                    ";
                                    $form_body .=
                                        elgg_view
                                        (
                                             'input/submit'
                                            ,array
                                            (
                                                'value' => elgg_echo('login')
                                            )
                                        )
                                        ."</p>
                                    ";
                                    echo elgg_view
                                    (
                                        'input/form'
                                        ,array
                                        (
                                             'body' => $form_body
                                            ,'action' => ""
                                            .$vars['url']
                                            ."action/login"
                                        )
                                    );

                                    ?> &nbsp; </li>
                            </ul>
                        </div>
                    </div>
                   
                </div>
            </div>

 

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking