Новости Joomla

Вышли релизы Joomla 6.1 и Joomla 5.4.5: новые возможности и стабильность

Релиз Joomla 6.1.0

Проект Joomla! объявил о доступности Joomla 6.1 [Nyota] — новой минорной версии шестой серии, а также о выпуске релиза исправлений ошибок Joomla 5.4.5. Релиз 6.1 приносит ряд долгожданных функций, повышающих удобство управления контентом и защиту от спама.

👩‍💻 Компонент "CS Афиши" для Joomla.

👩‍💻 Компонент "CS Афиши" для Joomla.

Расширение "CS Афиши" позволяет выводить список мероприятий, фильтровать их по датам, поиск по заголовкам и описанию.

В состав пакета расширений входят:
- Компонент "CS Афиши"
- Модуль "Календарь событий"
- Модуль "Предстоящие события"
- Библиотека "ImgResize"

Расширение "CS Афиши" позволяет выводить список мероприятий, фильтровать их по датам, поиск по заголовкам и описанию.

Модуль "Календарь событий" отображает предстоящие и прошедшие мероприятие на календаре, с отображением мероприятий на конкретную дату во всплывающем окне.

Модуль "Предстоящие события" показывает список предстоящий событий по порядку их наступления.

P.S. Расширение платное, но плата символическая, чисто для отработки приема платежей. Ключи без ограничения по времени, купившие сейчас - смогут обновляться без ограничений.

Разработчик - участник нашего сообщества Дмитрий Денисов (@codersite).

Страница расширения
Демо

Яндекс выпустил инструмент Видимость сайта в Алисе AI.

Яндекс выпустил инструмент Видимость сайта в Алисе AI.

С тех пор, как в поисковиках появились нейроответы ИИ, трафик на сайты стал гораздо меньше, так как пользователь стал получать информацию непосредственно на странице поисковика без перехода на сайт. Но при генерации ответа ИИ указывает источники - ссылки на сайты, информация которых была использована для генерации ответа.

Долгое время у всех был немой вопрос: "Как же теперь оценивать эффективность сайта?". Теперь этот на этот вопрос отчасти отвечает новый инструмент аналитики.
Процитируем справку Яндекса по инструменту:
На запросы пользователей в Поиске может отвечать Алиса AI. Ответы появляются в поисковой выдаче, в объектных ответах и на отдельной вкладке Поиска. В них чаще всего упоминаются страницы сайтов, на которые Алиса AI опиралась при подготовке ответа.

С помощью инструмента Видимость сайта в Алисе AI в Яндекс Вебмастере вы можете:
- узнать долю упоминаний сайта среди источников в ответах Алисы AI в Поиске и отследить динамику изменений;
- посмотреть примеры запросов, по которым страницы сайта показываются в ответах Алисы AI;
- посмотреть примеры сайтов той же тематики, которые часто упоминаются в генеративной выдаче.
Данные отображаются за последние 3 месяца и обновляются каждую неделю.

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

Кроме того, такой подход обусловлен работой Алисы AI: она строит ответ с опорой на самые релевантные, информативные и качественные страницы, которые обычно занимают высокие позиции в Поиске.

Чтобы увидеть статистику вашего сайта в меню Яндекс.Вебмастера перейдите в раздел "Эффективность" и далее в "Показы сайта в Алисе AI".

В начале февраля 2026г. был вебинар с Михаилом Сливинским - амбассадором Поиска Яндекса, и в рамках вебинара была озвучена просьба сделать такой инструмент. Скорее всего разработка на тот момент уже велась, потому что от просьбы до релиза прошло около 2-х месяцев. В любом случае хорошо, что такая статистика появилась.

Показы сайта в Алисе AI в вашем Яндекс,Вебмастере.

@joomlafeed

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

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
Просмотров: 7412
Последний ответ 26.05.2022, 08:40:37
от Thomas Bergersen
Не работают элементы в режиме создания статьи

Автор ipRazor

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

Автор egoz

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

Автор adiantum

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

Автор pinkfloyd

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