Новости Joomla

Вышли релизы безопасности Joomla 6.1.4 и Joomla 5.4.9

Релиз безопасности Joomla 6.1.4 и Joomla 5.4.9

Проект Joomla! рад сообщить о выходе Joomla 6.1.4 и Joomla 5.4.9. Это релизы безопасности и исправления ошибок для серий 5.x и 6.x.

JoomShift - компонент переноса контента между Joomla сайтами.

‍ JoomShift - компонент переноса контента между Joomla сайтами.

JoomShift - компонент переноса контента между Joomla сайтами.Он позволяет экспортировать модули, меню, материалы, категории, пользовательские поля и пользователей в виде переносимых JSON/ZIP-файлов, а затем импортировать их в любую другую установку Joomla.

Возможности компонента:- Модули — полная настройка, назначение пунктов меню, позиционирование и содержимое SP Page Builder.
-Меню — иерархия родительских/дочерних элементов, типы элементов, ссылки, уровни доступа и параметры. Отсутствующие типы меню создаются автоматически, а элементы, указывающие на неустановленные компоненты, пропускаются с предупреждением.
-Статьи и категории — контент, метаданные, изображения и иерархия категорий.
-Пользовательские поля — группы полей, определения, ограничения по категориям и значения (включая поля с несколькими значениями) — экспортируются и автоматически создаются заново на целевом сайте.
-Пользователи — данные профиля, назначения групп и хэши паролей, чтобы учетные записи работали сразу после импорта.
-Кросс-версииJoomla - компонент адаптируется к различиям в схеме базы данных между версиями Joomla.
-Создан для крупных сайтов — постраничные списки (20/50/100/250строк) и автоматический пакетный экспорт для сайтов с более чем 500 элементами, поэтому он продолжает работать на обычном хостинге.
-Опция перезаписи — обновляет совпадающие элементы при повторном импорте вместо создания дубликатов.
-Drag-n-drop импорт с подробным отчетом о том, что было импортировано, обновлено или пропущено, и почему.

На момент написания заметки для скачивания необходима регистрация/логин на сайте разработчика.

-Joomla Extensions Directory-Страница расширения#joomla#расширения

Модуль joomLab JS Ajax Cart позволит организовать в Вашем интернет-магазине на компоненте JoomShopping удобную AJAX корзину с возможностью добавлять товары и изменять их количество без перезагрузки страницы.

Модуль joomLab JS Ajax Cart позволит организовать в Вашем интернет-магазине на компоненте JoomShopping удобную AJAX корзину с возможностью добавлять товары и изменять их количество без перезагрузки страницы.

Кроме этого, в состав пакета установки входит плагин, который позволяет выводить атрибуты товара в список всех товаров, менять эти атрибуты и добавлять товар в корзину из списка товаров. Если атрибутов много, то их можно выводить в всплывающем (модальном окне).

В модуле предусмотрено 2 макета дизайна для Bootstrap и UIkit и максимальная кастомизация для переопределения макетов в шаблон.Демо расширенияСтраница расширения

Видео в Telegram

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

andriy465

  • Захожу иногда
  • 67
  • 0 / 0
  • magerfon.ru
вопрос всередине
« : 24.08.2011, 20:15:22 »
Вот наприсовал на картинке что я хочу сделать:

стили подгонять я буду сам , нужно только поставить бреактумбс перед названием.
Вот сайт: magerfon.ru
вот php код файла defalut.php:
Цитировать
<?php // 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'));
?>
<?php if ($this->params->get('show_page_title', 1) && $this->params->get('page_title')!= $this->article->title) : ?>
   <div class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
      <?php echo $this->escape($this->params->get('page_title')); ?>
   </div>
