Disciple.Tools - Dach
Plugin sa a ajoute yon bèl paj kòmanse pou ede moun k ap fè disip yo konnen ki aksyon ki pi enpòtan yo pou yo pran (Nouvo Kontak, Kontak Ki Bezwen Mizajou, elatriye).
Objektif
Nan yon ministè aksè, kote ou gen yon gwo kantite kontak k ap vini yo ki bezwen swivi tablo dach kòmanse sa a ede klarifye depi nan moman ke disip la fè siy pou abòde pwoblèm ki pi ijan yo.
Li byen vit ede w reponn:
- Èske mwen gen nenpòt nouvo kontak asiyen pou mwen?
- Èske mwen gen nenpòt kontak ki bezwen swivi?
- Ki travay mwen gen eksepsyonèl?
- Ki jan vitès mwen ak pwogrè mwen ye?
Itilizasyon
Pral Fè
- Aksè rapid nan kantite kontak, kontak ki fèk asiyen, ak kontak ki bezwen mizajou.
- Aksè rapid nan disponiblite pou plis devwa kontak
- Aksè rapid nan travay yo.
- Aksè rapid nan mezi kle pou jalons lafwa, referans pèsonèl, ak pwogrè moun k ap chèche.
Pa Pral Fè
- Pa fè koreksyon dirèk. Li sèlman sifas atik kle yo pou konsantre.
Kondisyon pou
- Disciple.Tools Tèm enstale sou yon sèvè Wordpress
Enstale
- Enstale kòm yon estanda Disciple.Tools/Wordpress plugin nan zòn Admin/Plugins sistèm lan.
- Egzije wòl itilizatè a nan Administratè.
Custom mozayik
Mozayik ka anrejistre lè l sèvi avèk la dt_dashboard_register_tile
fonksyon.
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
]);
}
);
Plis konplèks mozayik koutim ka kreye pa pwolonje DT_Dashboard_Plugin_Tile
.
Men yon egzanp:
/**
* 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
]
));
kwòk
Jounal dt_dashboard_tiles
filtre ka itilize pou deregister mozayik, oswa pou ajoute nouvo mozayik san yo pa itilize DT_Dashboard_Plugin_Tiles::instance()->register
.
Kontribisyon
Kontribisyon akeyi. Ou ka rapòte pwoblèm ak pinèz nan la Pwoblèm seksyon repo a. Ou ka prezante lide nan diskisyon seksyon repo a. Ak kontribisyon kòd yo akeyi lè l sèvi avèk la Rale Demann sistèm pou git. Pou plis detay sou kontribisyon gade nan direktiv kontribisyon yo.