Added extras to user profile fields. This field can be accessed using the
profile.form.element.extras template variable when editing a profile and the profile.extras field when viewing a template.
This commit is contained in:
parent
ddd1c27305
commit
ebd2309104
8 changed files with 337 additions and 271 deletions
|
|
@ -1,4 +1,7 @@
|
|||
7.6.2
|
||||
- added extras to user profile fields. these can be accessed using the
|
||||
profile.form.element.extras template variable when editing a profile
|
||||
and the profile.extras field when viewing a template.
|
||||
- Added the NotifyAboutThing workflow activity. Use this activity to create
|
||||
workflows for the add / edit / delete workflows for a thingy's things.
|
||||
- fixed #8839: Documentation is wrong for Stock Ticker
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ addPreTextToThingyFields($session);
|
|||
updateAddressBook($session);
|
||||
changeDefaultPaginationInSearch($session);
|
||||
addUsersOnlineMacro($session);
|
||||
addProfileExtrasField($session);
|
||||
finish($session); # this line required
|
||||
|
||||
|
||||
|
|
@ -84,6 +85,15 @@ sub addPreTextToThingyFields {
|
|||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addProfileExtrasField {
|
||||
my $session = shift;
|
||||
print "\tAdding the Extras field for profile fields... " unless $quiet;
|
||||
my $db = $session->db;
|
||||
$db->write('alter table userProfileField add extras text default NULL');
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
|
||||
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue