Joomla 3.x. How to edit registration page
Adding registration form fields
In order to add new fields to the registration form, database and files update is required. The following database changes are required:
Access the database assigned to your site using PhpMyAdmin tool on your hosting Cpanel.
Browse XXX_users table. XXX is your the database table prefix:

Click on the Structure button.
Choose elements between which you would like to paste a new field.
Specify columns number under Add section. Add chose database ID after which new item will be shown.
Click on Go button:

Specify Name, Type and Length settings on the next screen.
Save changes:

In order to make a new field appear on your site, modify the following files:
Edit user.php file from the libraries/joomla/user folder. Find code for the field after which your new section should come:
public $name = null;
Add code for your new field just under the code above:
public $field_lable_here= null;
Where field_lable_here is your new field title.
Modify users.xml file from administrator/components/com_users/models/forms directory.
Find code for the field after which your new field will be shown:
123456<fieldname="name"type="text"description="COM_USERS_USER_FIELD_NAME_DESC"label="COM_USERS_USER_FIELD_NAME_LABEL"required="true"size="30"/>Add code for your field just under the code below:
123456<fieldname="field_lable_here"type="text"description="Your description"label="field_lable_here"required="true"size="30"/>Replace field_lable_here with your new field label. Change Your description text to your description.
Edit registration.xml file from the components/com_users/models/forms folder on your server. Add code for your field under the code used for the field after which you would like to show your new field:
123456<fieldname="field_lable_here"type="text"description="Your description"label="field_lable_here"required="true"size="30"/>
Upload the modified files on your server. Refresh your site to see the change.
Joomla 3.x. How to edit registration page的更多相关文章
- Page Security
参见开发文档 Overview This document describes how to build applications that grant selected access to indi ...
- Sharepoint学习笔记—习题系列--70-576习题解析 -(Q32-Q35)
Question 32 You are designing the modification of an existing SharePoint 2010 intranet site for a sc ...
- 黄聪:wordpress中remove_action、add_action、 do_action()的hook钩子都有哪些
原文地址:http://codex.wordpress.org/Plugin_API/Action_Reference muplugins_loaded After must-use plugins ...
- How to distribute your own Android library through jCenter and Maven Central from Android Studio
In Android Studio, if you wish to include any library to your application. You could just simply add ...
- gitblit-1.8.0域认证
gitblit-1.8.0\data\defaults.properties # # DEFAULTS.PROPERTIES # # The default Gitblit settings. # # ...
- 32bit 天堂服务端假设教程
本文作者:smeli(俄罗斯人,于2009年完成该教程) PS:要比国内写的那些教程完整,详细,希望大家喜欢 VS运行库安装………………………………………..2 SQL数据库安装…………………………… ...
- CQRS之旅——旅程4(扩展和增强订单和注册限界上下文)
旅程4:扩展和增强订单和注册限界上下文 进一步探索订单和注册的有界上下文. "我明白,如果一个人想看些新鲜的东西,旅行并不是没有意义的."儒勒·凡尔纳,环游世界80天 对限界上下文 ...
- http://www.freeopensourcesoftware.org
Applications http://www.freeopensourcesoftware.org/index.php?title=Applications Main Page > Thi ...
- vue.js中英文api
全局配置 Vue.config is an object containing Vue's global configurations. You can modify its properties l ...
随机推荐
- Solr4.4.0部署到tomcat上
主要步骤如下: 1.下载solr-4.4.0.tgz 2.解压缩solr-4.4.0.tgz,命令tar -xzvf solr-4.4.0.tgz 3.压缩后进入到solr-4.4.0目录,将 exa ...
- zeptoJS:如何像jQuery一样,让滚动变得优雅?
利用jQuery的animate() 方法,我们很容易实现滚动条的平滑滚动效果: $(function() { $('#top').click( function (e) { $('html, bod ...
- CentOS6.7 常用操作命令
centos 安装py环境 1.安装wget工具: yum install wget 2.安装Python-2.7.8: wget --no-check-certificate https://www ...
- 1:环境安装与介绍:canopy
<利用python进行数据分析>这本书推荐用的的环境为EPDFree版本,但实际现在大概已经抛弃它改用Canopy了,下面将介绍Canopy相关: 一:下载:https://store.e ...
- IIS Express 终极玩法
进入正题之前,先吐嘈下微软的win10升级吧.之前有意不想将win 7 旗舰版(也是破解版哈)升到win 10,自从微软推出win10后,其本上对其没多大兴趣,感觉系统各种卡顿,各种不流畅,界面各种不 ...
- 华硕笔记本怎么设置u盘启动(两种方法)
华硕笔记本怎么设置u盘启动(两种方法) 华硕笔记本怎么设置u盘启动.我想用U盘安装系统但是 我不知道如何设置U盘启动,那么该如何设置呢?下面和大家分享一下我的经验,希望能够帮到大家.如果你的系统是预装 ...
- 对于数据操作的SQL语句精粹(长期更新)
--删除空格 Update [Table] Set [Column]=Replace([Column],' ','') --查出左右和右边带空格的数据 select RTRIM( LTRIM([Col ...
- 基于java callable及future接口解决生产者消费者问题
这两天复习java线程时,把java里面的线程基本知识点与jdk1.5以后新添加的一些类的使用都了解了一下,借用生产者消费者的问题来将他们实践一下. 题目:(题目在csdn一大牛的空间找的) 生产者- ...
- const的重载
class A { private: int a; public: A(int x) :a(x){}//构造函数并不能重载 void display(){ cout << "no ...
- 安卓java设置字体颜色
textView03.setTextColor(this.getResources().getColor(R.color.botomfontColorUnSel));