jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: romagromov on 30.01.2015 22:42:29

Title: Related downloads module.
Post by: romagromov on 30.01.2015 22:42:29
Hi!

I have a dream - every download item have block (like in K2)

Other popular downloads in this category.

or

Related Downloads

or

What other users download with this item.


(http://monosnap.com/image/bjsgZyKNaTKk7IPtgbDnqydrChhacF.png)



How it can be released?

For example, I use plugin "Modules Anywhere"

I insert code in Download Details Layout like:

{module TopDownloads-ID{cat_id}}

But in this case, I should create hundreds modules like

TopDownloads-ID2
TopDownloads-ID3
TopDownloads-ID4
TopDownloads-ID5

Each module must have setting to filter category

(http://monosnap.com/image/uy19UOTbyIaIHRxF2uvEIgfCkGMnHL.png)

I sure, if I create so many modules - site will work very slowly.

So, is there way to send category id to module setting?
If yes, I can create only one module, that will display downloads only from current category:

(http://monosnap.com/image/f6B9MTrTA43qwafxirPmcNPv6uC3EE.png)

Hope you understand my idea.  :)
Title: Re: Related downloads module.
Post by: romagromov on 31.01.2015 15:58:58
May be it possible to include new parameter "Displays downloads only from current category" in your modules.
It will be great.  :)
I'm ready to donate for this option. Don't hesitate to ask for this.
Title: Re: Related downloads module.
Post by: Arno on 04.02.2015 16:55:48
Hi,
i think this could be a useful idea.
But it is not a complete solution for you wishes.  ;D

So we should later create another solution for your idea.
But i will see what i can do for a temporary solution.  ;)
Title: Re: Related downloads module.
Post by: romagromov on 20.03.2015 09:34:13
Quote from: Arno on 04.02.2015 16:55:48
Hi,
i think this could be a useful idea.
But it is not a complete solution for you wishes.  ;D

So we should later create another solution for your idea.
But i will see what i can do for a temporary solution.  ;)

Hi, Arno!
What about temporary solution?
Do you have ideas how to do this one?
Title: Re: Related downloads module.
Post by: romagromov on 28.03.2015 12:49:07
(http://s.pikabu.ru/images/big_size_comm/2012-05_7/13384777412558.png)
Title: Re: Related downloads module.
Post by: Arno on 18.05.2015 14:36:49
Hi,
sorry that i had forget this topic.   :o

I think a module would not be the best solution. But maybe be possible with a jD plugin.  ::)
So we can use a special placeholder in the jD layouts and replaced this with the list.
But this is much work. When need you this?
Title: Re: Related downloads module.
Post by: romagromov on 18.05.2015 14:42:30
Quote from: Arno on 18.05.2015 14:36:49
Hi,
sorry that i had forget this topic.   :o

I think a module would not be the best solution. But maybe be possible with a jD plugin.  ::)
So we can use a special placeholder in the jD layouts and replaced this with the list.
But this is much work. When need you this?

Hi! I need this yesterday  ;D
Of course, I will wait.
Thanks for the reply  :)
Title: Re: Related downloads module.
Post by: Arno on 18.05.2015 14:53:50
Okay. maybe can you remind me next week?

We work in the moment on the next version. Which supported now complete the Joomla tags functionality.  ;)
Here we work on the last tests.
Title: Re: Related downloads module.
Post by: romagromov on 27.05.2015 09:43:10
Quote from: Arno on 18.05.2015 14:53:50
Okay. maybe can you remind me next week?

We work in the moment on the next version. Which supported now complete the Joomla tags functionality.  ;)
Here we work on the last tests.

Hi Arno!

You are asked to remind you about this topic  :)
Title: Re: Related downloads module.
Post by: Arno on 20.06.2015 12:15:14
Hi,
sorry for the delay.
We works currently on the new "jDownloads tree" module and on the new jDownloads "last downloaded files" module.
This should be ready in the next days together with the next jD release 3.2.34.

