Keyword

Related by Tags

  • JPACK
  • JPACK's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 8 months ago #131818 by JPACK
Related by Tags was created by JPACK
Hi,

Can someone tell me how the build in "Related by Tags" function in K2 works?

Is it enough if just one tag is the same?
Can it be setup so fx. X tags must be the same before it is marked as related?

Cheers,

Please Log in or Create an account to join the conversation.

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
10 years 8 months ago #131819 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Re: Related by Tags
AFAIK, it is enough if just one tage is the same, and there is no setup for X tags must be the same before it is marked as related.

I think this functionality, specifying a number of tags to mark them as related, can be done by customizing the related module.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago - 10 years 8 months ago #131820 by Mr_Anonymous
Replied by Mr_Anonymous on topic Re: Related by Tags
On that note, if the articles have many matching tags (say some articles has 3 matching tags, some has 4-5,etc..), then when displaying the articles in related section, would it then sort the articles based on the order of most number of tags matching to least number of matching tags? Or is it sorted based on publish date of the related articles or something else?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 8 months ago #131821 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Related by Tags
The articles are being sorted by their creation date.

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #131822 by Mr_Anonymous
Replied by Mr_Anonymous on topic Re: Related by Tags
Thanks Krikor. So does it mean that it will show an article first (if the creation is first) even if only 1 tag is matching while the other articles that have more matching tags will still wont be prioritized? Isnt it better to list the articles based on the most number of matching tags? If it only need to match 1 tag and if its based on creation date for the list, then there could be cases that a lot of articles should have the same lists as related articles and the more relevant articles (the ones with more matching tags) will be hidden if their creation date is cant be fit in that order.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 8 months ago #131823 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Related by Tags
Yes.

It blocks "that item from 2009 is appearing under my new items (you know the rest)" error.

The rest of your post sounds like a really nice and valid feature request for version 3.

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #131824 by Mr_Anonymous
Replied by Mr_Anonymous on topic Re: Related by Tags
Thanks Krikor. I have posted my request for version 3:

github.com/joomlaworks/k2-v3-dev-build/issues/57

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 8 months ago #131825 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Related by Tags
Thanks mate.

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago - 10 years 7 months ago #131826 by Mr_Anonymous
Replied by Mr_Anonymous on topic Re: Related by Tags
@Krikor: Kavadas's suggestion was to perhaps add an ordering option for Related items similar to K2 content module. This could be added to version 3. Pretty neat idea huh? I am happy with that. :)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #131827 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Related by Tags
Yeap, I read Lefteri's suggestion and its a nice one and I personally feel users will love it.

Please Log in or Create an account to join the conversation.

  • JPACK
  • JPACK's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 7 months ago #131828 by JPACK
Replied by JPACK on topic Re: Related by Tags
Hi,
First of all - thanks for the answer to my question.

Personally I think the whole ”related article” function is not flexible enough. This is not just for K2, but also standard Joomla.

In my world related articles is not just about tags. We are also talking about category, creation date, time frame, hits, voting, author, etc. I would love to be able to combine all these options to get my related articles.

Example: I want to see all articles with minimum 2 matching tags, but only from the categories “Living” and “Sport” and the articles cannot be older than 1 year.

or

Articles with any matching tags, any category, but minimum 1000 hits the last month from author X.

I might be wrong, but I haven´t seen any components/modules/plugins that can do this – or just a nice part of it.

In my case I would need it for K2. If you know of any add-ons that can do this, please let me know.

Cheers,

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #131829 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Related by Tags
Hello,

Tags should be the same. Even one should do the trick.
After that, the most recent items are being pulled and shown.

Please Log in or Create an account to join the conversation.

  • JPACK
  • JPACK's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 7 months ago #131830 by JPACK
Replied by JPACK on topic Re: Related by Tags
How can I change it so K2 choose random items instead of recent items?

Anybody who have changed the code so it works?

Cheers,

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #131831 by Mr_Anonymous
Replied by Mr_Anonymous on topic Re: Related by Tags
This feature might be added to Version 3.

Please Log in or Create an account to join the conversation.

  • JPACK
  • JPACK's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 7 months ago #131832 by JPACK
Replied by JPACK on topic Re: Related by Tags
Yes, I have also read that, but I was thinking about the current version.

Anybody who already managed to implement this in version 2.6.x?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #131833 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Related by Tags
There are K2 related content extensions.
You can look for one at the JED or here: getk2.org/extend

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum