1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 22:53:01 +02:00

Custom user-extended fields - work-in-progress. (experimental)

This commit is contained in:
Cameron
2016-05-05 18:51:30 -07:00
parent 01ec33cc8e
commit 1e44928e1f
4 changed files with 27 additions and 3 deletions

View File

@@ -23,5 +23,21 @@ class _blank_user // plugin-folder + '_user'
return $var;
}
function fields()
{
$fields = array(
);
}
}

View File

@@ -25,5 +25,6 @@
</userClasses>
<extendedFields>
<field name="custom" type='EUF_TEXTAREA' default='0' active="true" />
<field name="custom2" type='EUF_ADDON' data="str" default='0' active="true" system="false" text="My Label" />
</extendedFields>
</e107Plugin>