Last post June 2019 - WTF? Have I been asleep or just dreaming?

Truth is I haven't done any Joomla development since last June, and what time I have spent messing about with code has been more to do with configuring and organising tools used by other groups.

This has involved a bit of tinkering with two new-to-me systems - Discourse forum software and Nextcloud cloud storage. Both are written using large chunks of modern stuff I don't really understand and don't really want to get to grips with. Both are also tricky to hack around with as they require compiling, and in the case of Nextcloud which does at least have a php core it is very locked down - so it detects if any files have changed since it was compiled and barfs - often fatally.

Still I have managed to produce some 'Theme Components' for discourse, and do a fair bit of CSS based customisation for Nextcloud both of which I might get round to writing about.

Actually I used to have an OwnCloud instance running on a hard drive attached to my dsl modem/router for sharing files between devices in the house, and Nextcloud is built on Owncloud and so I have installed my own version on my web host.

And that's another thing that has eaten time over the past months - I finally decided to migrate away from TsoHost for webhosting and get myself a VPS package which gives a lot more flexibility - at the expense of having to brush up my very rusty Linux sysadmin skills. Possibly something else to write about.


There is (as of Joomla 3.9...) an annoying bug in Joomla core with the JHtml Helper function TruncString()

This bug was reported in j2.5 and still hasn't been fixed.
If the truncate point is between a tag pair, then string.truncate closes the hanging tag but puts the ellipsis after the tag closure. 


So following on from last week's post here are the steps I have taken to improve the appearance of the tags section for articles on the website.

For this particular site all of the article info - dates, categories, related links, tags, author, and field data - is placed in boxes at the bottom of the article. (see example here). The tags are organised in a hierarchy with the top level being equivalent to a category for the tags beneath it.

Tags for articles in Joomla are a very useful feature, but for me there are several limitations in the way they are currently implemented and displayed. In this sequence of posts I am going to discussing tagging and present my solutions to some of the issues I have found. While some issues can be improved with straightforward template over-rides of view and layout files, many require modification to either model or forms.