Starter Content - the library of defaults for a typical MSP, pack by pack * (starterContentPacks()), and the demo data. Laid out as the other Maintenance pages are: what * it is and the one thing to do at the top, the packs and the demo data under it, and at a glance * and how it works to the side. Pick which and Preview are includes/starter_content_pick.php, shared * with Get started's Starter content step; js/starter_content.js keeps the ticks and counts in step. * Clear out unused, beside a pack's counts, opens modals/starter_content/starter_clear.php. */ require_once "includes/inc_all_admin.php"; define('FROM_STARTER_CONTENT', true); require_once "post/starter_content_model.php"; require_once "post/demo_data_model.php"; require_once "includes/starter_content_pick.php"; $starter_content_packs = starterContentPacks(); // Each pack's items not here yet - for Pick which, and how many Add brings - and how many of // the ones here nothing uses, for Clear out unused $starter_content_items = []; $starter_content_status = []; $total_in_library = $total_missing = $total_unused = 0; foreach ($starter_content_packs as $pack => $pack_details) { $starter_content_items[$pack] = starterContentItems($mysqli, $pack); $total = starterContentTotal($pack); $missing = count($starter_content_items[$pack]); $unused = $total - $missing ? count(starterContentUnused($mysqli, $pack)['items']) : 0; $starter_content_status[$pack] = ['total' => $total, 'missing' => $missing, 'present' => $total - $missing, 'unused' => $unused]; $total_in_library += $total; $total_missing += $missing; $total_unused += $unused; } $total_present = $total_in_library - $total_missing; $demo_data_status = demoDataStatus($mysqli); $demo_data_loaded = count($demo_data_status['loaded']); $demo_data_total = intval($demo_data_status['total']); // The top of the page says where the install stands if (!$total_missing) { $hero = ['tone' => 'success', 'icon' => 'fa-check', 'title' => 'Everything in the library is here']; } elseif (!$total_present) { $hero = ['tone' => 'primary', 'icon' => 'fa-seedling', 'title' => 'Start from a library of MSP defaults']; } else { $hero = ['tone' => 'primary', 'icon' => 'fa-seedling', 'title' => "$total_missing more to add from the library"]; } ?>
Categories, tags, ticket and project templates, canned responses, vendor, document and license templates, and the products and services a typical MSP starts from. Add what's useful - what you already have is never changed.
A made-up MSP's book of business for demos, training and screenshots - = $demo_data_total ?> clients with their people, equipment, documentation, credentials, tickets and billing, and your own side of the books, spread over the last two years so every report has history behind it.
Add the Categories and Tags packs first, or the tickets, invoices and tags come in bare.