Selling site for HiPanel
HiPanel is next generation billing and control panel for hosting, domains and more.
This package is the selling site for HiPanel. Provides:
- Service description pages
- Contact page
- Prices and order forms
- Shopping cart
- FAQ
- Terms and rules
The preferred way to install this yii2-extension is through composer.
Either run
php composer.phar require "hiqdev/hipanel-site"or add
"hiqdev/hipanel-site": "*"to the require section of your composer.json.
config/web.php registers AbstractMainMenu/AbstractNavbarMenu/AbstractFooterMenu
under container.singletons, not container.definitions. yii\di\Container applies
the singletons section after definitions, so a definitions-based override here
used to always lose to yii2-thememanager's own generic singleton defaults for the
same abstract classes, regardless of composer package merge order - the site's real
menus (via hipanel\site\menus\*) silently fell back to thememanager's generic
placeholder menus. Any new AbstractSomethingMenu override added here should follow
the same singletons convention.
Note: hiqdev/hipanel-core separately registers its own AbstractNavbarMenu default
(a dashboard navbar) under container.definitions. Because both this package and
hipanel-core declare the same key, the composer-config-plugin output can end up with
duplicate AbstractNavbarMenu entries under the same singletons array - a plain
PHP array literal with a duplicate key, where whichever is written last in the
generated file wins, independent of the singletons/definitions rule above. Consuming
projects that need this to be reliable (not dependent on generation order) should
force it from a bootstrap closure calling Yii::$container->set() instead of
relying on static config alone.
This project is released under the terms of the BSD-3-Clause license. Read more here.
Copyright © 2016-2017, HiQDev (http://hiqdev.com/)