<?php endif; ?>
<?php if ($canEdit || $this->params->get('show_title') || $this->params->get('show_pdf_icon') || $this->params->get('show_print_icon') || $this->params->get('show_email_icon')) : ?>
<table class="contentpaneopen<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<tr>
   <?php if ($this->params->get('show_title')) : ?>
   <td class="contentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>" width="100%">
      <?php if ($this->params->get('link_titles') && $this->article->readmore_link != '') : ?>
      <a href="<?php echo $this->article->readmore_link; ?>" class="contentpagetitle<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
         <?php echo $this->escape($this->article->title); ?></a>
      <?php else : ?>
         <?php echo $this->escape($this->article->title); ?>
      <?php endif; ?>
             <?php if ($this->params->get('link_category') && $this->article->category2) : ?>
            <?php echo ',
            <a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->article->catid2, $this->article->sectionid)).'">'; ?>
         <?php endif; ?>
         <?php echo $this->escape ($this->article->category2); ?>
         <?php if ($this->params->get('link_category') && $this->article->category2) : ?>
            <?php echo '</a>'; ?>
         <?php endif; ?>
            <?php if ($this->params->get('link_category') && $this->article->category3) : ?>
            <?php echo ',
            <a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute ($this->article->catid3, $this->article->sectionid)).'">'; ?>
         <?php endif; ?>
         <?php echo $this->escape($this->article->category3); ?>
         <?php if ($this->params->get('link_category') && $this->article->category3) : ?>
            <?php echo '</a>'; ?>
         <?php endif; ?>
   </td>
   <?php endif; ?>
   <?php if (!$this->print) : ?>
      <?php if ($this->params->get('show_pdf_icon')) : ?>
      <td align="right" width="100%" class="buttonheading">
      <?php echo JHTML::_('icon.pdf',  $this->article, $this->params, $this->access); ?>
      </td>
      <?php endif; ?>

      <?php if ( $this->params->get( 'show_print_icon' )) : ?>
      <td align="right" width="100%" class="buttonheading">
      <?php echo JHTML::_('icon.print_popup',  $this->article, $this->params, $this->access); ?>
      </td>
      <?php endif; ?>

      <?php if ($this->params->get('show_email_icon')) : ?>
      <td align="right" width="100%" class="buttonheading">
      <?php echo JHTML::_('icon.email',  $this->article, $this->params, $this->access); ?>
      </td>
      <?php endif; ?>
      <?php if ($canEdit) : ?>
      <td align="right" width="100%" class="buttonheading">
         <?php echo JHTML::_('icon.edit', $this->article, $this->params, $this->access); ?>
      </td>
      <?php endif; ?>
   <?php else : ?>
      <td align="right" width="100%" class="buttonheading">
      <?php echo JHTML::_('icon.print_screen',  $this->article, $this->params, $this->access); ?>
      </td>
   <?php endif; ?>
</tr>
</table>
<?php endif; ?>

<?php  if (!$this->params->get('show_intro')) :
   echo $this->article->event->afterDisplayTitle;
endif; ?>
<?php echo $this->article->event->beforeDisplayContent; ?>
<table class="contentpaneopen<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<?php if (($this->params->get('show_section') && $this->article->sectionid) || ($this->params->get('show_category') && $this->article->catid)) : ?>
<tr>
   <td>
      <?php if ($this->params->get('show_section') && $this->article->sectionid && isset($this->article->section)) : ?>
      <span>
         <?php if ($this->params->get('link_section')) : ?>
            <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->article->sectionid)).'">'; ?>
         <?php endif; ?>
         <?php echo $this->escape($this->article->section); ?>
         <?php if ($this->params->get('link_section')) : ?>
            <?php echo '</a>'; ?>
         <?php endif; ?>
            <?php if ($this->params->get('show_category')) : ?>
            <?php echo ' - '; ?>
         <?php endif; ?>
      </span>
      <?php endif; ?>
      <?php if ($this->params->get('show_category') && $this->article->catid) : ?>
      <span>
         <?php if ($this->params->get('link_category')) : ?>
            <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->article->catslug, $this->article->sectionid)).'">'; ?>
         <?php endif; ?>
         <?php echo $this->escape($this->article->category); ?>
         <?php if ($this->params->get('link_category')) : ?>
            <?php echo '</a>'; ?>
         <?php endif; ?>
      </span>
      <?php endif; ?>
   </td>
