A long time ago, I wrote a blog post sharing how to take the Articles Categories Joomla module and turn it into a dropdown field with options that, when clicked, would open a specific category's listing or blog page. A user requested the ability to do something similar to the Articles Category module, and I've written up the following code to handle the job.
If you are comfortable making core hacks to Joomla (or doing them right via a template overide), you'll want to replace the code in /modules/mod_articles_category/tmpl/default.php with my code below:
There are some caveats to my modified module:
- This code comes with no warranties or any kind. Use it at your own risk.
- In the module settings, you can choose whether the title is linkable or not. My new code assumes this is always the case (otherwise... how can you click to navigate to an article?).
- This modified module should respect groupings, and allow several dropdowns to get created if grouping is enabled, but this is untested.
- My module should also respect hits, author and published date, but that's a lot of information to cram into a dropdown box, and it may not all fit in a way that will look attractive.
I hope you find this useful!