在Joomla 1.6注册中添加自定义字段

Pri*_*sai 3 joomla

我想在Joomla 1.6注册页面中插入额外的字段,如电话号码,当前教育年份("FE","SE","TE","BE")等.我不想使用社区插件,我想要破解Joomla中的核心文件来执行此操作并将所需信息添加到jos_user表中.

我已经看到1.5的教程,但没有这样的1.6教程.

jll*_*anc 7

不要破解核心.plugins/user/profile/用不同的名称克隆插件(studentprofile等...).除profiles文件夹外,profile无论您在何处看到,都可以将名称更改为新名称.假设studentprofile作为名称,在安装克隆之后,编辑该文件plugins/user/studentprofile/profiles/profile.xml.您可以在此处添加自定义字段.启用该字段后,编辑plugins/user/studentprofile/studentprofile.xmlstudentprofile.php匹配新字段.然后启用插件.