Новости Joomla

‼️ 👩‍💻 Обновление безопасности для Tassos Framework!

‼️ 👩‍💻 Обновление безопасности для Tassos Framework!

7 января 2026 года греческому разработчику Тассосу Мариносу сообщили об уязвимости в системном плагине Tassos Framework, который входит в состав его расширений для Joomla.

⚠️ Проблема затрагивает следующие расширения:
- Convert Forms - конструктор форм обратной связи для Joomla
- EngageBox - конструктор всплывающих окон для Joomla
- Google Structured Data - пакет плагинов микроразметки для Joomla
- Advanced Custom Fields - пакет плагинов пользовательских полей (видео-сервисы, карты и иже с ними)
- Smile Pack - пакет расширений
- MailChimp Auto-Subscribe

Незамедлительно была проведена полная внутренняя проверка кода, внедрены дополнительные меры проверки и повышения безопасности, а также выпущены исправленные версии всех затронутых расширений. Проблема полностью решена.

👉 Суть уязвимости.
Уязвимость заключалась в том, как плагин Tassos Framework обрабатывал определенные AJAX-запросы через com_ajaxточку входа Joomla. При определенных условиях внутренняя функциональность фреймворка могла быть вызвана без надлежащих ограничений.

В худшем случае это могло позволить неавторизованному злоумышленнику читать файлы, доступные веб-серверу. Это также могло позволить удалять файлы с сервера при выполнении определенных условий.

При определенных обстоятельствах запросы к базе данных могли быть изменены для извлечения данных из базы данных Joomla. В совокупности эти возможности потенциально могли быть использованы для повышения уровня доступа и выполнения несанкционированного кода.

В настоящее время нет никаких доказательств того, что эта уязвимость была использована в реальных условиях.

Немедленно обновите расширения до безопасных версий (Joomla 4/5/6 | Joomla 3):
- Convert Forms - v5.1.1 / v.4.1.1
- EngageBox - v.7.1.1 / v,6,3,9
- Google Structured Data - v.6.1.1 / v.5.6.9
- Advanced Custom Fields - v.3.1.1 / v.2.8.10
- Smile Pack - v.2.1.1 / v.1.2.4.
- MailChimp Auto-Subscribe - v.5.1.1+ / v.5.0.4

Все указанные версии включают в себя релиз безопасности плагина Tassos Framework System Plugin v6.0.62.

Если у вас установлено несколько расширений Tassos, достаточно обновить только одно, чтобы применить патч. Однако всегда рекомендуется обновлять все расширения.

@joomlafeed

👩‍💻 Joomla включена в программу Google Summer of Code 2026.

👩‍💻 Joomla включена в программу Google Summer of Code 2026.

Google Summer of Code (GSoC) - программа компании Google, которая позволяет участникам программы под руководством опытных наставников писать код для организаций, занимающейся открытым исходным кодом. Joomla принимает участие в этой программе не в первый раз и в 2026 году снова включена в список GSoC. Для программы утверждается список "идей", воплотить которые должны участники под руководством наставников.

Проекты Joomla в рамках программы GSoC 2026.

Проект I: Ajax-бэкенд.
- Действия в административной панели без необходимости обновлять страницу.
- Автоматическое сохранение содержимого во время редактирования.
- Расширенный фильтр - поиск и фильтрация по пользовательским полям.

Проект II: Автоматизация рабочих процессов (workflow + task scheduler).
Joomla имеет функцию процессов и планировщика задач. Теперь эти две функции следует объединить, чтобы пользователь мог настраивать назначенные рабочие процессы таким образом, чтобы переходы выполнялись автоматически, с возможностью точного определения времени. Должна быть возможность создавать циклы или прямые запланированные рабочие процессы. Предполагается, что интерфейс должен учитывать хороший пользовательский опыт, удобство использования и современные стандарты доступности. Ожидается, что будет добавлен интерфейс для управления процессами и их расписанием на страницах категорий и материалов. Так же ожидается, что сторонние компоненты также смогут воспользоваться этим функционалом.

Проект III: Мультикатегории.
В настоящее время Joomla! не позволяет назначать один элемент нескольким категориям. Хотя система тегов часто используется в качестве замены, существует острая потребность в нативной поддержке нескольких категорий, чтобы привести Joomla! в соответствие с другими современными системами управления контентом.

