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 ...
随机推荐
- SqlServer 自动备份、自动删除7天前备份
-----sqlserver 数据异地备份 默认删除 七天前的数据 -----该代码可配置成SQLServer作业里做调度,或者配置成任务计划进行执行 ----挂载异地盘符 exec master.. ...
- double精度的坑与BigDecimal
近期经常接触支付相关的功能,在开发及测试过程中,开始金额都使用的是double类型,而近期新进的需求存在支付时打折的情况,也就是会出现如 1.23元的情况,那么这时候问题来了,如果是直接使用1.23进 ...
- 谈谈Ext JS的组件——布局的用法
概述 在Ext JS中.包括两类布局:组件类布局和容器类布局.由于有些组件是有不同的组件组合而成的,如字段就由标题和输入框构成,他们之间也是存在布局关系的,而这就须要组件类布局来处理组件内自己特有的布 ...
- somethings about QSplitter
m_splitter = new QSplitter(Qt::Horizontal); m_splitter->addWidget(this->m_leftWidget); m ...
- apache ab工具对网站进行压力测试
Apache -- ab工具主要测试网站的(并发性能) 这个工具非常的强大. 基本语法 : cmd>ab.exe –n 请求总次数 -c 并发数 请求页面的url 进入到ab.ex ...
- mybatis知识总结
基于昨天的mybatis入门详解,今天我们再来看看mybatis稍微高深些的知识点. 1.解决Model属性和数据库字段不一致的问题 1),开启驼峰命名 2),使用resultMap进行映射, < ...
- python 下的数据结构与算法---1:让一切从无关开始
这段时间把<Data Structure and Algorithms with python>以及<Problem Solving with Algorithms and Dat ...
- 3.0:pandas【基础操作】
pandas 是基于numpy构件的强大的数据处理模块,其核心的数据结构有两个:Series 与 DataFrame 一:Series Series 是一种类似于表的东西,拥有索引(index)与其对 ...
- 规约模式(Specification Pattern)
前期准备之规约模式(Specification Pattern) 一.前言 在专题二中已经应用DDD和SOA的思想简单构建了一个网上书店的网站,接下来的专题中将会对该网站补充更多的DDD的内容.本专题 ...
- 工厂方法模式(java 设计模式)
1.工厂方法模式的定义 工厂方法模式使用的频率非常高, 在我们日常的开发中总能见到它的身影. 其定义为:Define an interface for creating an object,but l ...