{"id":372802,"date":"2024-05-21T05:21:18","date_gmt":"2024-05-21T05:21:18","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=372802"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=372802","title":{"rendered":"<span>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043f\u043e\u043b\u044f Joomla \u0434\u043b\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/e99\/d6e\/d58\/e99d6ed587f249b12b148452ccb549fa.jpg\" alt=\"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u043e\u043b\u044f\" title=\"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u043e\u043b\u044f\" width=\"780\" height=\"440\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e99\/d6e\/d58\/e99d6ed587f249b12b148452ccb549fa.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u043e\u043b\u044f<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435, \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u043c \u0411\u0440\u0430\u0439\u0430\u043d\u043e\u043c \u0422\u0438\u043c\u044d\u043d\u043e\u043c, \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u0435\u0439\u0441, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u043e\u043b\u044f \u0434\u043b\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432 Joomla, \u0432\u0438\u0434\u043e\u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u043c\u0430\u043a\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d\u0430.<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h2>\n<ul>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043e\u0434\u043d\u0443 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <strong>\u00ab\u041f\u043e\u0435\u0437\u0434\u043a\u0438\u00bb<\/strong>.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0433\u0440\u0443\u043f\u043f\u0443 \u043f\u043e\u043b\u0435\u0439 \u0441 \u0442\u0435\u043c \u0436\u0435 \u0438\u043c\u0435\u043d\u0435\u043c, \u0447\u0442\u043e \u0438 \u0443 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u043e\u043b\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <strong>\u00ab\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u00bb<\/strong>, <strong>\u00ab\u041d\u0430\u0432\u044b\u043a\u0438\u00bb<\/strong>, <strong>\u00ab\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c\u00bb<\/strong>, \u0438 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u0435 \u0438\u0445 \u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443 \u043f\u043e\u043b\u0435\u0439.<\/p>\n<ul>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0430\u0442\u0435\u0439 \u0432 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 <strong>\u00ab\u041f\u0443\u0442\u0435\u0448\u0435\u0441\u0442\u0432\u0438\u044f\u00bb<\/strong>.<\/p>\n<ul>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u0432 \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e.<\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 <strong>\u00ab\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435\u00bb<\/strong> \u043a \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043f\u0443\u043d\u043a\u0442 \u043c\u0435\u043d\u044e \u0442\u0438\u043f\u0430 <strong>\u0421\u0442\u0430\u0442\u044c\u0438->\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f \u0411\u043b\u043e\u0433<\/strong>.<\/p>\n<ul>\n<li>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 <strong>\u043c\u0430\u043a\u0435\u0442 \u0431\u043b\u043e\u0433\u0430<\/strong> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<ul>\n<li>\n<p>0 <strong>\u0441\u0442\u0430\u0442\u0435\u0439 \u0432\u043e \u0432\u0441\u044e \u0448\u0438\u0440\u0438\u043d\u0443<\/strong><\/p>\n<\/li>\n<li>\n<p>9 <strong>\u0441\u0442\u0430\u0442\u0435\u0439 \u0441 \u0432\u0432\u043e\u0434\u043d\u044b\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u043c<\/strong><\/p>\n<\/li>\n<li>\n<p>3 <strong>\u0441\u0442\u043e\u043b\u0431\u0446\u0430<\/strong><\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u2013 \u043f\u043e\u043f\u0435\u0440\u0435\u043a<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<ul>\n<li>\n<p><strong>\u0412\u0441\u0442\u0443\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/strong>\u00a0\u2014 \u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c<\/p>\n<\/li>\n<li>\n<p><strong>\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f<\/strong> &#8212; \u0421\u043a\u0440\u044b\u0442\u044c<\/p>\n<\/li>\n<li>\n<p><strong>\u0410\u0432\u0442\u043e\u0440<\/strong> &#8212; \u0421\u043a\u0440\u044b\u0442\u044c<\/p>\n<\/li>\n<li>\n<p><strong>\u0414\u0430\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f<\/strong> (\u0438 \u0442.\u00a0\u0434.)\u00a0\u2014 \u0421\u043a\u0440\u044b\u0442\u044c<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c88\/502\/24e\/c8850224ea31a1fc1ea235caff47f493.png\" alt=\"\u0421\u0442\u0430\u0442\u044c\u0438-> \u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f \u0411\u043b\u043e\u0433&#187; title=&#187;\u0421\u0442\u0430\u0442\u044c\u0438-> \u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f \u0411\u043b\u043e\u0433&#187; width=&#187;2420&#8243; height=&#187;1018&#8243; data-src=&#187;https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c88\/502\/24e\/c8850224ea31a1fc1ea235caff47f493.png&#187;\/><\/p>\n<div><figcaption>\u0421\u0442\u0430\u0442\u044c\u0438-> \u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f \u0411\u043b\u043e\u0433<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e05\/bf2\/389\/e05bf238958e080c23347a5b125f933c.png\" alt=\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432\" title=\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432\" width=\"2424\" height=\"820\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e05\/bf2\/389\/e05bf238958e080c23347a5b125f933c.png\"\/><\/p>\n<div><figcaption>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<h3>\u041f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u21161<\/h3>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f <strong>components->com_content->category<\/strong>.<\/p>\n<p>\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043c\u0430\u043a\u0435\u0442 \u0434\u043b\u044f <strong>\/templates\/template_name\/html\/com_content\/category\/blog.php<\/strong>.<br \/> \u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043d\u0438\u0436\u0435 \u043a\u043e\u0434 <strong>\u043f\u0435\u0440\u0435\u0434<\/strong> \u0441\u0442\u0440\u043e\u043a\u043e\u0439 16.<\/p>\n<pre><code class=\"php\">use Joomla\\Component\\Fields\\Administrator\\Helper\\FieldsHelper;\u200b<\/code><\/pre>\n<p>\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043d\u0438\u0436\u0435 \u043a\u043e\u0434 <strong>\u043f\u0435\u0440\u0435\u0434<\/strong> \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u043c \u0442\u0435\u0433\u043e\u043c php \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 51.<\/p>\n<pre><code class=\"php\">$fields = FieldsHelper::getFields('com_content.article');  $filter=\"\"; foreach ($fields as $field) {;     if ($this->category->title === $field->group_title) {         foreach (($field->fieldparams->get('options')) as $option) {             $filter .= ',[value=\"' . $option->value . '\"]:checked ~ .blog-items .blog-item:not([data-category~=\"' . $option->value . '\"])';         }     } }  \/** @var Joomla\\CMS\\WebAsset\\WebAssetManager $wa *\/ $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $wa->addInlineStyle(ltrim($filter, \",\") . '{display: none; opacity: none;}');<\/code><\/pre>\n<p>\u0412 \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 59 <strong>\u0432\u0441\u0442\u0430\u0432\u044c\u0442\u0435<\/strong> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code class=\"php\">&lt;?php $fields = FieldsHelper::getFields('com_content.article'); ?> &lt;?php foreach ($fields as $field) {;?>     &lt;?php if ($this->category->title === $field->group_title) {;?>         &lt;div class=\"filter-label d-inline-block\">             &lt;?php echo $field->label; ?>         &lt;\/div>         &lt;?php foreach (($field->fieldparams->get('options')) as $option) { ;?>             &lt;input type=\"checkbox\" class=\"btn-check\" name=\"CheckBox\" id=\"&lt;?php echo $field->id; ?>-&lt;?php echo $option->value; ?>\" value=\"&lt;?php echo $option->value; ?>\">             &lt;label class=\"btn btn-outline-primary btn-sm\" for=\"&lt;?php echo $field->id; ?>-&lt;?php echo $option->value; ?>\">                 &lt;?php echo $option->name; ?>             &lt;\/label>         &lt;?php }; ?>     &lt;?php }; ?> &lt;?php }; ?><\/code><\/pre>\n<p><strong>\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0438 \u0437\u0430\u043a\u0440\u043e\u0439\u0442\u0435<\/strong> \u0444\u0430\u0439\u043b.<\/p>\n<h3>\u041f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u21162<\/h3>\n<p>\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f <strong>\/templates\/template_name\/html\/com_content\/category\/blog_item.php<\/strong>.<\/p>\n<p>\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043d\u0438\u0436\u0435 \u043a\u043e\u0434 <strong>\u043f\u0435\u0440\u0435\u0434<\/strong> \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u043c \u0442\u0435\u0433\u043e\u043c php \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 35.<\/p>\n<pre><code class=\"php\">\/\/ for each field get the value $filter = implode(\" \", array_map(function($field) {return $field->value;}, $this->item->jcfields)); \/\/ remove commas and make lowercase $filter = (strtolower(str_replace(\",\", \"\", $filter)));<\/code><\/pre>\n<p><strong>\u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435<\/strong> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 div, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0438\u0436\u0435.<\/p>\n<pre><code class=\"php\">&lt;div class=\"com-content-category-blog__item blog-item\"     Optional Template override 3=\"blogPost\" itemscope itemtype=\"https:\/\/schema.org\/BlogPosting\"         data-category=\"&lt;?php echo $filter; ?>\"><\/code><\/pre>\n<p><strong>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435<\/strong> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u0432 \u043a\u043e\u043d\u0435\u0446 \u0444\u0430\u0439\u043b\u0430:<\/p>\n<pre><code class=\"php\">&lt;\/div><\/code><\/pre>\n<h3>\u041f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u21163 (\u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e)<\/h3>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u044b \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u043a\u043d\u043e\u043f\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u044b.<\/p>\n<p>\u041f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u043e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f <strong>\/templates\/template_name\/html\/com_content\/category\/blog.php<\/strong>.<br \/> \u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u0441\u0440\u0430\u0437\u0443 <strong>\u043f\u043e\u0441\u043b\u0435<\/strong> \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u0430\u043c\u0438 \u0431\u043b\u043e\u043a\u0430 \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"php\">$wa->addInlineScript('function unselectCheckboxes() {const checkboxes = document.querySelectorAll(\\'input[type=\"checkbox\"]\\');     checkboxes.forEach((checkbox) => {checkbox.checked = false; });}');<\/code><\/pre>\n<p>\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e <strong>\u043f\u0435\u0440\u0435\u0434<\/strong> \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0431\u043b\u043e\u043a\u043e\u043c \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"php\">&lt;input type=\"checkbox\" class=\"btn-check\" name=\"ResetAll\" id=\"ResetAll\" onclick=\"unselectCheckboxes()\" > &lt;label class=\"btn btn-outline-danger btn-sm\" for=\"ResetAll\">Reset&lt;\/label>\u200b<\/code><\/pre>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h2>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/325\/e8e\/dc9\/325e8edc9d6149ecd3297599db4dfbf1.gif\" alt=\"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u043f\u043e\u043b\u044f \u0434\u043b\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432\" title=\"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u043f\u043e\u043b\u044f \u0434\u043b\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432\" width=\"1501\" height=\"837\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/325\/e8e\/dc9\/325e8edc9d6149ecd3297599db4dfbf1.gif\"\/><\/p>\n<div><figcaption>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u043f\u043e\u043b\u044f \u0434\u043b\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<h3>Joomla \u0432 Telegram:<\/h3>\n<ul>\n<li>\n<p><a href=\"https:\/\/t.me\/norrnext\" rel=\"noopener noreferrer nofollow\">\u041d\u043e\u0432\u043e\u0441\u0442\u0438 \u043a\u043b\u0443\u0431\u0430 NorrNext<\/a> (\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 NorrCompetition)<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/joomlahub\" rel=\"noopener noreferrer nofollow\">\u041d\u043e\u0432\u043e\u0441\u0442\u0438 Joomla! \u043f\u043e\u2011\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/joomlatalks\" rel=\"noopener noreferrer nofollow\">\u0410\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0439 \u0447\u0430\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/joomlaru\" rel=\"noopener noreferrer nofollow\"><u>\u0427\u0430\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u00abJoomla! \u043f\u043e\u2011\u0440\u0443\u0441\u0441\u043a\u0438\u00bb<\/u><\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/projoomla\" rel=\"noopener noreferrer nofollow\"><u>Joomla \u0434\u043b\u044f\u00a0\u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u043e\u0432, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Joomla<\/u><\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/joomlafeed\" rel=\"noopener noreferrer nofollow\"><u>\u041d\u043e\u0432\u043e\u0441\u0442\u0438 \u043e\u00a0Joomla! \u0438 \u0432\u0435\u0431\u2011\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u043e\u2011\u0440\u0443\u0441\u0441\u043a\u0438<\/u><\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/lifeofexpat\" rel=\"noopener noreferrer nofollow\">\u041c\u043e\u0439\u00a0\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b \u043f\u0440\u043e\u00a0\u0440\u0430\u0431\u043e\u0442\u0443 \u0438 \u0443\u0434\u0430\u043b\u0451\u043d\u043a\u0443<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/joomla_jobs\" rel=\"noopener noreferrer nofollow\"><u>\u0412\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e\u00a0Joomla<\/u><\/a>: \u0444\u0443\u043b\u043b\u0442\u0430\u0439\u043c, \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u0430\u044f \u0437\u0430\u043d\u044f\u0442\u043e\u0441\u0442\u044c \u0438 \u0440\u0430\u0437\u043e\u0432\u044b\u0435 \u043f\u043e\u0434\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u0420\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 <a href=\"https:\/\/jpath.ru\/jobs\/add\" rel=\"noopener noreferrer nofollow\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a>.<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/805513\/\"> https:\/\/habr.com\/ru\/articles\/805513\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\">\n<div><figcaption>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u043e\u043b\u044f<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435, \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u043c \u0411\u0440\u0430\u0439\u0430\u043d\u043e\u043c \u0422\u0438\u043c\u044d\u043d\u043e\u043c, \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u0435\u0439\u0441, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u043e\u043b\u044f \u0434\u043b\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432 Joomla, \u0432\u0438\u0434\u043e\u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u043c\u0430\u043a\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d\u0430.<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h2>\n<ul>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043e\u0434\u043d\u0443 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <strong>\u00ab\u041f\u043e\u0435\u0437\u0434\u043a\u0438\u00bb<\/strong>.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0433\u0440\u0443\u043f\u043f\u0443 \u043f\u043e\u043b\u0435\u0439 \u0441 \u0442\u0435\u043c \u0436\u0435 \u0438\u043c\u0435\u043d\u0435\u043c, \u0447\u0442\u043e \u0438 \u0443 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u043e\u043b\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <strong>\u00ab\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u00bb<\/strong>, <strong>\u00ab\u041d\u0430\u0432\u044b\u043a\u0438\u00bb<\/strong>, <strong>\u00ab\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c\u00bb<\/strong>, \u0438 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u0435 \u0438\u0445 \u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443 \u043f\u043e\u043b\u0435\u0439.<\/p>\n<ul>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0430\u0442\u0435\u0439 \u0432 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 <strong>\u00ab\u041f\u0443\u0442\u0435\u0448\u0435\u0441\u0442\u0432\u0438\u044f\u00bb<\/strong>.<\/p>\n<ul>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u0432 \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e.<\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 <strong>\u00ab\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435\u00bb<\/strong> \u043a \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043f\u0443\u043d\u043a\u0442 \u043c\u0435\u043d\u044e \u0442\u0438\u043f\u0430 <strong>\u0421\u0442\u0430\u0442\u044c\u0438->\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f \u0411\u043b\u043e\u0433<\/strong>.<\/p>\n<ul>\n<li>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 <strong>\u043c\u0430\u043a\u0435\u0442 \u0431\u043b\u043e\u0433\u0430<\/strong> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<ul>\n<li>\n<p>0 <strong>\u0441\u0442\u0430\u0442\u0435\u0439 \u0432\u043e \u0432\u0441\u044e \u0448\u0438\u0440\u0438\u043d\u0443<\/strong><\/p>\n<\/li>\n<li>\n<p>9 <strong>\u0441\u0442\u0430\u0442\u0435\u0439 \u0441 \u0432\u0432\u043e\u0434\u043d\u044b\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u043c<\/strong><\/p>\n<\/li>\n<li>\n<p>3 <strong>\u0441\u0442\u043e\u043b\u0431\u0446\u0430<\/strong><\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u2013 \u043f\u043e\u043f\u0435\u0440\u0435\u043a<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<ul>\n<li>\n<p><strong>\u0412\u0441\u0442\u0443\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/strong>\u00a0\u2014 \u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c<\/p>\n<\/li>\n<li>\n<p><strong>\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f<\/strong> &#8212; \u0421\u043a\u0440\u044b\u0442\u044c<\/p>\n<\/li>\n<li>\n<p><strong>\u0410\u0432\u0442\u043e\u0440<\/strong> &#8212; \u0421\u043a\u0440\u044b\u0442\u044c<\/p>\n<\/li>\n<li>\n<p><strong>\u0414\u0430\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f<\/strong> (\u0438 \u0442.\u00a0\u0434.)\u00a0\u2014 \u0421\u043a\u0440\u044b\u0442\u044c<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"> \u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f \u0411\u043b\u043e\u0433&#187; title=&#187;\u0421\u0442\u0430\u0442\u044c\u0438-> \u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f \u0411\u043b\u043e\u0433&#187; width=&#187;2420&#8243; height=&#187;1018&#8243; data-src=&#187;https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c88\/502\/24e\/c8850224ea31a1fc1ea235caff47f493.png&#187;\/><\/p>\n<div><figcaption>\u0421\u0442\u0430\u0442\u044c\u0438-> \u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f \u0411\u043b\u043e\u0433<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<h3>\u041f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u21161<\/h3>\n<p>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f <strong>components->com_content->category<\/strong>.<\/p>\n<p>\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043c\u0430\u043a\u0435\u0442 \u0434\u043b\u044f <strong>\/templates\/template_name\/html\/com_content\/category\/blog.php<\/strong>.<br \/> \u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043d\u0438\u0436\u0435 \u043a\u043e\u0434 <strong>\u043f\u0435\u0440\u0435\u0434<\/strong> \u0441\u0442\u0440\u043e\u043a\u043e\u0439 16.<\/p>\n<pre><code class=\"php\">use Joomla\\Component\\Fields\\Administrator\\Helper\\FieldsHelper;\u200b<\/code><\/pre>\n<p>\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043d\u0438\u0436\u0435 \u043a\u043e\u0434 <strong>\u043f\u0435\u0440\u0435\u0434<\/strong> \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u043c \u0442\u0435\u0433\u043e\u043c php \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 51.<\/p>\n<pre><code class=\"php\">$fields = FieldsHelper::getFields('com_content.article');  $filter=\"\"; foreach ($fields as $field) {;     if ($this->category->title === $field->group_title) {         foreach (($field->fieldparams->get('options')) as $option) {             $filter .= ',[value=\"' . $option->value . '\"]:checked ~ .blog-items .blog-item:not([data-category~=\"' . $option->value . '\"])';         }     } }  \/** @var Joomla\\CMS\\WebAsset\\WebAssetManager $wa *\/ $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $wa->addInlineStyle(ltrim($filter, \",\") . '{display: none; opacity: none;}');<\/code><\/pre>\n<p>\u0412 \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 59 <strong>\u0432\u0441\u0442\u0430\u0432\u044c\u0442\u0435<\/strong> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code class=\"php\">&lt;?php $fields = FieldsHelper::getFields('com_content.article'); ?> &lt;?php foreach ($fields as $field) {;?>     &lt;?php if ($this->category->title === $field->group_title) {;?>         &lt;div class=\"filter-label d-inline-block\">             &lt;?php echo $field->label; ?>         &lt;\/div>         &lt;?php foreach (($field->fieldparams->get('options')) as $option) { ;?>             &lt;input type=\"checkbox\" class=\"btn-check\" name=\"CheckBox\" id=\"&lt;?php echo $field->id; ?>-&lt;?php echo $option->value; ?>\" value=\"&lt;?php echo $option->value; ?>\">             &lt;label class=\"btn btn-outline-primary btn-sm\" for=\"&lt;?php echo $field->id; ?>-&lt;?php echo $option->value; ?>\">                 &lt;?php echo $option->name; ?>             &lt;\/label>         &lt;?php }; ?>     &lt;?php }; ?> &lt;?php }; ?><\/code><\/pre>\n<p><strong>\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0438 \u0437\u0430\u043a\u0440\u043e\u0439\u0442\u0435<\/strong> \u0444\u0430\u0439\u043b.<\/p>\n<h3>\u041f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u21162<\/h3>\n<p>\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f <strong>\/templates\/template_name\/html\/com_content\/category\/blog_item.php<\/strong>.<\/p>\n<p>\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043d\u0438\u0436\u0435 \u043a\u043e\u0434 <strong>\u043f\u0435\u0440\u0435\u0434<\/strong> \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u043c \u0442\u0435\u0433\u043e\u043c php \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 35.<\/p>\n<pre><code class=\"php\">\/\/ for each field get the value $filter = implode(\" \", array_map(function($field) {return $field->value;}, $this->item->jcfields)); \/\/ remove commas and make lowercase $filter = (strtolower(str_replace(\",\", \"\", $filter)));<\/code><\/pre>\n<p><strong>\u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435<\/strong> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 div, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0438\u0436\u0435.<\/p>\n<pre><code class=\"php\">&lt;div class=\"com-content-category-blog__item blog-item\"     Optional Template override 3=\"blogPost\" itemscope itemtype=\"https:\/\/schema.org\/BlogPosting\"         data-category=\"&lt;?php echo $filter; ?>\"><\/code><\/pre>\n<p><strong>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435<\/strong> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u0432 \u043a\u043e\u043d\u0435\u0446 \u0444\u0430\u0439\u043b\u0430:<\/p>\n<pre><code class=\"php\">&lt;\/div><\/code><\/pre>\n<h3>\u041f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u21163 (\u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e)<\/h3>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u044b \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u043a\u043d\u043e\u043f\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u044b.<\/p>\n<p>\u041f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u043e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f <strong>\/templates\/template_name\/html\/com_content\/category\/blog.php<\/strong>.<br \/> \u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u0441\u0440\u0430\u0437\u0443 <strong>\u043f\u043e\u0441\u043b\u0435<\/strong> \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u0430\u043c\u0438 \u0431\u043b\u043e\u043a\u0430 \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"php\">$wa->addInlineScript('function unselectCheckboxes() {const checkboxes = document.querySelectorAll(\\'input[type=\"checkbox\"]\\');     checkboxes.forEach((checkbox) => {checkbox.checked = false; });}');<\/code><\/pre>\n<p>\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e <strong>\u043f\u0435\u0440\u0435\u0434<\/strong> \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0431\u043b\u043e\u043a\u043e\u043c \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"php\">&lt;input type=\"checkbox\" class=\"btn-check\" name=\"ResetAll\" id=\"ResetAll\" onclick=\"unselectCheckboxes()\" > &lt;label class=\"btn btn-outline-danger btn-sm\" for=\"ResetAll\">Reset&lt;\/label>\u200b<\/code><\/pre>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h2>\n<figure class=\"full-width\">\n<div><figcaption>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u043f\u043e\u043b\u044f \u0434\u043b\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<h3>Joomla \u0432 Telegram:<\/h3>\n<ul>\n<li>\n<p><a href=\"https:\/\/t.me\/norrnext\" rel=\"noopener noreferrer nofollow\">\u041d\u043e\u0432\u043e\u0441\u0442\u0438 \u043a\u043b\u0443\u0431\u0430 NorrNext<\/a> (\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 NorrCompetition)<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/joomlahub\" rel=\"noopener noreferrer nofollow\">\u041d\u043e\u0432\u043e\u0441\u0442\u0438 Joomla! \u043f\u043e\u2011\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/joomlatalks\" rel=\"noopener noreferrer nofollow\">\u0410\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0439 \u0447\u0430\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/joomlaru\" rel=\"noopener noreferrer nofollow\"><u>\u0427\u0430\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u00abJoomla! \u043f\u043e\u2011\u0440\u0443\u0441\u0441\u043a\u0438\u00bb<\/u><\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/projoomla\" rel=\"noopener noreferrer nofollow\"><u>Joomla \u0434\u043b\u044f\u00a0\u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u043e\u0432, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Joomla<\/u><\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/joomlafeed\" rel=\"noopener noreferrer nofollow\"><u>\u041d\u043e\u0432\u043e\u0441\u0442\u0438 \u043e\u00a0Joomla! \u0438 \u0432\u0435\u0431\u2011\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u043e\u2011\u0440\u0443\u0441\u0441\u043a\u0438<\/u><\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/lifeofexpat\" rel=\"noopener noreferrer nofollow\">\u041c\u043e\u0439\u00a0\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b \u043f\u0440\u043e\u00a0\u0440\u0430\u0431\u043e\u0442\u0443 \u0438 \u0443\u0434\u0430\u043b\u0451\u043d\u043a\u0443<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/t.me\/joomla_jobs\" rel=\"noopener noreferrer nofollow\"><u>\u0412\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e\u00a0Joomla<\/u><\/a>: \u0444\u0443\u043b\u043b\u0442\u0430\u0439\u043c, \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u0430\u044f \u0437\u0430\u043d\u044f\u0442\u043e\u0441\u0442\u044c \u0438 \u0440\u0430\u0437\u043e\u0432\u044b\u0435 \u043f\u043e\u0434\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u0420\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 <a href=\"https:\/\/jpath.ru\/jobs\/add\" rel=\"noopener noreferrer nofollow\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a>.<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/805513\/\"> https:\/\/habr.com\/ru\/articles\/805513\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-372802","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/372802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=372802"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/372802\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=372802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=372802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=372802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}