Проект IV: Обучение с подкреплением на основе отзывов переводчиков.
Joomla собирается использовать автоматический перевод документации. В каждом языке есть свои специфические слова, характерные для Joomla. Предполагается обучать языковые модели, используя обратную связь от переводчиков, чтобы постоянно улучшать качество переводов и учитывать специфические языковые особенности Joomla.

Принять участие GSoC 2026
Подробнее о проектах Joomla GSoC 2026
Чат GSoC в Mattermost (международное сообщество Joomla)

Вышли релизы Joomla 6.0.3 и Joomla 5.4.3

Релиз Joomla 6.0.3 и Joomla 5.4.3

Проект Joomla рад сообщить о выпуске Joomla 6.0.3 и Joomla 5.4.3. Это релиз исправлений ошибок и улучшений для серии Joomla 6.0 и Joomla 5.4.

0 Пользователей и 1 Гость просматривают эту тему.
  • 16 Ответов
  • 2148 Просмотров
*

tati-2000

  • Захожу иногда
  • 308
  • 2 / 0
Анонс статьи как ссылка
« : 26.06.2011, 14:55:23 »
На странице категория/блог надо убрать ссылки подробнее , а анонс (вступительный текст) сделать ссылкой, никак не получается это реализовать, помогите пожалуйста
*

tati-2000

  • Захожу иногда
  • 308
  • 2 / 0
Re: Анонс статьи как ссылка
« Ответ #1 : 28.06.2011, 15:31:32 »
ну неужели никто не сталкивался с такой задачей?
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: Анонс статьи как ссылка
« Ответ #2 : 28.06.2011, 15:34:20 »
Нужно править файлик шаблона/html/com_content/blog_item.php
Создание сайтов, шаблонов, помощь в решении проблем.
*

tati-2000

  • Захожу иногда
  • 308
  • 2 / 0
Re: Анонс статьи как ссылка
« Ответ #3 : 18.07.2011, 11:52:46 »
Нужно править файлик шаблона/html/com_content/blog_item.php

