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"
)
);
?> </li>
</ul>
</div>
</div>
</div>
</div>
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- dcmjkamm@dkreate

dcmjkamm - 0 likes
- rjcalifornia@rjcalifornia

rjcalifornia - 0 likes
You must log in to post replies.rj california gave me the code I needed. Thank you!!
You are welcome!
Rodolfo Hernandez
Arvixe/Elgg Community Liaison