php
$megabgcolor = ($this->helix3->PresetParam('_megabg')) ? $this->helix3->PresetParam('_megabg') : '#ffffff';
$megabgtx = ($this->helix3->PresetParam('_megatx')) ? $this->helix3->PresetParam('_megatx') : '#333333';
$preloader_bg = ($this->helix3->getParam('preloader_bg')) ? $this->helix3->getParam('preloader_bg') : '#f5f5f5';
$preloader_tx = ($this->helix3->getParam('preloader_tx')) ? $this->helix3->getParam('preloader_tx') : '#f5f5f5';
// load css, less and js
$this->helix3->addCSS('bootstrap.min.css, font-awesome.min.css') // CSS Files
->addJS('bootstrap.min.js, jquery.sticky.js, main.js') // JS Files
->lessInit()->setLessVariables(array(
'preset' => $this->helix3->Preset(),
'bg_color' => $this->helix3->PresetParam('_bg'),
'text_color' => $this->helix3->PresetParam('_text'),
'major_color' => $this->helix3->PresetParam('_major'),
'megabg_color' => $megabgcolor,
'megatx_color' => $megabgtx,
'preloader_bg' => $preloader_bg,
'preloader_tx' => $preloader_tx,
))
->addLess('legacy/bootstrap', 'legacy')
->addLess('master', 'template');
//RTL
if ($this->direction == 'rtl') {
$this->helix3->addCSS('bootstrap-rtl.min.css')
->addLess('rtl', 'rtl');
}
$this->helix3->addLess('presets', 'presets/' . $this->helix3->Preset(), array('class' => 'preset'));
//Before Head
if ($before_head = $this->helix3->getParam('before_head')) {
echo $before_head . "\n";
}
?>
×
Ошибка
Exception: Опрос не найден. in /var/www/webroot/ROOT/components/com_communitypolls/models/poll.php:135
Stack trace:
#0 /var/www/webroot/ROOT/libraries/src/MVC/View/HtmlView.php(425): CommunityPollsModelPoll->getItem()
#1 /var/www/webroot/ROOT/components/com_communitypolls/views/poll/view.html.php(33): Joomla\CMS\MVC\View\HtmlView->get('Item')
#2 /var/www/webroot/ROOT/libraries/src/MVC/Controller/BaseController.php(672): CommunityPollsViewPoll->display()
#3 /var/www/webroot/ROOT/components/com_communitypolls/controller.php(82): Joomla\CMS\MVC\Controller\BaseController->display(false, Array)
#4 /var/www/webroot/ROOT/libraries/src/MVC/Controller/BaseController.php(710): CommunityPollsController->display()
#5 /var/www/webroot/ROOT/components/com_communitypolls/communitypolls.php(25): Joomla\CMS\MVC\Controller\BaseController->execute('')
#6 /var/www/webroot/ROOT/libraries/src/Component/ComponentHelper.php(402): require_once('/var/www/webroo...')
#7 /var/www/webroot/ROOT/libraries/src/Component/ComponentHelper.php(377): Joomla\CMS\Component\ComponentHelper::executeComponent('/var/www/webroo...')
#8 /var/www/webroot/ROOT/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_communitypo...')
#9 /var/www/webroot/ROOT/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()
#10 /var/www/webroot/ROOT/libraries/src/Application/CMSApplication.php(196): Joomla\CMS\Application\SiteApplication->doExecute()
#11 /var/www/webroot/ROOT/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#12 {main}