Я к сожалению пока не настолько сильна в php. Если бы кто описал как его править :(
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: Анонс статьи как ссылка
« Ответ #4 : 19.07.2011, 12:23:54 »
Стукните в аську вечером - помогу.
Создание сайтов, шаблонов, помощь в решении проблем.
*

Bern

  • Осваиваюсь на форуме
  • 39
  • 0 / 0
Re: Анонс статьи как ссылка
« Ответ #5 : 19.07.2011, 16:03:38 »
в настройках отображения статей
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: Анонс статьи как ссылка
« Ответ #6 : 20.07.2011, 14:03:42 »
Цитировать
Я к сожалению пока не настолько сильна в php. Если бы кто описал как его править
Можете тут содержимое выложить. Только кнопочкой вставки кода (#) пользуйтесь...
Создание сайтов, шаблонов, помощь в решении проблем.
*

tati-2000

  • Захожу иногда
  • 308
  • 2 / 0
Re: Анонс статьи как ссылка
« Ответ #7 : 23.07.2011, 13:02:13 »
Можете тут содержимое выложить. Только кнопочкой вставки кода (#) пользуйтесь...

как я выложу содержимое? папку content выложить? вот страница: http://xn----itbaba1ddbesf3bg0e.com/new.html - текст анонса должен быть ссылкой,
Цитировать
в настройках отображения статей
в настойке статьи нет такой возможности
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: Анонс статьи как ссылка
« Ответ #8 : 23.07.2011, 13:19:11 »
Цитировать
как я выложу содержимое?
Открываете файлик, выделяете текст, жмёте правой кнопкой мыши, выбираете копировать.
Переходите на форум, жмете кнопочку код (#), снова правой кнопочкой - вставить.
Создание сайтов, шаблонов, помощь в решении проблем.
*

tati-2000

  • Захожу иногда
  • 308
  • 2 / 0
Re: Анонс статьи как ссылка
« Ответ #9 : 23.07.2011, 14:05:51 »

Файл blog_item.php 

Код
<?php
/**
* @package   yoo_corona Template
* @file      blog_item.php
* @version   5.5.4 April 2011
* @author    YOOtheme http://www.yootheme.com
* @copyright Copyright (C) 2007 - 2011 YOOtheme GmbH
* @license   YOOtheme Proprietary Use License (http://www.yootheme.com/license)
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

$canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));

?>

<div class="item">


<?php if ($this->item->params->get('show_email_icon')) : ?>
<div class="icon email"><?php echo JHTML::_('icon.email', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>

<?php if ( $this->item->params->get( 'show_print_icon' )) : ?>
<div class="icon print"><?php echo JHTML::_('icon.print_popup', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>

<?php if ($this->item->params->get('show_pdf_icon')) : ?>
<div class="icon pdf"><?php echo JHTML::_('icon.pdf', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>



<?php if ($this->item->params->get('show_title')) : ?>
   
<h1 class="title">   

<?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
<a href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->escape($this->item->title); ?>"><?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>

</h1>
<?php endif; ?>
   
    <?php if ($this->item->params->get('show_create_date')) : ?>
<div class="date">
<div class="month"><?php echo JHTML::_('date', $this->item->created, JText::_('%d&nbsp;%B&nbsp;%Y')); ?>  </div>
</div>
<?php endif; ?>
   
 

<?php if (($this->item->params->get('show_author') && $this->item->author != "") || ($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) : ?>
<p class="meta">

<?php

if (($this->item->params->get('show_author')) && ($this->item->author != "")) {
JText::printf( 'Written by', ($this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author));
}

echo '. ';

if (($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) {
echo JText::_('Posted in').' ';
if ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) {
if ($this->item->params->get('link_section')) echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->item->sectionid)).'">';
echo $this->item->section;
if ($this->item->params->get('link_section')) echo '</a>';
if ($this->item->params->get('show_category')) echo ' - ';
}
if ($this->item->params->get('show_category') && $this->item->catid) {
if ($this->item->params->get('link_category')) echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">';
echo $this->item->category;
if ($this->item->params->get('link_category')) echo '</a>';
}
}

?>

</p>
<?php endif; ?>

<?php

if (!$this->item->params->get('show_intro')) {
echo $this->item->event->afterDisplayTitle;
}

echo $this->item->event->beforeDisplayContent;

if (isset ($this->item->toc)) {
echo $this->item->toc;
}

?>

<div class="content"><?php echo $this->item->text; ?></div>
   
    <div style="color:#238400;" ><?php if ($this->item->params->get('show_hits')) : ?>
   <?php echo JText::_('HITS')." ".$this->item->hits ?>
<?php endif; ?>  </div>

<?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?>
<p class="links">
<a class="readmore" href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->escape($this->item->title); ?>">
<span class="readmore-1">
<span class="readmore-2">
<?php

if ($this->item->readmore_register) {
echo JText::_('Register to read more');
} elseif ($readmore = $this->item->params->get('readmore')) {
echo $readmore;
} else {
echo JText::_('Continue Reading');
}

?>
</span>
</span>
</a>
</p>
<?php endif; ?>

<?php if ($canEdit) : ?>
<p class="edit"><?php echo JHTML::_('icon.edit', $this->item, $this->item->params, $this->access); ?> <?php echo JText::_('Edit this article.'); ?></p>
<?php endif; ?>

<?php echo $this->item->event->afterDisplayContent; ?>

</div>
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: Анонс статьи как ссылка
« Ответ #10 : 23.07.2011, 14:23:38 »
Вы не тот файлик дали. Исправляю ссылку
Нужно править файлик шаблона/html/com_content/category/blog_item.php
Создание сайтов, шаблонов, помощь в решении проблем.
*

tati-2000

  • Захожу иногда
  • 308
  • 2 / 0
Re: Анонс статьи как ссылка
« Ответ #11 : 23.07.2011, 16:13:25 »
Это все:
templates/yoo_corona/html/com_content/category
Код

<?php
/**
* @package   yoo_corona Template
* @file      blog_item.php
* @version   5.5.4 April 2011
* @author    YOOtheme http://www.yootheme.com
* @copyright Copyright (C) 2007 - 2011 YOOtheme GmbH
* @license   YOOtheme Proprietary Use License (http://www.yootheme.com/license)
*/

// include config and layout
$base = dirname(dirname(dirname(__FILE__)));
include($base.'/config.php');
include($warp->path->path('layouts:'.preg_replace('/'.preg_quote($base, '/').'/', '', __FILE__, 1)));


_templates/yoo_corona/layouts/com_content/category__________________________________________________________________
Код
<?php
/**
* @package   yoo_corona Template
* @file      blog_item.php
* @version   5.5.4 April 2011
* @author    YOOtheme http://www.yootheme.com
* @copyright Copyright (C) 2007 - 2011 YOOtheme GmbH
* @license   YOOtheme Proprietary Use License (http://www.yootheme.com/license)
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

$canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));

?>

<div class="item">


<?php if ($this->item->params->get('show_email_icon')) : ?>
<div class="icon email"><?php echo JHTML::_('icon.email', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>

<?php if ( $this->item->params->get( 'show_print_icon' )) : ?>
<div class="icon print"><?php echo JHTML::_('icon.print_popup', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>

<?php if ($this->item->params->get('show_pdf_icon')) : ?>
<div class="icon pdf"><?php echo JHTML::_('icon.pdf', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>



<?php if ($this->item->params->get('show_title')) : ?>
  
<h1 class="title">    

<?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
<a href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->escape($this->item->title); ?>"><?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>

</h1>
<?php endif; ?>
    
    <?php if ($this->item->params->get('show_create_date')) : ?>
<div class="date">
<div class="month"><?php echo JHTML::_('date', $this->item->created, JText::_('%d&nbsp;%B&nbsp;%Y')); ?>  </div>
</div>
<?php endif; ?>
    
  

<?php if (($this->item->params->get('show_author') && $this->item->author != "") || ($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) : ?>
<p class="meta">

<?php

if (($this->item->params->get('show_author')) && ($this->item->author != "")) {
JText::printf( 'Written by', ($this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author));
}

echo '. ';

if (($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) {
echo JText::_('Posted in').' ';
if ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) {
if ($this->item->params->get('link_section')) echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->item->sectionid)).'">';
echo $this->item->section;
if ($this->item->params->get('link_section')) echo '</a>';
if ($this->item->params->get('show_category')) echo ' - ';
}
if ($this->item->params->get('show_category') && $this->item->catid) {
if ($this->item->params->get('link_category')) echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">';
echo $this->item->category;
if ($this->item->params->get('link_category')) echo '</a>';
}
}

?>

</p>
<?php endif; ?>

<?php

if (!$this->item->params->get('show_intro')) {
echo $this->item->event->afterDisplayTitle;
}

echo $this->item->event->beforeDisplayContent;

if (isset ($this->item->toc)) {
echo $this->item->toc;
}

?>

<div class="content"><?php echo $this->item->text; ?></div>
    
    <div style="color:#238400;" ><?php if ($this->item->params->get('show_hits')) : ?>
   <?php echo JText::_('HITS')." ".$this->item->hits ?>
<?php endif; ?>  </div>

<?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?>
<p class="links">
<a class="readmore" href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->escape($this->item->title); ?>">
<span class="readmore-1">
<span class="readmore-2">
<?php

if ($this->item->readmore_register) {
echo JText::_('Register to read more');
} elseif ($readmore = $this->item->params->get('readmore')) {
echo $readmore;
} else {
echo JText::_('Continue Reading');
}

?>
</span>
</span>
</a>
</p>
<?php endif; ?>

<?php if ($canEdit) : ?>
<p class="edit"><?php echo JHTML::_('icon.edit', $this->item, $this->item->params, $this->access); ?> <?php echo JText::_('Edit this article.'); ?></p>
<?php endif; ?>

<?php echo $this->item->event->afterDisplayContent; ?>

</div>
« Последнее редактирование: 23.07.2011, 16:20:46 от tati-2000 »
*

tati-2000

  • Захожу иногда
  • 308
  • 2 / 0
Re: Анонс статьи как ссылка
« Ответ #12 : 23.07.2011, 16:19:44 »
ещё один : templates/yoo_corona/warp/sistems/joomla1.5/layouts/com_content/category   
Код


<?php
/**
* @package   Warp Theme Framework
* @file      blog_item.php
* @version   5.5.15
* @author    YOOtheme http://www.yootheme.com
* @copyright Copyright  2007 - 2011 YOOtheme GmbH
* @license   YOOtheme Proprietary Use License (http://www.yootheme.com/license)
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

$canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));

?>

<div class="item">

<?php if ($this->item->params->get('show_email_icon')) : ?>
<div class="icon email"><?php echo JHTML::_('icon.email', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>

<?php if ( $this->item->params->get( 'show_print_icon' )) : ?>
<div class="icon print"><?php echo JHTML::_('icon.print_popup', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>

<?php if ($this->item->params->get('show_pdf_icon')) : ?>
<div class="icon pdf"><?php echo JHTML::_('icon.pdf', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>

<?php if ($this->item->params->get('show_title')) : ?>
<h1 class="title">

<?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
<a href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->escape($this->item->title); ?>"><?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>

</h1>
<?php endif; ?>

<?php if ($this->item->params->get('show_create_date') || ($this->item->params->get('show_author') && $this->item->author != "") || ($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) : ?>
<p class="meta">

<?php

if (($this->item->params->get('show_author')) && ($this->item->author != "")) {
JText::printf( 'Written by', ($this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author));
}

if ($this->item->params->get('show_create_date')) {
echo ' '.JText::_('on').' '.JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC3'));
}

echo '. ';

if (($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) {
echo JText::_('Posted in').' ';
if ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) {
if ($this->item->params->get('link_section')) echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->item->sectionid)).'">';
echo $this->item->section;
if ($this->item->params->get('link_section')) echo '</a>';
if ($this->item->params->get('show_category')) echo ' - ';
}
if ($this->item->params->get('show_category') && $this->item->catid) {
if ($this->item->params->get('link_category')) echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">';
echo $this->item->category;
if ($this->item->params->get('link_category')) echo '</a>';
}
}

?>

</p>
<?php endif; ?>

<?php

if (!$this->item->params->get('show_intro')) {
echo $this->item->event->afterDisplayTitle;
}

echo $this->item->event->beforeDisplayContent;

if (isset ($this->item->toc)) {
echo $this->item->toc;
}

?>

<div class="content"><?php echo $this->item->text; ?></div>

<?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?>
<p class="links">
<a href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->escape($this->item->title); ?>">
<?php

if ($this->item->readmore_register) {
echo JText::_('Register to read more');
} elseif ($readmore = $this->item->params->get('readmore')) {
echo $readmore;
} else {
echo JText::_('Continue Reading');
}

?>
</a>
</p>
<?php endif; ?>

<?php if ($canEdit) : ?>
<p class="edit"><?php echo JHTML::_('icon.edit', $this->item, $this->item->params, $this->access); ?> <?php echo JText::_('Edit this article.'); ?></p>
<?php endif; ?>

<?php echo $this->item->event->afterDisplayContent; ?>

</div>
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: Анонс статьи как ссылка
« Ответ #13 : 23.07.2011, 16:23:36 »
А ссылку на сайт дать можете?
Создание сайтов, шаблонов, помощь в решении проблем.
*

tati-2000

  • Захожу иногда
  • 308
  • 2 / 0
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: Анонс статьи как ссылка
« Ответ #15 : 23.07.2011, 21:11:45 »
Вот этот код вставьте, только не знаю, в какой из этих файлов. (полностью замените содержимое)
Код
<?php
/**
* @package   yoo_corona Template
* @file      blog_item.php
* @version   5.5.4 April 2011
* @author    YOOtheme http://www.yootheme.com
* @copyright Copyright (C) 2007 - 2011 YOOtheme GmbH
* @license   YOOtheme Proprietary Use License (http://www.yootheme.com/license)
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

$canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));

?>

<div class="item">


<?php if ($this->item->params->get('show_email_icon')) : ?>
<div class="icon email"><?php echo JHTML::_('icon.email', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>

<?php if ( $this->item->params->get( 'show_print_icon' )) : ?>
<div class="icon print"><?php echo JHTML::_('icon.print_popup', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>

<?php if ($this->item->params->get('show_pdf_icon')) : ?>
<div class="icon pdf"><?php echo JHTML::_('icon.pdf', $this->item, $this->item->params, $this->access); ?></div>
<?php endif; ?>



<?php if ($this->item->params->get('show_title')) : ?>
   
<h1 class="title">   

<?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
<a href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->escape($this->item->title); ?>"><?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>

</h1>
<?php endif; ?>
   
    <?php if ($this->item->params->get('show_create_date')) : ?>
<div class="date">
<div class="month"><?php echo JHTML::_('date', $this->item->created, JText::_('%d&nbsp;%B&nbsp;%Y')); ?>  </div>
</div>
<?php endif; ?>
   
 

<?php if (($this->item->params->get('show_author') && $this->item->author != "") || ($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) : ?>
<p class="meta">

<?php

if (($this->item->params->get('show_author')) && ($this->item->author != "")) {
JText::printf( 'Written by', ($this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author));
}

echo '. ';

if (($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) {
echo JText::_('Posted in').' ';
if ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) {
if ($this->item->params->get('link_section')) echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->item->sectionid)).'">';
echo $this->item->section;
if ($this->item->params->get('link_section')) echo '</a>';
if ($this->item->params->get('show_category')) echo ' - ';
}
if ($this->item->params->get('show_category') && $this->item->catid) {
if ($this->item->params->get('link_category')) echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">';
echo $this->item->category;
if ($this->item->params->get('link_category')) echo '</a>';
}
}

?>

</p>
<?php endif; ?>

<?php

if (!$this->item->params->get('show_intro')) {
echo $this->item->event->afterDisplayTitle;
}

echo $this->item->event->beforeDisplayContent;

if (isset ($this->item->toc)) {
echo $this->item->toc;
}

?>

<div class="content"><a href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->escape($this->item->title); ?>"><?php echo $this->item->text; ?></a></div>
   
    <div style="color:#238400;" ><?php if ($this->item->params->get('show_hits')) : ?>
   <?php echo JText::_('HITS')." ".$this->item->hits ?>
<?php endif; ?>  </div>

<?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?>
<p class="links">
<a class="readmore" href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->escape($this->item->title); ?>">
<span class="readmore-1">
<span class="readmore-2">
<?php

if ($this->item->readmore_register) {
echo JText::_('Register to read more');
} elseif ($readmore = $this->item->params->get('readmore')) {
echo $readmore;
} else {
echo JText::_('Continue Reading');
}

?>
</span>
</span>
</a>
</p>
<?php endif; ?>

<?php if ($canEdit) : ?>
<p class="edit"><?php echo JHTML::_('icon.edit', $this->item, $this->item->params, $this->access); ?> <?php echo JText::_('Edit this article.'); ?></p>
<?php endif; ?>

<?php echo $this->item->event->afterDisplayContent; ?>

</div>
Создание сайтов, шаблонов, помощь в решении проблем.
*

tati-2000

  • Захожу иногда
  • 308
  • 2 / 0
Re: Анонс статьи как ссылка
« Ответ #16 : 23.07.2011, 22:09:13 »
поменяла, во всех файлах по очереди, последний файл не стоит трогать , безрезультатно
А вот замена первых двух дала странный результат:  http://xn----itbaba1ddbesf3bg0e.com/new.html   - анонс стал ссылкой только у первой и девятой статьи, на странице http://xn----itbaba1ddbesf3bg0e.com/newarticle22.html  - ни один анонс не стал ссылкой

пробовала отформатировать другие статьи как первую, ничего не дало
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Откуда взялась ссылка?)

Автор robotwerder

Ответов: 15
Просмотров: 7183
Последний ответ 26.05.2022, 08:40:37
от Thomas Bergersen
Не работают элементы в режиме создания статьи

Автор ipRazor

Ответов: 17
Просмотров: 4780
Последний ответ 10.08.2016, 10:36:39
от SeBun
Как убрать (скрыть) количество просмотров для определенной статьи?

Автор egoz

Ответов: 10
Просмотров: 13037
Последний ответ 10.05.2015, 06:11:47
от vipiusss
Ссылка на новости иногда выходит на другую страницу

Автор adiantum

Ответов: 3
Просмотров: 2206
Последний ответ 25.04.2015, 13:31:42
от vipiusss
Не приходит ссылка с активацией пользователя в mod_login, но сама почта приходит

Автор pinkfloyd

Ответов: 3
Просмотров: 4320
Последний ответ 12.12.2014, 20:45:05
от Sanita