As next we can try to create a new module or plugin to get an output as you had it described.
Title: Re: Related downloads module.
Post by: romagromov on 15.07.2015 17:39:06
Hi Arno!
Is it possible to make it   :'(
Title: Re: Related downloads module.
Post by: Arno on 12.08.2015 00:23:19
Hi,
i think a module would not be the best way to get this.
A module must always be assigned to a menu item.  ::)

So a content plugin could this do better. In this case need we only a special part in the jD category layout or a simple placeholder.
What think you?
Title: Re: Related downloads module.
Post by: romagromov on 12.08.2015 20:16:30
Quote from: Arno on 12.08.2015 00:23:19
Hi,
i think a module would not be the best way to get this.
A module must always be assigned to a menu item.  ::)

So a content plugin could this do better. In this case need we only a special part in the jD category layout or a simple placeholder.
What think you?


Arno, there is no matter how we can do it.
The idea is to display on the download details page  a block with related items from current category, that can be configured (random items, most popular or latest).

How it can looks:

(http://monosnap.com/image/GKli5WYe7eB0AHmIIPhZDeQ5nypzS4.png)

(http://monosnap.com/image/lA3s6EBXhzLzacSJqZl76bY6BOEuww.png)

(http://monosnap.com/image/rAjgAvVBYOee4pz2xuMj9mOxV8uU4Z.png)

I think, that plugin will be better, than placeholder, but if placeholders will work in details page and summary page - it is no matter.
Title: Re: Related downloads module.
Post by: Arno on 14.08.2015 10:19:16
QuoteI think, that plugin will be better, than placeholder, but if placeholders will work in details page and summary page - it is no matter.
Okay i will see what i can do. But i can first begin with the work on it at monday or thursday.
Title: Re: Related downloads module.
Post by: Arno on 20.08.2015 18:55:28
Hi,
i have now reworked an already existing plugin to work with Downloads. But i have now problems to display the output on the wished position. So maybe is my 'plugin way' not so a good idea.  :(
Title: Re: Related downloads module.
Post by: romagromov on 20.08.2015 19:06:30
Quote from: Arno on 20.08.2015 18:55:28
Hi,
i have now reworked an already existing plugin to work with Downloads. But i have now problems to display the output on the wished position. So maybe is my 'plugin way' not so a good idea.  :(

Hmm.. I thought that easiest way is to rework modules (top, latest).
You only need to add 1 parameter - follow current category.

Or, may be it will be more easy to create placeholder. But in this way, how we can set parameters for it?
Title: Re: Related downloads module.
Post by: Arno on 20.08.2015 19:29:12
QuoteI thought that easiest way is to rework modules (top, latest).
You only need to add 1 parameter - follow current category.
Okay, I will try this.
:)
Title: Re: Related downloads module.
Post by: Arno on 21.08.2015 00:08:47
Seems that your module idea was better...
See pic with first result.
I need maybe a day to check and test it more. Then you get it to test it self.

[gelöscht durch Administrator]
Title: Re: Related downloads module.
Post by: romagromov on 21.08.2015 09:35:06
Good news  :)
Title: Re: Related downloads module.
Post by: Arno on 01.09.2015 15:27:15
Hi,
have you used it after the last update?  ;)
Title: Re: Related downloads module.
Post by: romagromov on 02.09.2015 18:43:51
Quote from: Arno on 01.09.2015 15:27:15
Hi,
have you used it after the last update?  ;)

It seems, that module works fine  :)

I use Advanced Module Manager to include module in details layout.

I only can't understand, on what basis sorting of downloads in the module?

How to set random related downloads or, for example top related downloads?

Also, how to display this module on rezume layout?

Thanks.
Title: Re: Related downloads module.
Post by: ColinM on 03.09.2015 02:14:17
Hi
The definition of Related modules are those in the same category or optionally those in the child categories as well.  I am presently writing some documentation. But some essential work has taken up a lot of my time so its a bit delayed!

Colin
Title: Re: Related downloads module.
Post by: romagromov on 03.09.2015 21:03:17
Quote from: ColinM on 03.09.2015 02:14:17
Hi
The definition of Related modules are those in the same category or optionally those in the child categories as well.  I am presently writing some documentation. But some essential work has taken up a lot of my time so its a bit delayed!

Colin