</tr>
<?php endif; ?>
<?php if (($this->params->get('show_author')) && ($this->article->author != "")) : ?>
<tr>
   <td valign="top">
      <span class="small">
         <?php JText::printf( 'Written by', ($this->escape($this->article->created_by_alias)? $this->escape($this->article->created_by_alias) : $this->escape($this->article->author)) ); ?>
      </span>
      &nbsp;&nbsp;
   </td>
</tr>
<?php endif; ?>

<?php if ($this->params->get('show_create_date')) : ?>
<tr>
   <td valign="top" class="createdate">
      <?php echo JHTML::_('date', $this->article->created, JText::_('DATE_FORMAT_LC2'))?>
   </td>
</tr>
<?php endif; ?>

<?php if ($this->params->get('show_url') && $this->article->urls) : ?>
<tr>
   <td valign="top">
      <a href="http://<?php echo $this->article->urls ; ?>" target="_blank">
         <?php echo $this->escape($this->article->urls); ?></a>
   </td>
</tr>
<?php endif; ?>

<tr>
<td valign="top">
<?php if (isset ($this->article->toc)) : ?>
   <?php echo $this->article->toc; ?>
<?php endif; ?>
<?php echo $this->article->text; ?>
</td>
</tr>

<?php if ( intval($this->article->modified)!=0 && $this->params->get('show_modify_date')) : ?>
<tr>
   <td class="modifydate">
      <?php echo JText::sprintf('LAST_UPDATED2', JHTML::_('date', $this->article->modified, JText::_('DATE_FORMAT_LC2'))); ?>
   </td>
</tr>
<?php endif; ?>
</table>
<span class="article_separator">&nbsp;</span>
<?php echo $this->article->event->afterDisplayContent; ?>
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: вопрос всередине
« Ответ #1 : 24.08.2011, 20:19:39 »
Именно модуль хлебных крошек нужен? Или просто вывести перед заголовком название раздела и категории?
Создание сайтов, шаблонов, помощь в решении проблем.
*

andriy465

  • Захожу иногда
  • 67
  • 0 / 0
  • magerfon.ru
Re: вопрос всередине
« Ответ #2 : 25.08.2011, 01:56:05 »
Просто вывести перед заголовком название раздела и категории
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: вопрос всередине
« Ответ #3 : 25.08.2011, 02:36:14 »
Вот так.
Код
<?php // 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'));
?>
<?php if ($this->params->get('show_page_title', 1) && $this->params->get('page_title')!= $this->article->title) : ?>
   <div class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
      <?php echo $this->escape($this->params->get('page_title')); ?>
   </div>
<?php endif; ?>
<?php if ($canEdit || $this->params->get('show_title') || $this->params->get('show_pdf_icon') || $this->params->get('show_print_icon') || $this->params->get('show_email_icon')) : ?>
<table class="contentpaneopen<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<tr>
   <?php if ($this->params->get('show_title')) : ?>
   <td class="contentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>" width="100%">
