News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Move the layout and Data Field Selection to category settings

Started by Tazzios, 20.11.2019 09:30:44

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tazzios

In a normal use case you give groups access to different category`s which they manage.
Each category contains different kind of files with different metadata.

1. Because you have different metadata in each category the lay-out should be set for each category.
2. The aviable upload fields should be correspond to the used metadata in the category instead of user rights.

lay-out category settings
The current layouts options are very powerful but the problem is, you only have one active which is a shame (and a bit confusing) because it`s already very easy to create different templates.
Different category`s will have different metadata, for example files have different metadata then photo`s different layout seems logical.
http://www.jdownloads.com/index.php/support-forum.html?topic=9557.msg39553#msg39553

Data Field Selection to category settings

In the current situation the fields that are available with upload are set in 'User Groups Settings'.
This gives the problem that when users are in multiple groups even if you use ranking you have to add extra fields to one or the other.
Example:
GroupA has 'Short Description' ranking1
GroupB has Long Description ranking2
User1 is member of group A and B.
User2 is member of groupA
User3 is member of groupB

In order that user1 can also fill in the 'Long Description' it has to be added to GroupA. Now user2 has also the field 'Long Description'
Other things like:
Adjusting the ranking > gives the same result only then user3 as the field 'Short Description'.
Adding extra groups only for jdownloads > is not maintainable.
Adding all the field to all users > is not very user friendly

I understand this will be a big change from how it works currently, but i think it will help making jdownloads easier to configure for beginners and more powerful for the current users.

ColinM

Hi
Yes it is worth thinking about how layouts are associated with various items.  Using a 'Down layout' spec as part of a category property is a useful idea.  It would of course need to propogate to sub categories to minimise setting up of each category.
We have already made some changes with the jD3.9 series which is now in test.  There is now a better distinction between top level categories and subcategories.  Also the name 'Files' layout is changed to 'Downloads' layout.  The emphasis in jD 3,9 has been on incorporating the newer Joomla! features.  Whilst there have been may changes in the jD he tendancy is to make it look much as the 3.2 series.  All of this is of course a precursor to Joomla! 4.

Implementing 'associated layouts' at least initially, one would need to restict to having 'associated Download and Download Details' layouts.  There is a challenge in the way that jD uses the header, subheader and footer sections.

This is too late for jD3.9 but something that could be thought about in the jD 4 series.

Colin
Colin M
  •  

ColinM

 Also there are some felexibility in category based views
see
http://www.jdownloads.net/documentation-for-jd3-2/general-items-v3-2/customising-the-way-downloads-are-listed-in-different-categoriesAndhttp://www.jdownloads.net/documentation-for-v3-9-beta/general-items-v3-9/customising-the-way-downloads-are-listed-in-different-categories
Colin

Colin M
  •