@kenmcd
Of course I can do some testing or whatever I can do to help you; let me know! Just saw that my answer looked very passive .... But I am willing to put some time in, just can't write code.
cheers
Progress so far:
- added the Categories/Sub-Categories and Listings sub-headings.
- added strings to the language file for translation.
- added switches to the Registry to enable the user to turn-off these sub-heading displays.
Seems to work properly with the SOBI2 cache.
After doing the above changes, I set this aside to work on some other issues.
Still need to either add text such as "there are no listings in this category" or
simply make the sub-headings not display on those pages.
Or a combination of the two.
From a usability perspective I think the text "there are no listings in this category"
is better because it is a positive display which is unambiguous.
Simply leaving a blank is not as helpful to an end-user.
It might even be better to have "there are xx listings in this category" and always display this text.
While doing this I got to thinking about doing future SOBI upgrades and what a PITA it will
be to always have to merge these basic usability hacks over and over for every update.
And there are other things I would like to change or move on the mainpage/category pages.
So I am looking at moving this all to a custom function which would be easier to maintain.
This way it may even be possible to have a Mainpage/Category View Template.
But this will take more time to learn more, etc., etc.
As I said before, I am just learning PHP so it takes me longer than if I knew PHP well and SOBI2 itself well.
After I finally got a handle on how SOBI2 is constructing the pages and added the sub-headings
it made me wonder why this is has been such a big deal.
Someone who knew both PHP and SOBI2 well could have done in hours what took me days.