?
avatar AndySDH
AndySDH
5 Sep 2017

Similar to how there are Custom Field Types for "List of Images", "User" or "User Groups", a very useful addition could be the ability to choose from a "List of Articles" as another Custom Field Type.

This would allow to create correlations between Articles in different Categories, essentially making Categories act like different "Content Types/Database Tables". Let me make a generic example:

We have two Categories:

  • Companies, containing several Companies as individual articles
  • People, containing people as individual articles

If I wanted to create a Custom Field to list all the People that are part of the companies in the Companies Category, right now I would have to create a List Field and I would have to type in the values all the names of the People again, despite me already having the People articles in the People Category.

With a List of Articles Custom Field, you could simply create a List field that pulls values from Artcles contained in a certain category, in this case "People". (and also allows to select multiple values, not just one)

This would pratically allow to intertwine/correlate articles between each others.

In addition, when displaying the List of Articles in the frontend, those Articles would be hyperlinked, linking to the respective Article.

So, in the frontend, when showing the "List of Articles" Custom Field named "People" in a Company page, each person name (Article Title) would be hyperlinked to the respective Article from the People Category.

I don't have the technical skills to do a PR, but I thought of this idea so I wanted to bring it up in case you would like to implement it. What do you think?

avatar AndySDH AndySDH - open - 5 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - change - 5 Sep 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Sep 2017
avatar AndySDH AndySDH - change - 5 Sep 2017
The description was changed
avatar AndySDH AndySDH - edited - 5 Sep 2017
avatar AndySDH AndySDH - change - 5 Sep 2017
The description was changed
avatar AndySDH AndySDH - edited - 5 Sep 2017
avatar AndySDH AndySDH - change - 5 Sep 2017
The description was changed
avatar AndySDH AndySDH - edited - 5 Sep 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Sep 2017
Category com_fields Feature Request
avatar laoneo
laoneo - comment - 5 Sep 2017

We have that in DPFields 2.0 already https://github.com/Digital-Peak/DPFields. Don't know if this should be part of the core or the job of extensions.

avatar AndySDH
AndySDH - comment - 5 Sep 2017

We have that in DPFields 2.0 already https://github.com/Digital-Peak/DPFields. Don't know if this should be part of the core or the job of extensions.

Not sure. Your documentation is outdated though, and it says "built on top of Joomla's custom fields" but then it looks like it's a completely separate extension not using Joomla custom fields?

avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Sep 2017
Status New Discussion
avatar AndySDH
AndySDH - comment - 13 Sep 2017

@laoneo May you please elaborate on how you "already have that" in DPFields 2.0 as your documentation is not updated?
Otherwise, any other comment on possible implementation in the Joomla core? I think it would be an incredibly useful feature.

avatar laoneo
laoneo - comment - 13 Sep 2017

We have an article custom fields. You can choose an article from a list of articles which will then be displayed as a second article.

avatar AndySDH
AndySDH - comment - 13 Sep 2017

Ah, I see, although it's not exactly the same thing...

avatar AndySDH
AndySDH - comment - 19 Sep 2017

Any update on this if it's considered a good idea or if it will never happen?

avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Sep 2017
Status Discussion Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Sep 2017

@AndySDH i have set the Status on "Information Required"

avatar bindi266
bindi266 - comment - 25 Sep 2017

hello i see So, in the frontend, when showing the "List of Articles" Custom Field named "People" in a Company page. each person name (Article Title) would be hyperlinked to the respective Article from the People Category.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17876.

avatar AndySDH
AndySDH - comment - 28 Sep 2017

The advantage here is that you would be able to actually intertwine with existing articles from another category. The idea is similar to having two separate mysql tables. Think of wanting to reproduce a situation where you have for example:

A Category called "CMS" that includes these articles and has profiles for each CMS.

  • Joomla
  • Wordpress
  • Drupal
  • ...dozens of CMS.......

A Category called "Extensions Developers" that includes these articles and has profiles for each developer.

  • Regular Labs
  • Joomla Dev1
  • Joomla Dev2
  • RandomWordpressDeveloper
  • DrupalDev
  • ...hundreds of developers....

Now, with a Custom Field of this new type "List of Articles" (we will give it a name of "extensions-developers"), assigned to articles included in the category "CMS", I would be able to select from articles included in a certain category, in this case from category "Extensions Developers". Essentially, I would then be able to go in the "Joomla" article inside CMS category, go the Custom Field "extensions-developers", and select "Regular Labs", "Joomla Dev1", "Joomla Dev2", picking right from the articles of the "Extensions Developers" category.

In the frontend, when visiting the article "Joomla" (CMS category) and display that Custom Field "extensions-developers", you would then see something like:

As you can see, the Article Titles are hyperlinked and they link to the respective articles from the Extensions Developers category.

avatar brianteeman
brianteeman - comment - 28 Sep 2017

Nothing wrong with the idea but it needs someone to write it

avatar AndySDH
AndySDH - comment - 28 Sep 2017

I'll patiently (but anxiously) wait for it haha. Thanks for the reply, glad you think it's a good idea.

avatar franz-wohlkoenig franz-wohlkoenig - change - 29 Sep 2017
Status Information Required Discussion
avatar AndySDH
AndySDH - comment - 29 Sep 2017

Stop the presses, @regularlabs is writing it and working on it ?

avatar brianteeman brianteeman - change - 7 Oct 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-10-07 09:32:01
Closed_By brianteeman
avatar brianteeman brianteeman - close - 7 Oct 2017

Add a Comment

Login with GitHub to post a comment