Exemple #1
0
 public static function installSinglePages(Package $pkg)
 {
     //install our dashboard singlepages
     Installer::installSinglePage('/dashboard/store', $pkg);
     Installer::installSinglePage('/dashboard/store/orders/', $pkg);
     Installer::installSinglePage('/dashboard/store/products/', $pkg);
     Installer::installSinglePage('/dashboard/store/discounts/', $pkg);
     Installer::installSinglePage('/dashboard/store/products/attributes', $pkg);
     Installer::installSinglePage('/dashboard/store/settings/', $pkg);
     Installer::installSinglePage('/dashboard/store/settings/shipping', $pkg);
     Installer::installSinglePage('/dashboard/store/settings/tax', $pkg);
     Installer::installSinglePage('/dashboard/store/reports', $pkg);
     Installer::installSinglePage('/dashboard/store/reports/sales', $pkg);
     Installer::installSinglePage('/dashboard/store/reports/products', $pkg);
     Installer::installSinglePage('/cart', $pkg);
     Installer::installSinglePage('/checkout', $pkg);
     Installer::installSinglePage('/checkout/complete', $pkg);
     Page::getByPath('/cart/')->setAttribute('exclude_nav', 1);
     Page::getByPath('/checkout/')->setAttribute('exclude_nav', 1);
     Page::getByPath('/checkout/complete')->setAttribute('exclude_nav', 1);
 }