Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/30/20 in all areas

  1. Hello @Rantanplan, little late but there an example. You can find this code the apps category You can create another if you add information inside the json or you can add inside the includes/Modules directories. Goofd luck <?php /** * * @copyright 2008 - https://www.clicshopping.org * @Brand : ClicShopping(Tm) at Inpi all right Reserved * @Licence GPL 2 & MIT * @licence MIT - Portion of osCommerce 2.4 * @Info : https://www.clicshopping.org/forum/trademark/ * */ namespace ClicShopping\Apps\Catalog\Categories\Module\Hooks\ClicShoppingAdmin\DashboardShortCut; use ClicShopping\OM\Registry; use ClicShopping\OM\HTML; use ClicShopping\OM\CLICSHOPPING; use ClicShopping\Apps\Catalog\Categories\Categories as categoriesApp; class DashboardShortCutCategories implements \ClicShopping\OM\Modules\HooksInterface { protected $app; public function __construct() { if (!Registry::exists('Categories')) { Registry::set('Categories', new categoriesApp()); } $this->app = Registry::get('Categories'); $this->app->loadDefinitions('Module/Hooks/ClicShoppingAdmin/DashboardShortCut/dashboard_shortcut_categories'); } public function display(): string { if (!defined('CLICSHOPPING_APP_CATEGORIES_CT_STATUS') || CLICSHOPPING_APP_CATEGORIES_CT_STATUS == 'False') { return false; } $output = HTML::link(CLICSHOPPING::link(null, 'A&Catalog\Categories&Categories'), null, 'class="btn btn-primary btn-sm" role="button"><span class="fas fa-list" title="' . $this->app->getDef('heading_short_categories') . '"') . ' '; return $output; } }
    1 point
  2. Hello, I tested the qpplication on local post. Yes seems works fine but there is again a little work. Patience. Else phpMyAdmin has little problem, composer do not work on my 20.04. Php is not again in production but it nice about ClicShopping can work.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use