Site is Currently Under Construction

HomeWebJoomla Login Form

Changing Joomla Login Form

Instructions (draft)

Changing the Joomla Front End login module

Overview

Will need to modify 4 files and add tables to the database using PHPMyAdmin

  1. /libraries/joomla/database/table/users.php
  2. /components/com_user/views/register/tmpl/default.php
  3. /components/com_user/views/user/tmpl/form.php
  4. /administrator/components/com_users/views/user/tmpl/form.php
  5. PHPMyAdmin -- database-prefix_users -- param

PHPMyadmin to Add Tables

-- jos_users
add two fields using the params field
Add Fields:  Field: field-name, type: Varchar, Len: 20
save

 

File 1: libraries/joomla/database/table/users.php


After adding the fields then modify users.php

  • Look for var $params = null;

Change var $params = null; --- to

  • var $newfieldname = null;

For each new field
 

File 2:  components/com_user/views/register/tmpl/default.php

 

block off:


<tr>
  <td height="40">
    <label id="emailmsg" for="email">
        <?php echo JText::_('Email'); ?>:
    </label>
  </td>
  <td>
     <input type="text" id="" name="email" size="" value="<?php echo $this->user->get('email'); ?>"
      class="inputbox required validate-email" maxlength="100">
  </td>
</tr>

  • Copy and paste for each new field needed
  • Modify the word email to the name of the added field
  • Remove validate-email

 

File 3: components/com_user/views/user/tmpl/form.php

=====================================================

Copy and paste the block of code

Modify this same block of text as in file 2

 

Remove: validate-email change: email to field name

Last File

File 4: administrator/components/com_users/views/user/tmpl/form.php

Look for emailblock

Modify this same block of text as in file 2

 

Copy and paste for each field and change email to fieldname and remove the validate-email.  and then save file.

 

 

Menu Create Tool

Web Development

HTML, CSS, JS

Design using HTML / CSS and Javascript.  Search Engine Friendly.

Joomla / WordPress

Design using PHP / HTML / CSS and Javascript.  Search Engine Friendly.  PHP Security.

Who's Online

We have 11 guests and no members online

Epic Biking

1306 N Redwood Rd
Saratoga Springs, UT 84045
801-653-2039
www.epicbiking.com
Epic-Biking on Facebook