Jump to content
Дизайн и модификация Invision Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Zero108

Существует ли плагин для Downloads для отображения содержимого подкатегорий в с родительской категории?

Recommended Posts

Существует ли плагин для Downloads для отображения содержимого подкатегорий в родительской категории? Получается, что родительская категория пустая, а в подкатегориях есть файлы. Как все файлы из всех подкатегорий отобразить и в родительской категории? При одном уровне вложения подкатегорий. С целью повышения юзабилити сайта.

Edited by Zero108

Share this post


Link to post

Пока что пошел по другому пути. Заменил содержимое шаблона noFiles на

 

{{if !\IPS\Request::i()->isAjax()}}
<div class="ipsPageHeader ipsPad_half ipsClearfix ipsSpacer_bottom" id='elDownloadersHeader' data-ipsSticky data-ipsSticky-disableIn='phone'>
	<h1 class="ipsType_pageTitle">{lang="__app_downloads"}   <a href='#elDownloadsCategories_menu' data-ipsMenu data-ipsMenu-appendTo='#elDownloadersHeader' id='elDownloadsCategories' class='ipsButton ipsButton_light ipsButton_small'><span class='ipsType_light'>{lang="downloads_category_select"}  </span> {lang="all"} <i class='fa fa-caret-down'></i></a></h1>
	{template="categoryMenu" group="browse" params="\IPS\downloads\Category::roots()"}
</div>
<div class='ipsBox'>
	<h2 class='ipsType_sectionTitle ipsType_reset'>{lang="categories"}</h2>
{{endif}}
	<ol class="ipsDataList ipsDataList_large">
		{template="categoryRow" group="browse" params="NULL, NULL, \IPS\downloads\Category::roots()"}
	</ol>
{{if !\IPS\Request::i()->isAjax()}}	
</div>
{{endif}}

Edited by Zero108

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...