List articles in current category or sub-pages

marq_104 , December 08 2022, 14:34
M
marq_104 23
December 08 2022, 14:34 #388
Greetings,
How do i list articles in current category only without selecting a specific category and/or only list sub-pages?
That way I can add module to all pages and it would create a grid automatically, basically a glorified sub-menu.

Thanks
marco 467
December 09 2022, 11:29 #392
Hi marq_104
This is not yet possible, Exposer does not offer such a functionality - BUT it might be possible to integrate such a feature in the upcoming minor release.
So Exposer would then been placed on an article's site and shows all "related Articles" (Articles of the same Category as the current article). Or will it been placed on a Category Page?
I'll keep you informed in this Post.
Kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
M
marq_104 23
December 09 2022, 11:48 #393
Here's a simple site I'm working on: https://upgrade.e-pms.de/
(Exposure is the nice looking centered module above the green footer.)
I'm no programmer but a filter like ->this CatID comes to mind.
That should list all articles in the category of the currently viewed article.
(The module already has settings for category depth)
I'm not sure if ArticleLibrary would be the better choice.
Thanks!
M
marq_104 23
January 05 2023, 23:18 #396
Greetings,
This is the solution I'm looking for.
It's implemented in Joomla4.
Just saw it in this video (starting a place that should interest you) here: https://youtube.com/watch?v=LQ4porploIM&si=EnSIkaIECMiOmarE&t=382
He sets the module mode from normal to dynamic which causes pages from current category to be listed, no matter the category.
No longer do we have to create copies of the module for each category.
I really hope you can update the Exposure module to do just that or to have both options.
Wishing you much success in 2023!

Mark
M
marq_104 23
January 06 2023, 01:28 #397
Apparently, this is not new to Joomla 4.
https://docs.joomla.org/Help310:Extensions_Module_Manager_Articles_Category
marco 467
January 06 2023, 13:22 #398
Hi Mark
yep, i know - i've already wrote a similar feature for OrielPro Gallery. I am currently in the middle of exam preparations and my term paper. So unfortunately I can only develop an update for Exposer in a few weeks.
I'll keep you updated.
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
M
marq_104 23
January 06 2023, 14:38 #399
I'm reluctantly trying to figure how to get the Joomla dynamic switch copied to yours.
If I succeed before you can do the following, I'll let you know.

Can I see/download the OrielPro gallery to see what you did?
I promise I will NOT use the gallery on any site.
Or you could send me the code portion:)
Good luck on your exams!!!
M
marcorensch 19
January 06 2023, 18:37 #400
hi mark thanks!
in fact its not that hard i‘m currently not at home and can’t guide you trough i‘ll write you tomorrow about the steps in detail. but it should be possible with an additional method that gets the current article item and returns its category id. then you only need to use this id in the getItems method in place of the selected ones from the module settings. all i side the helper php…
M
marq_104 23
January 09 2023, 17:19 #401
have a look at the back-end form for the article_category module if it helps.
If you implement this feature in your other modules, you'll become a champion!
marco 467
January 10 2023, 10:50 #402
Hi Mark
Sorry for the long waiting. In the meantime i've created a new Beta Release (1.8.0) which includes dynamic article category mode. If placed inside a Joomla! Article and setted up the Dynamic Mode the Module checks for the current article's Category ID and uses it as filter for the Articles to load.
You can download this BETA Release from within your Downloadcenter here on nx-designs.
Please give me feedback on how it works i've done just a few quick tests for this release.
kind regards
MarcoBildschirmfoto_2023-01-10_um_11.49.29.png
Attachments
Bildschirmfoto_2023-01-10_um_11.49.29.png
(146.99 KiB)
4 Downloads/Views
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
M
marq_104 23
January 10 2023, 19:42 #403
FABULOUS!!!!
I installed it without first uninstalling the previous one and it seems to have updated just fine, carrying over my settings.
Thanks also for the default image. (I may have simply overlooked that if it was in the previous version)
Here's the site I'm using it on: https://upgrade4.zpmswl.de/
I disabled the modules from the previous version, so these are all created from the beta version:)
I'll let you know if I find any kinks.
I first heard about 'dynamic' mode on this Youtube channel: https://youtube.com/watch?v=LQ4porploIM
We've been exchanging comments and I just asked him to look at your module.
I really hope he promotes it.
Again, thanks a LOT.