<?php if (($this->params->get('show_section') && $this->article->sectionid) || ($this->params->get('show_category') && $this->article->catid)) : ?>

      <?php if ($this->params->get('show_section') && $this->article->sectionid && isset($this->article->section)) : ?>
      <span>
         <?php if ($this->params->get('link_section')) : ?>
            <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->article->sectionid)).'">'; ?>
         <?php endif; ?>
         <?php echo $this->escape($this->article->section); ?>
         <?php if ($this->params->get('link_section')) : ?>
            <?php echo '</a>'; ?>
         <?php endif; ?>
            <?php if ($this->params->get('show_category')) : ?>
            <?php echo ' - '; ?>
         <?php endif; ?>
      </span>
      <?php endif; ?>
      <?php if ($this->params->get('show_category') && $this->article->catid) : ?>
      <span>
         <?php if ($this->params->get('link_category')) : ?>
            <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->article->catslug, $this->article->sectionid)).'">'; ?>
         <?php endif; ?>
         <?php echo $this->escape($this->article->category); ?>
         <?php if ($this->params->get('link_category')) : ?>
            <?php echo '</a>'; ?>
         <?php endif; ?>
      </span>
      <?php endif; ?>
   <?php endif; ?> <?php echo ' - '; ?>
      <?php if ($this->params->get('link_titles') && $this->article->readmore_link != '') : ?>
      <a href="<?php echo $this->article->readmore_link; ?>" class="contentpagetitle<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
         <?php echo $this->escape($this->article->title); ?></a>
      <?php else : ?>
         <?php echo $this->escape($this->article->title); ?>
      <?php endif; ?>
             <?php if ($this->params->get('link_category') && $this->article->category2) : ?>
            <?php echo ',
            <a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->article->catid2, $this->article->sectionid)).'">'; ?>
         <?php endif; ?>
         <?php echo $this->escape ($this->article->category2); ?>
         <?php if ($this->params->get('link_category') && $this->article->category2) : ?>
            <?php echo '</a>'; ?>
         <?php endif; ?>
            <?php if ($this->params->get('link_category') && $this->article->category3) : ?>
            <?php echo ',
            <a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute ($this->article->catid3, $this->article->sectionid)).'">'; ?>
         <?php endif; ?>
         <?php echo $this->escape($this->article->category3); ?>
         <?php if ($this->params->get('link_category') && $this->article->category3) : ?>
            <?php echo '</a>'; ?>
         <?php endif; ?>
   </td>
   <?php endif; ?>
   <?php if (!$this->print) : ?>
      <?php if ($this->params->get('show_pdf_icon')) : ?>
      <td align="right" width="100%" class="buttonheading">
      <?php echo JHTML::_('icon.pdf',  $this->article, $this->params, $this->access); ?>
      </td>
      <?php endif; ?>

      <?php if ( $this->params->get( 'show_print_icon' )) : ?>
      <td align="right" width="100%" class="buttonheading">
      <?php echo JHTML::_('icon.print_popup',  $this->article, $this->params, $this->access); ?>
      </td>
      <?php endif; ?>

      <?php if ($this->params->get('show_email_icon')) : ?>
      <td align="right" width="100%" class="buttonheading">
      <?php echo JHTML::_('icon.email',  $this->article, $this->params, $this->access); ?>
      </td>
      <?php endif; ?>
      <?php if ($canEdit) : ?>
      <td align="right" width="100%" class="buttonheading">
         <?php echo JHTML::_('icon.edit', $this->article, $this->params, $this->access); ?>
      </td>
      <?php endif; ?>
   <?php else : ?>
      <td align="right" width="100%" class="buttonheading">
      <?php echo JHTML::_('icon.print_screen',  $this->article, $this->params, $this->access); ?>
      </td>
   <?php endif; ?>
</tr>
</table>
<?php endif; ?>

<?php  if (!$this->params->get('show_intro')) :
   echo $this->article->event->afterDisplayTitle;
endif; ?>
<?php echo $this->article->event->beforeDisplayContent; ?>
<table class="contentpaneopen<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">


<?php if (($this->params->get('show_author')) && ($this->article->author != "")) : ?>
<tr>
   <td valign="top">
      <span class="small">
         <?php JText::printf( 'Written by', ($this->escape($this->article->created_by_alias)? $this->escape($this->article->created_by_alias) : $this->escape($this->article->author)) ); ?>
      </span>
      &nbsp;&nbsp;
   </td>
</tr>
<?php endif; ?>

<?php if ($this->params->get('show_create_date')) : ?>
<tr>
   <td valign="top" class="createdate">
      <?php echo JHTML::_('date', $this->article->created, JText::_('DATE_FORMAT_LC2'))?>
   </td>
</tr>
<?php endif; ?>

<?php if ($this->params->get('show_url') && $this->article->urls) : ?>
<tr>
   <td valign="top">
      <a href="http://<?php echo $this->article->urls ; ?>" target="_blank">
         <?php echo $this->escape($this->article->urls); ?></a>
   </td>
</tr>
<?php endif; ?>

<tr>
<td valign="top">
<?php if (isset ($this->article->toc)) : ?>
   <?php echo $this->article->toc; ?>
