【问题标题】:I want to customize profile edit with some additional fields on database(users table) in Joomla 2.5我想在 Joomla 2.5 中使用数据库(用户表)上的一些附加字段自定义配置文件编辑
【发布时间】:2012-12-18 12:57:52
【问题描述】:

我试图覆盖profile.xml 文件和edit.php(查看文件),方法是将它们放在templates/template_name/html/com_users/profile folder 中,并确保edit.php 文件知道新的profile.xml ($this->form->loadFile( dirname(__FILE__) . DS . "profile.xml");),但我似乎无法做到从前端的配置文件编辑页面更新自定义字段时工作。我还可以看到自定义字段没有按照profile.xml 的顺序排列。请有人帮助我...

【问题讨论】:

    标签: joomla joomla2.5 user-profile


    【解决方案1】:

    您不能覆盖 Joomla xml 文件。您需要创建一个用户插件以单独安装以显示表单字段。默认的 Joomla 安装附带一个配置文件插件。更多详情请见here

    【讨论】:

      猜你喜欢
      • 2012-10-12
      • 2013-12-28
      • 2018-09-26
      • 2012-02-08
      • 2012-07-20
      • 2017-02-27
      • 2013-08-03
      • 2014-06-13
      • 2017-06-02
      相关资源
      最近更新 更多