'alt' => $images->get("image_{$imageType}_alt"), 'title' => $image->caption, 'class' => [], ]; if (version_compare(JVERSION, '4.0', '>')) { $image->attrs['class'][] = $images->get("float_{$imageType}") ?: $params["float_{$imageType}"]; } } else { $image = null; } } // Tags if ($params->get('show_tags', 1) && !empty($article->tags->itemTags)) { $layout = new FileLayout('joomla.content.tags'); // check for override in child theme if ($childDir = $config('theme.childDir')) { $layout->addIncludePath("{$childDir}/html/layouts"); } $tags = $layout->render($article->tags->itemTags); } // Icons if (!isset($icons)) { $icons = []; // Print/Email only Joomla 3.x if (version_compare(JVERSION, '4.0', '<')) { $icons += [ 'print' => $params['show_print_icon'] ? HTMLHelper::_('icon.print_popup', $article, $params) : '', 'email' => $params['show_email_icon'] ? HTMLHelper::_('icon.email', $article, $params) : '', ]; } if ($params['access-edit'] && !$config('app.isCustomizer')) { $icons['edit'] = HTMLHelper::_('icon.edit', $article, $params); } } $icons = array_filter($icons); // Readmore if ( $params['show_readmore'] && (!empty($article->readmore) || (!$single && is_numeric($config('~theme.blog.content_length')) && (int) $config('~theme.blog.content_length') >= 0)) ) { $readmore = new stdClass(); $readmore->link = $link; if ($params['access-view']) { $attribs = new Registry($article->attribs); if (!($readmore->text = $attribs->get('alternative_readmore'))) { $readmore->text = Text::_( $params['show_readmore_title'] ? 'COM_CONTENT_READ_MORE' : 'TPL_YOOTHEME_READ_MORE' ); } if ($params['show_readmore_title']) { $readmore->text .= HTMLHelper::_( 'string.truncate', $article->title, $params['readmore_limit'] ); } } else { $readmore->text = Text::_('COM_CONTENT_REGISTER_TO_READ_MORE'); } } // Pagination if (isset($article->pagination)) { $pagination = $article->pagination; } // Blog if (isset($parameters['layout']) && $parameters['layout'] === 'blog') { $data = $config('~theme.post', []); // Merge blog config? if (!$single) { $data = array_merge($data, $config('~theme.blog', [])); } // Has excerpt field? if (!$single && isset($article->jcfields)) { foreach ($article->jcfields as $field) { if ($field->name === 'excerpt' && $field->rawvalue) { $content = $field->rawvalue; break; } } } $params->loadArray($data); } return $next( $name, array_diff_key( get_defined_vars(), array_flip(['data', 'next', 'name', 'parameters', 'defaults']) ) ); } } 0 - Argument 1 passed to YOOtheme\View::addLoader() must be callable, array given, called in /var/www/303243-dmitry/data/www/atlas.in.ua/templates/yootheme/vendor/yootheme/theme-joomla-articles/bootstrap.php on line 22

0

Argument 1 passed to YOOtheme\View::addLoader() must be callable, array given, called in /var/www/303243-dmitry/data/www/atlas.in.ua/templates/yootheme/vendor/yootheme/theme-joomla-articles/bootstrap.php on line 22

Головна сторінка