構建狀態

Disciple.Tools - 儀表板

這個插件添加了一個漂亮的起始頁面,以幫助門徒制定者了解要採取的最重要的行動是什麼(新聯繫人、需要更新的聯繫人等)。

目標

在訪問事工中,您有大量傳入聯繫人需要跟進,此起始儀表板有助於從門徒登錄以解決最緊迫的問題的那一刻起澄清。

它可以快速幫助您回答:

  1. 是否有分配給我的新聯繫人?
  2. 我有任何需要跟進的聯繫人嗎?
  3. 我有哪些未完成的任務?
  4. 我的步伐和進步如何?

用法

會做

  • 快速訪問聯繫人數量、新分配的聯繫人和需要更新的聯繫人。
  • 快速訪問可用性以獲取更多聯繫人分配
  • 快速訪問任務。
  • 快速訪問信仰里程碑、個人基準和尋求者進步的關鍵指標。

不行

  • 不直接編輯。 它只顯示焦點的關鍵項目。

資格

  • Disciple.Tools 安裝在 Wordpress 服務器上的主題

安裝

  • 作為標準安裝 Disciple.Tools/Wordpress插件在系統Admin/Plugins區。
  • 需要管理員用戶角色。

定製瓷磚

瓷磚可以通過使用註冊 dt_dashboard_register_tile 的功能。

dt_dashboard_register_tile(
    'Your_Custom_Tile',                     //handle
    __('Custom Tile Label', 'your-plugin'), //label
    function() {                            //Register any assets the tile needs or do anything else needed on registration.
        wp_enqueue_script( $this->handle, 'path-to-your-tiles-script.js', [], null, true);
    },
    function() {                            //Render the tile
        get_template_part( 'whatever-slug', 'whatever-file', [
            'handle' => $this->handle,
            'label' => $this->label,
            'tile' => $this
        ]);
    }
);

可以通過擴展創建更複雜的自定義圖塊 DT_Dashboard_Plugin_Tile.

下面是一個例子:

/**
* Your custom tile class
 */
class Your_Custom_Tile extends DT_Dashboard_Tile
{

    /**
     * Register any assets the tile needs or do anything else needed on registration.
     * @return mixed
     */
    public function setup() {
        wp_enqueue_script( $this->handle, 'path-t0-your-tiles-script.js', [], null, true);
    }

    /**
     * Render the tile
     */
    public function render() {
        get_template_part( 'whatever-slug', 'whatever-file', [
            'handle' => $this->handle,
            'label' => $this->label,
            'tile' => $this
        ]);
    }
}

/**
* Next, register our class. This can be done in the after_setup_theme hook.
*/
DT_Dashboard_Plugin_Tiles::instance()->register(
    new Your_Custom_Tile(
        'Your_Custom_Tile',                     //handle
        __('Custom Tile Label', 'your-plugin'), //label
         [
            'priority' => 1,
            'span' => 1
         ]
    ));

dt_dashboard_tiles filter 可用於註銷磁貼,或添加新磁貼而不使用 DT_Dashboard_Plugin_Tiles::instance()->register.

貢獻

歡迎投稿。 您可以在 探讨问题 回購協議的一部分。 您可以在 討論 回購協議的一部分。 歡迎使用 拉請求 git 系統。 有關貢獻的更多詳細信息,請參閱 貢獻指南.

軟件截圖

screenshot.png