I still can't understand, how I can set to displays random downloads in related module (from those or child categories)?
How to set top related downloads?

At this time module always displays same downloads.

Which princip of sorting downloads in the module right now?
Title: Re: Related downloads module.
Post by: ColinM on 04.09.2015 13:07:35
Hi
At this time there is no facility to 'select' specific Downloads from any category to show as a "Related" Download.   That is the module automatically selects those that are classed as being related as being in the same Category as the Download currently selected, or optionally also those in the child categories down to a specified depth.

To have the ability to select individual Downloads from anywhere would mean extending the database structure to hold that list with each Download similar to the way in which preview pictures may be added to Downloads.  That in turn would mean modifications to the Upload form to allow that facility.  That is of course possible but would represent a significant level of work!  It would also mean much work by administrators to add the information to each Download.  There are of course other possible scheme by having say a named list of each set of related items and then including in the Download the name of the associated related list.  But that creates difficulties if a Download needs to be in more than one list.

So why not use Tags.  Each Download, and also each Category, can have multiple Tags.  Clicking on the Tag selects and shows all those Downloads that have same Tag.  This makes the best use of existing Joomla features.  Work might need to be done on improving the style of the tagged selection with suitable CSS.  Work is in hand in jD to include the Image and perhaps maybe at a later date the Description.  This may well be a more profitable route in terms of development effort and results.

Colin
Title: Re: Related downloads module.
Post by: romagromov on 04.09.2015 15:36:46
I absolutely agree that module automatically selects those that are classed as being related as being in the same Category as the Download currently selected.
This is absolutely correct.

But I think webmaster must have more flexible settings for this module.

(https://monosnap.com/file/ed3jZcE5RJx7U2fzNfOSHdzb0o9DmG.png)
Title: Re: Related downloads module.
Post by: Arno on 05.09.2015 11:35:18
Hi,
see the TAB 'Filter Options'. Here are some options to modify the output.

Example:
When you select here as field 'Hits' and as ordering direction: 'Descending', you get a list with the top downloads.

Some others are possible here. Only the 'randomize' and 'top rated' are current not possible.
But i will see what i can enhance here.

[gelöscht durch Administrator]
Title: Re: Related downloads module.
Post by: romagromov on 06.09.2015 14:29:23
Ah, Arno... I did not missed that tab  :D
But it will be wonderful, if you'll add  'randomize' and 'top rated' options.

How I can add this module on summary page? Thanks.
Title: Re: Related downloads module.
Post by: Arno on 06.09.2015 22:57:04
QuoteHow I can add this module on summary page?
I have not tried it. But you can test it with the placeholder in the summary layout.
Title: Re: Related downloads module.
Post by: romagromov on 07.09.2015 14:35:20
Yes, it works using Advacned Module Mananger   :D

I only wait randomize option fot this module  :)

Thanks, Arno!
Title: Re: Related downloads module.
Post by: ColinM on 09.09.2015 09:41:56
Hi
When you said
QuoteYes, it works using Advacned Module Mananger
do you mean you used the NoNumber 'modules Anywhere' plugin in the Summary page layout
or did you use the loadmodule plugin?  Would be helpful if you could send pic of your summary layout with any changes.

Thanks

Colin
Title: Re: Related downloads module.
Post by: romagromov on 09.09.2015 14:25:04
I tried loadmodule plugin - but module does not displays with this plugin.

So, I use modules Anywhere in details layout and in summary layout - it works fine.

This is my summary layout

(https://monosnap.com/file/pRWpeQ3zT6cNsC27dy8vExSEqWAST6.png)
Title: Re: Related downloads module.
Post by: ColinM on 10.09.2015 00:56:56
Hi
Thanks for update
I have written some notes
http://www.jdownloads.net/documentations/item/related-module

Colin
Title: Re: Related downloads module.
Post by: Arno on 13.09.2015 01:27:23
Hi,
i have now added 'random' in filter options.
Please copy the unzipped folder and files over the original (from 3.2.37) and test it. It will be a part from next version.

[gelöscht durch Administrator]
Title: Re: Related downloads module.
Post by: romagromov on 14.09.2015 09:24:56
Awesome  :D

Works perfect!