diff options
author | Mark Wells <mark@freeside.biz> | 2015-07-10 16:38:28 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-07-10 16:38:28 -0700 |
commit | 0ed195595b5c7ea404c8848d9d1881ada4214489 (patch) | |
tree | 6d6f3fe6e980cd123ff7a648d27fb9eb6b16ab13 /rt/docs/extending | |
parent | af05c3dda381122e0a45f72dbc0b4e9492f13fe7 (diff) | |
parent | df4a68099abfa067014f36f92874fccefdea662e (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'rt/docs/extending')
-rw-r--r-- | rt/docs/extending/clickable_links.pod | 1 | ||||
-rw-r--r-- | rt/docs/extending/external_custom_fields.pod | 10 |
2 files changed, 8 insertions, 3 deletions
diff --git a/rt/docs/extending/clickable_links.pod b/rt/docs/extending/clickable_links.pod index dd80ff10f..d52ea5996 100644 --- a/rt/docs/extending/clickable_links.pod +++ b/rt/docs/extending/clickable_links.pod @@ -23,6 +23,7 @@ after the URL. =item C<httpurl_overwrite> Detects URLs as C<httpurl> format, but replaces the URL with a link. +This action is enabled by default. =back diff --git a/rt/docs/extending/external_custom_fields.pod b/rt/docs/extending/external_custom_fields.pod index f32bda769..5e70d3e40 100644 --- a/rt/docs/extending/external_custom_fields.pod +++ b/rt/docs/extending/external_custom_fields.pod @@ -57,6 +57,10 @@ web interface. See L</Configuration>. This method should return an array reference of hash references. The hash references should contain keys for C<name>, C<description>, and C<sortorder>. C<name> is most important one; the others are optional. +You can also optionally provide a key for C<category> and use the +"Categories are based on" option on the custom field configuration +page to make the values displayed for this custom field vary based +on the value selected in the "based on" custom field. =back @@ -77,9 +81,9 @@ Here's a simple static example: # return reference to array ([]) return [ # each element of the array is a reference to hash that describe a value - # possible keys are name, description and sortorder - { name => 'value1', description => 'external value', sortorder => 1 }, - { name => 'value2', description => 'another external value', sortorder => 2 }, + # possible keys are name, description, sortorder, and category + { name => 'value1', description => 'external value', sortorder => 1, category => 'Other CF' }, + { name => 'value2', description => 'another external value', sortorder => 2, category => 'Other CF' }, # values without description are also valid, the default description is empty string { name => 'value3', sortorder => 3 }, # you can skip sortorder too, but note that the default sortorder is 0 (zero) |