y.ui.sortable.min.js' ], 'head', 100 ); } protected static function registerBootstrap() { if (version_compare(JVERSION, '4.0', '>')) { static::registerBootstrap5(); } else { static::registerBootstrap2(); } } protected static function registerBootstrap2() { if (version_compare(JVERSION, '4.0', '>')) { //user_error('Bootstrap 2 is not supported in Joomla 4, using Bootstrap 5 instead!', E_USER_DEPRECATED); static::registerBootstrap5(); return; } if (!static::errorPage()) { HTMLHelper::_('bootstrap.framework'); return; } // Workaround for error document type. static::registerJquery(); static::addHeaderTag( [ 'tag' => 'script', 'src' => Uri::getInstance()->base(true) . '/media/jui/js/bootstrap.min.js' ], 'head', 100 ); } protected static function registerBootstrap5() { if (version_compare(JVERSION, '4.0', '>')) { if (!static::errorPage()) { HTMLHelper::_('bootstrap.framework'); return; } /** @var WebAssetManager $wa */ $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); array_map( static function ($script) use ($wa) { $asset = $wa->getAsset('script', 'bootstrap.' . $script); // Workaround for error document type. static::addHeaderTag( [ 'tag' => 'script', 'src' => $asset->getUri(true) . '?' . $asset->getVersion() ], 'head', 100 ); }, ['alert', 'button', 'carousel', 'collapse', 'dropdown', 'modal', 'offcanvas', 'popover', 'scrollspy', 'tab', 'toast'] ); return; } parent::registerBootstrap5(); } protected static function registerMootools() { if (version_compare(JVERSION, '4.0', '>')) { //user_error('Mootools is no longer supported in Joomla 4!', E_USER_DEPRECATED); parent::registerMootools(); return; } if (!static::errorPage()) { HTMLHelper::_('behavior.framework'); return; } // Workaround for error document type. static::addHeaderTag( [ 'tag' => 'script', 'src' => Uri::getInstance()->base(true) . '/media/system/js/mootools-core.js' ], 'head', 99 ); static::addHeaderTag( [ 'tag' => 'script', 'src' => Uri::getInstance()->base(true) . '/media/system/js/core.js' ], 'head', 99 ); } protected static function registerMootoolsMore() { if (version_compare(JVERSION, '4.0', '>')) { //user_error('Mootools is no longer supported in Joomla 4!', E_USER_DEPRECATED); parent::registerMootoolsMore(); return; } if (!static::errorPage()) { HTMLHelper::_('behavior.framework', true); return; } // Workaround for error document type. static::registerMootools(); static::addHeaderTag( [ 'tag' => 'script', 'src' => Uri::getInstance()->base(true) . '/media/system/js/mootools-more.js' ], 'head', 99 ); } /** * Override to support index.php?Itemid=xxx. * * @param array $matches * @return string * @internal */ public static function linkHandler(array $matches) { $url = trim($matches[3]); if (strpos($url, 'index.php?') !== 0) { list($domain, $timestamp_age) = static::$urlFilterParams; $url = static::url(trim($matches[3]), $domain, $timestamp_age); } return "{$matches[1]}{$matches[2]}=\"{$url}\""; } } 0 Class 'Gantry\Framework\Document' not found

Contact

mail@gemini-theme.com
+ 001 0231 123 32

Follow

Info

All demo content is for sample purposes only, intended to represent a live site. Please use the RocketLauncher to install an equivalent of the demo, all images will be replaced with sample images.

0 Class 'Gantry\Framework\Document' not found