How can I display a module that shows a list of articles based on filter settings? For example all articles have a custom field containing a list of research contributors and I want to display a module that shows the last 10 articles that researcher is listed on.
Support
Module Displaying Article List
Latest post by sakinho on Tuesday, 31 October 2023 14:23 EET
Hi
This has to be developed.
If you have budget for that , we can undertake it.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Cost and time?
Do you want to be able to set the filters from the module's settings as well as the articles limit OR these will be pre-set/hardcoded?
Regards,
Sakis Terzis
Founder and Lead Developer
We would need to be able to set in the module settings.
peri.umass.edu is the site we are converting from K2 back to core com_content. They have around 20 custom fields that we created to match what was in K2 extra fields.
I'm trying to replicate the right module and bottom content module. Both pull those lists from different custom field values. Well actally one of the custom fields is Research or Commentary. Those two pull based on one or the other. But if you go deeper on pages such as the researchers profiles, those modules pull off a different custom field thats a list of researcher names.
So I'm thinking a module that you set the filters in the module settings with the abilit to set what is displayed on the front end such as title, constom field values, date.
Hi
I suppose you are referring to the module named "Recent Research" in peri.umass.edu. Right?
I see that module loaded in the pages under "Research Area", which i suppose are Category pages.
I also see that under the "Economists" which has an Article for each economist.
Am i correct in the above set up description?
So your new "Recent Research" should show the 10 most recent articles, based on:
1. The page's "Research Area" (i.e. category).
2. The page's economist.
* Possibly you have to create a distinct module instance for each economist selecing a custom field filter value that represent that author.
Please let me know if i am missing something on the above description.
Also how do you assign the "Research Area" and the "authors" at each publication?
Kind regards,
Sakis Terzis
Founder and Lead Developer
You're close.
The "research area" or "commentary" are a custom field that has 3 options.
Yes the profile pages all have their own modules.
They are all the same module. It's a custom K2 filter module we wrote a few years ago for them.
Heres a screenshot of the module, that should make it a bit more clear. K2 Filter Module
Fine.
The only thing that is not clear to me, is if you want it to auto-detect the page's category and fetches articles from that category (combined with the rest set filters) OR the categories will also set in the module.
I.e. Define exactly the result set from the module.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Just the ability to set the category is needed. No need for auto detect.
Fine!
I will send you my quote later today or tomorrow.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi
Description
A module that will display a defined set of JFilters results.
The module will provide a user interface for selecting values from any of the published filters in the JFilters component.
Also there will be settings for defining the look and feel of the results.
Those settings will regard the display or not of:
- Article's Category
- Article's Author
- Article's Creation Date
- Custom Fields
* Limitations and look and feel of the custom fields will be coded directly in the layout.
Also there will be a setting for the number of results.
Ideally this module will work asynchronously. I.e. will be loaded separately to the rest of the page, to make your main page loadinf even faster. This is something i will pursue but i do not prommise it.
Time
7 days since the day i will start working on that.
Price
470 EUR
50% upfront, 50% before the delivery.
_______________________________________________________
Please let me know if want to proceed.
P.s. I made the ticket private.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Sounds good. Lets do it.
Hi
Here is the payment link: https://buy.stripe.com/00g02B6RCeSPeyY4gl
Plz proceed to the payment to add it to my schedule.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Isn't 50% of 470, 235?
Payment for 275.00 made. Leaving a balance of 195.00.
Thanks.
Sorry for that. Wrong calclation or typo.
195 EUR remaining
Regards,
Sakis
Sakis Terzis
Founder and Lead Developer
How's this coming along?
Hi
I finished the back-end and now working on the front-end.
You will possibly have it till the end of the week.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Hi
You will find the 2 extensions in the following links:
1. JFilters Package -> https://drive.google.com/file/d/1YUQ6ix2sDWoPiRq16LRhBWfr2-l9njOW/view?usp=sharing
2. JFilters Results Module -> https://drive.google.com/file/d/1onrIdsryaKKzpVbxP2iWp1gnpiFuOnfF/view?usp=sharing
You need to install both to have the 'JFilters Results Module' working properly
The settings of the 'JFilters Results Module' are pretty straight forward, but if you have any question let me know.
I did not manage to develop the asynchornous loading feature in that timeframe, but it is in my plans for the next releases (possibly will be included in the JFilters package).
Also the results layout does inlude custom fields. If you want to display custom fields or do any change, it has to be done with template overrides.
Let me know if you face any issue or you have any suggestion.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Looks good so far.
One thing that would be nice addition is a setting (on/off) for "Read More" that links to the full list of items.
Send an invoice for the 195 balance.
Here is the payment link for the 2nd payment:
https://buy.stripe.com/7sI3eNa3OeSP0I85kq
One thing that would be nice addition is a setting (on/off) for "Read More" that links to the full list of items.
Its doable, although the title is a link and maybe look reduntant.
Kind regards,
Sakis Terzis
Founder and Lead Developer
I should have been a little more clear. Not under the items. I meant at the very bottom of the module so if you display 10 but there are 200 you can view more (paginated).
For example the module on the right side of this page: https://peri.umass.edu/economists/gerald-epstein
That's an old JA K2 Filter that was forked to add an option to display the link along with a text field so you could set the text of the link.
Hi
I see what you mean. It's an interesting suggestion.
I also though the addition of a scrollbar after some point.
Will consider these for the next releases.
Kind regards,
Sakis Terzis
Founder and Lead Developer
Btw. May i share your website in our social media, once it's ready, to showcase the new JFilters Results module?
Kind regards,
Sakis Terzis
Founder and Lead Developer
Sure. I'm not sure when it will be finished. Still a lot of sort out.
Fine!
After all, if you don't mind, you can leave a small review in the JED.
https://extensions.joomla.org/extension/jfilters/
It really matters for us and our users.
Kind regards,
Sakis Terzis
Founder and Lead Developer
I added the option for a read more link and the ability to set the text for it in the settings. Here it is if you want it:
https://www.dropbox.com/scl/fi/px3901a0v9g9di9isjqgy/mod_jfilters_results_readmore.zip?rlkey=00jwswbeurzs1gabja1g6en2e&dl=0
Hi
Thanks for sharing it!
I will check it.
Kind regards
Sakis Terzis
Founder and Lead Developer