Jump to content


Photo

Actions Module "List View" - add "Complete + new action" button

actions

  • Please log in to reply
3 replies to this topic

#1 cgodwin

cgodwin

    Member

  • Members
  • PipPip
  • 11 posts

Posted 06 September 2018 - 11:36 AM

Hi there! We have clients who use the "Actions" module extensively to follow up with their contact's activities and find it cumbersome in the "List view" to have to click quite a few times to create a new action just to follow up from a previously completed action. The  "complete + new action" button is available in the "full record view" (see screenshot)  Attached File  Full action view.png   86.53KB   0 downloads .Can we have the same button up top in the "List View"? Especially when having to follow up with 50+ actions a day it would save a load of time. Attached File  Actions List View.png   127.37KB   0 downloads

 

PS: Is there any way to modify the "Priority" Dropdown from Low/Medium/High to 1-10? Right now it's not a thing for the "actions" module (I only found it for the Contacts module).Attached File  Changing priority.png   75.57KB   1 downloads 



#2 rordallas

rordallas

    Member

  • Members
  • PipPip
  • 14 posts

Posted 06 September 2018 - 01:24 PM

As far as answering your PS:

1. Duplicate "path to x2crm\X2CRM\x2engine\protected\modules\actions\models\Actions.php" to "path to x2crm\X2CRM\x2engine\custom\protected\modules\actions\models\Actions.php"

2. Modify the getPriorityLabels() function in "path to x2crm\X2CRM\x2engine\custom\protected\modules\actions\models\Actions.php"

FROM

    public static function getPriorityLabels(){
        if(!isset(self::$_priorityLabels)){
            self::$_priorityLabels = array(
                1 => Yii::t('actions', 'Low'),
                2 => Yii::t('actions', 'Medium'),
                3 => Yii::t('actions', 'High')
            );
        }
        return self::$_priorityLabels;
    }

TO

    public static function getPriorityLabels(){
        if(!isset(self::$_priorityLabels)){
            self::$_priorityLabels = array(
                1 => Yii::t('actions', '1'),
                2 => Yii::t('actions', '2'),
                3 => Yii::t('actions', '3'),
                4 => Yii::t('actions', '4'),
                5 => Yii::t('actions', '5'),
                6 => Yii::t('actions', '6'),
                7 => Yii::t('actions', '7'),
                8 => Yii::t('actions', '8'),
                9 => Yii::t('actions', '9'),
                10 => Yii::t('actions', '10')
            );
        }
        return self::$_priorityLabels;
    }

Caveat:

You would need to do this every time the software was updated to make sure everything is an exact copy of the 'updated' Actions.php except for your custom priorities.



#3 bennieByday

bennieByday

    Newbie

  • Members
  • Pip
  • 7 posts
  • LocationDenmark

Posted 24 April 2019 - 06:35 PM

Added a right click menu for customizing the find bar. Can show or hide controls that you want to see. By default the new Find All button is hidden.

Cody

#4 Attila

Attila

    Advanced Member

  • Members
  • PipPipPip
  • 146 posts
  • LocationJohannesburg, South Africa

Posted 25 April 2019 - 09:30 PM

Added a right click menu for customizing the find bar. Can show or hide controls that you want to see. By default the new Find All button is hidden.

Cody

 

Hi Cody:  kindly share how you did this ......  Attila


Never allow waiting to become a habit. Live your dreams & take risks. Life is happening NOW !






Also tagged with one or more of these keywords: actions

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users