<?php endif; ?>
<?php echo $this->article->text; ?>
</td>
</tr>

<?php if ( intval($this->article->modified)!=0 && $this->params->get('show_modify_date')) : ?>
<tr>
   <td class="modifydate">
      <?php echo JText::sprintf('LAST_UPDATED2', JHTML::_('date', $this->article->modified, JText::_('DATE_FORMAT_LC2'))); ?>
   </td>
</tr>
<?php endif; ?>
</table>
<span class="article_separator">&nbsp;</span>
<?php echo $this->article->event->afterDisplayContent; ?>
Создание сайтов, шаблонов, помощь в решении проблем.
*

andriy465

  • Захожу иногда
  • 67
  • 0 / 0
  • magerfon.ru
Re: вопрос всередине
« Ответ #4 : 27.08.2011, 13:14:33 »
Скажіте мне еше где етот файл defalut.php найти? ато заплутался
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: вопрос всередине
« Ответ #5 : 27.08.2011, 13:16:03 »
шаблон/html/com_content/article
Создание сайтов, шаблонов, помощь в решении проблем.
*

andriy465

  • Захожу иногда
  • 67
  • 0 / 0
  • magerfon.ru
Re: вопрос всередине
« Ответ #6 : 27.08.2011, 13:40:59 »
нету такого
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: вопрос всередине
« Ответ #7 : 27.08.2011, 14:33:52 »
Цитировать
нету такого
Можна создать. Или components\com_content\views\article\tmpl\
Создание сайтов, шаблонов, помощь в решении проблем.
*

andriy465

  • Захожу иногда
  • 67
  • 0 / 0
  • magerfon.ru
Re: вопрос всередине
« Ответ #8 : 27.08.2011, 15:10:44 »
так как было так и осталось:
сами смотрите:
http://magerfon.ru/
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: вопрос всередине
« Ответ #9 : 27.08.2011, 15:18:51 »
Работает. Но этот файл отвечает за вывод полной статьи. А вам нужно где?
Создание сайтов, шаблонов, помощь в решении проблем.
*

andriy465

  • Захожу иногда
  • 67
  • 0 / 0
  • magerfon.ru
Re: вопрос всередине
« Ответ #10 : 27.08.2011, 15:37:25 »
мне нужно для неполной статьи
*

Efanych

  • Глобальный модератор
  • 4683
  • 644 / 0
  • Меняю свою жизнь на 360°!
Re: вопрос всередине
« Ответ #11 : 27.08.2011, 15:40:21 »
мне нужно для неполной статьи
Неполная статья может быть в блоге категории, блоге раздела и на главной...
Создание сайтов, шаблонов, помощь в решении проблем.
*

andriy465

  • Захожу иногда
  • 67
  • 0 / 0
  • magerfon.ru
Re: вопрос всередине
« Ответ #12 : 29.08.2011, 00:31:35 »
спс, но надо чтоб еще и для остальных файлов такиеже фитчи сделали.
*

andriy465

  • Захожу иногда
  • 67
  • 0 / 0
  • magerfon.ru
Re: вопрос всередине
« Ответ #13 : 31.08.2011, 18:32:27 »
а для остальных?
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Вопрос при переходе на https/ Проблема с внутренними ссылками

Автор krot

Ответов: 4
Просмотров: 6062
Последний ответ 06.02.2018, 09:21:33
от krot
Вопрос о правильности разметки тегами на странице

Автор dpy1995

Ответов: 10
Просмотров: 9042
Последний ответ 09.01.2018, 12:49:25
от kungurskiy
вопрос по использованию FireBug

Автор rkorkin

Ответов: 5
Просмотров: 5160
Последний ответ 06.08.2016, 17:34:23
от Saltanat
Вопрос по Joomla Platform 12.2.0 Stable

Автор ator1812

Ответов: 0
Просмотров: 2346
Последний ответ 12.07.2015, 21:51:55
от ator1812
Вопрос по геотаргетингу

Автор TrollGuru

Ответов: 1
Просмотров: 1889
Последний ответ 21.10.2014, 17:43:40
от voland