color selection in display fields rules
-
- Posts: 651
- Joined: 30 Oct 2017, 11:24
- Name: Enis Hemedoglu
- Location: Istanbul, Turkey
- Company Name: SCORE DANISMANLIK
- Contact:
color selection in display fields rules
Color selection field can not be used in display fields rules.
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: color selection in display fields rules
Added this field type. Files from archive replace to:
rules_form.zip to modules\forms_fields_rules\views\
forms_fields_rules.js.zip to modules\items\components\
Let me know if it works ok now.
rules_form.zip to modules\forms_fields_rules\views\
forms_fields_rules.js.zip to modules\items\components\
Let me know if it works ok now.
- Attachments
-
- rules_form.zip
- (1.37 KiB) Downloaded 89 times
-
- forms_fields_rules.js.zip
- (1.19 KiB) Downloaded 100 times
-
- Posts: 651
- Joined: 30 Oct 2017, 11:24
- Name: Enis Hemedoglu
- Location: Istanbul, Turkey
- Company Name: SCORE DANISMANLIK
- Contact:
Re: color selection in display fields rules
it works, thanks.
-
- Posts: 651
- Joined: 30 Oct 2017, 11:24
- Name: Enis Hemedoglu
- Location: Istanbul, Turkey
- Company Name: SCORE DANISMANLIK
- Contact:
Re: color selection in display fields rules
Now, I have another problem.
Color selection field can not be used in processes.
Color selection field can not be used in processes.
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: color selection in display fields rules
In which place? Can you provide screenshot, please?
-
- Posts: 651
- Joined: 30 Oct 2017, 11:24
- Name: Enis Hemedoglu
- Location: Istanbul, Turkey
- Company Name: SCORE DANISMANLIK
- Contact:
Re: color selection in display fields rules
In my case, "İzin Türü" is color selection field.
I want to add this field in process form but could not add it.
You can see from the pictures. Thanks.
I want to add this field in process form but could not add it.
You can see from the pictures. Thanks.
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: color selection in display fields rules
Open file plugins\ext\classes\processes\processes.php and find next code
After 'fieldtype_dropdown', add 'fieldtype_color', so it will look like this
This fix will be in 3.3 verison.
Code: Select all
public static function get_actions_fields_choices($entity_id, $exclude_types = [])
{
$available_types = array(
'fieldtype_checkboxes',
'fieldtype_radioboxes',
'fieldtype_boolean',
'fieldtype_boolean_checkbox',
'fieldtype_dropdown',
Code: Select all
public static function get_actions_fields_choices($entity_id, $exclude_types = [])
{
$available_types = array(
'fieldtype_checkboxes',
'fieldtype_radioboxes',
'fieldtype_boolean',
'fieldtype_boolean_checkbox',
'fieldtype_dropdown',
'fieldtype_color',
-
- Posts: 651
- Joined: 30 Oct 2017, 11:24
- Name: Enis Hemedoglu
- Location: Istanbul, Turkey
- Company Name: SCORE DANISMANLIK
- Contact:
Re: color selection in display fields rules
It works,
thanks very much.
thanks very much.
-
- Posts: 651
- Joined: 30 Oct 2017, 11:24
- Name: Enis Hemedoglu
- Location: Istanbul, Turkey
- Company Name: SCORE DANISMANLIK
- Contact:
Re: color selection in display fields rules
Dear Sergey,
There is another problem with color selection. Color selection can not be selected in Email Sending Rules for field option.
There is another problem with color selection. Color selection can not be selected in Email Sending Rules for field option.
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: color selection in display fields rules
File from archive replace to plugins\ext\modules\email_sending\actions\
Let me know if it works now.
Let me know if it works now.
- Attachments
-
- rules.zip
- (3.72 KiB) Downloaded 104 times