1
Cptrmaker
Login page
  • 2008/8/28 5:25

  • Cptrmaker

  • Just popping in

  • Posts: 3

  • Since: 2008/8/26


I feel lost. I don't see a module or how to put the messages on the log in page.. I know I must be missing something. Any help would be appreciated. I'm glad we all started out new, and there were others out there to help set us straight.

2
trspice
Re: Login page
  • 2008/8/28 8:13

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


There is no module or method to post content on the login page but you can do some code mods to make it work.

1. Search and download the BOOX module and install

2. Open the module in administration and create a file and save it.

3. Copy the code it creates and paste where you want the content to appear in /modules/system/templates/system_userform.html

Here is how the code will appear
<!-- The BOOX Code -->
<{
php}>include_once '/home/username/public_html/uploads/loginpgcontent';<{/php}>
<!-- 
END -->

<
fieldset style="padding: 10px;">
  <
legend style="font-weight: bold;"><{$lang_login}></legend>
  <
form action="user.php" method="post">
    <{
$lang_username}> <input type="text" name="uname" size="26" maxlength="25" value="<{$usercookie}>" /><br />
    <{
$lang_password}> <input type="password" name="pass" size="21" maxlength="32" /><br />
    <
input type="hidden" name="op" value="login" />
    <
input type="hidden" name="xoops_redirect" value="<{$redirect_page}>" />
    <
input type="submit" value="<{$lang_login}>" />
  </
form>
  <
a name="lost"></a>
  <
div><{$lang_notregister}><br /></div>
</
fieldset>

<
br />

<
fieldset style="padding: 10px;">
  <
legend style="font-weight: bold;"><{$lang_lostpassword}></legend>
  <
div><br /><{$lang_noproblem}></div>
  <
form action="lostpass.php" method="post">
    <{
$lang_youremail}> <input type="text" name="email" size="26" maxlength="60" />&nbsp;&nbsp;<input type="hidden" name="op" value="mailpasswd" /><input type="hidden" name="t" value="<{$mailpasswd_token}>" /><input type="submit" value="<{$lang_sendpassword}>" />
  </
form>
</
fieldset>
There's nothing but science....
The Reggae Album

Login

Who's Online

153 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits