Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: seadhna on April 22, 2014, 16:50:17

Title: module to display all articles with the same tag?
Post by: seadhna on April 22, 2014, 16:50:17
Hi there,
there is a module: mod_articles, where articles can be displayed from a particular category or the most recent overall - but is there any module to display articles with a particular tag? i.e. to enable 'related articles' module.
Title: Re: module to display all articles with the same tag?
Post by: datahell on April 22, 2014, 19:25:29
A "related" module is a good idea but not for tags as in tags page you already see related articles...
The best option is to detect current category (ELXIS_CATID) or article (ELXIS_ARTID) and display related items. I can also expand it for articles from component Mikro.
Title: Re: module to display all articles with the same tag?
Post by: seadhna on April 22, 2014, 20:31:40
Hi datahell,
the tags page is great but what would be very useful is to display 'related articles' or 'by the same author' (for commentaries), on the same page as the article, rather than having to link to a tags page - there is no module that allows this at present?
Title: Re: module to display all articles with the same tag?
Post by: datahell on April 22, 2014, 21:20:54
No, there is no such module. I will built it when I find some time.

Related articles from the same author are not related items.
Related items should be generated based on their keywords or tags similarity, independently from category, author, or any other parameter.
Title: Re: module to display all articles with the same tag?
Post by: seadhna on April 23, 2014, 13:46:11
That would be great! Yes - I'm thinking that a 'related articles' module could function as a 'by the same author' module also - if the 'related' tag is the author's name...
Title: Re: module to display all articles with the same tag?
Post by: datahell on April 23, 2014, 14:55:10
If I post an article about "oranges" and an other one about "space shuttles" how these articles are related???? Because they are from the same author?
This is totally wrong. If you want to display articles from the same author this is not related articles but something else.
Title: Re: module to display all articles with the same tag?
Post by: seadhna on April 23, 2014, 16:55:43
Hi again, what I meant is that if there is a module that works by displaying articles with the same tag, this module could be used to display 'related articles' OR 'articles by the same author'.
Title: Re: module to display all articles with the same tag?
Post by: seadhna on January 29, 2021, 15:42:48
Hi datahell,
just wondering if this is possible yet with any module or plugin: to display links to other articles with a specific tag? (the only way I can see at present to display articles with a particular tag is to link to the tag page, but this means the content is on a different page)
Title: Re: module to display all articles with the same tag?
Post by: seadhna on January 31, 2021, 16:12:34
The relation key is great. The reason I ask about tags is because an article can only have one relation key. This can be used for "Further reading". However, it would be extremely useful to be able to display via a module: articles (with images and dates) that have tag X AND tag Y. This would really increase the usefulness of tags.


Title: Re: module to display all articles with the same tag?
Post by: seadhna on February 01, 2021, 15:24:37
Or if it's not possible to show a list of all articles with tag X and tag Y, perhaps it's possible using a module to display all articles with tag X and relation key Y?
It would be great if there is any possible way to make use of tags to display links to other articles within an article. Providing a link to a tag page is not a great solution.
It would be much better if there could be a possibility of using the 'articles' or 'superarticles' modules if that makes sense?
Title: Re: module to display all articles with the same tag?
Post by: datahell on February 03, 2021, 19:28:46
So, you want to set a tag (META keyword actually) and list the articles with the same meta key? Or you want dynamically to display articles related or similar to the one the user currently sees? How you want this module to look like? Like the standard Articles module or display the articles in a more compact list like Latest articles (https://www.elxis.net/edc/content/8.html) module?
Title: Re: module to display all articles with the same tag?
Post by: seadhna on February 04, 2021, 15:14:25
Hi datahell!,
hero member Nikos thinks he might be able to create a module this weekend! and make it available in the Download Center after testing.

But to answer your question - for me the perfect solution to really increase the value of keywords and the power of Elxis would be if the 'Articles' module increased its parameters.
Currently we have there the super-useful ability to select a 'Relation Key' - but what would be awesome would be if we could also choose a KEYWORD, and we could choose:

RELATION KEY: leave blank or select one
META KEYWORD: leave blank or type one

Then, choose AND/OR. In my personal situation for example, it would be ideal to be able to say: only show articles with RELATION KEY X AND META KEYWORD Y. (Article must have both to be displayed).
This would allow all sorts of powerful cross-referencing to give almost unlimited possibilities.

Consider the following situation as an example:
there are 194 articles in a category called COUNTRIES - one for each country in the world.
there are 1000 articles in a category called OUR WORK. Each of these articles has a relation key of the type of work, e.g. "building houses", "educating children", "agriculture".

On each country page, imagine we want to show (with an articles module) "Our work in this country" - we can't use relation key, because that is already used for type of work.
But if we could use tags, then this is possible - each article could be tagged with a country name.

And if we can choose a RELATION KEY and a META KEYWORD, then we could display a listing of e.g. "Our work building housese in this country". Suddenly we can have amazing database power just by adding a tag to an article :-)
Title: Re: module to display all articles with the same tag?
Post by: nikos on February 04, 2021, 21:02:16
Hi datahell!,
hero member Nikos thinks he might be able to create a module this weekend! and make it available in the Download Center after testing.

...

@Seadhna I said you that I could create it (free for all) when I will have free time some weekend, not this weekend.
Title: Re: module to display all articles with the same tag?
Post by: seadhna on February 05, 2021, 15:48:27
ah, apologies Nikos for the misunderstanding.
Title: Re: module to display all articles with the same tag?
Post by: seadhna on May 04, 2021, 16:10:42
Hi Nikos,
I hope you're well. Just wondering if you ever figured out how to do this? display articles with a certain tag or with a specific tag/relation key combination?
This would really increase the power of Elxis a lot :-)
Title: Re: module to display all articles with the same tag?
Post by: seadhna on May 04, 2021, 16:16:21
datahell, when I re-read all these messages, I don't think I explained very well my idea of "by the same author". You are correct that an author can write two articles about completely different topics; but sometimes users can be interested to see what else an author has written; e.g. a newspaper website will usually have a page for each writer: eg. https://www.theguardian.com/profile/patrick-greenfield
And you can see all the articles written by that author. Many newspapers will have an element on each article "Also by the same author" and list a few articles.... If readers like a particular author, this can be useful. I hope that explains better. This is just one little example of a use for a module that uses tags. The main idea I personally would find useful would be to list in an attractive way (with images): Our work in this country.... and to be able to show other articles tagged as a specific country would be amazing; rather than having to do this manually for every country...