CrOsborne Blog

RogerCO's TechieTalk

Musings from a life working with cameras,
electronics, computers and code

TPL_PROTOSTAR_TOGGLE_MENU
  • Welcome
  • Blog Home
  • About
  • Links
  • CrOsborne

Using Joomla Subforms for Many-Many link tables

Expired

The Joomla subform field type has many uses. For xbBooks and related components I needed to populate a link table joining books and people (people may be authors, editors, mentioned in a book, or fictional characters in a book). Since a person may take on more than one role for a particular book, or between books, the link table needs to have an additional field to hold what role the link represents as well as the two id fields: book_id and person_id.

From the admin point of view the user needs to either be able to specify who the author(s) (a book may have several authors) are when creating/editing the book entry, or be able to specify what books the person is associated with when creating/editing the person entry.

Subfrom fields make this a doddle.

Tags:
Coding:
coding
Joomla:
Joomla
Php:
php
Xbbooks:
xbbooks

Read more … Using Joomla Subforms for Many-Many link tables

Developing new Joomla Components

Expired

So since the last post here I have spend most of my tech-time working on a suite of new Joomla Components to replace the flat-file catalogue of books and films that I have read or seen which exists only on my ageing Macbook using a no-longer-supported (or compatible with the latest macos) database app called Bento.

 

Tags:
Joomla:
Joomla

Read more … Developing new Joomla Components

Where did that year go

Expired

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.

 

TruncString Joomla bug

Expired

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 https://forum.joomla.org/viewtopic.php?t=679547 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. 

Tags:
Joomla:
Joomla

Read more … TruncString Joomla bug

  1. Tags Layout for Article Info
  2. of Tags in Joomla

Page 8 of 12

  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  1. You are here:  
  2. Home
  • April 2025
    • Joomla subForm Field improvements
  • January 2025
    • J5 stupid default password restrictions
  • December 2024
    • Pimping up Joomla/CMS/Language/Text
  • November 2024
    • Assigning Tags to Items Programatically
  • July 2024
    • StarLiteV First Impressions
  • June 2024
    • Creating Tags Programatically in J5
    • Waiting For StarLabs like Waiting fort Godot
  • March 2024
    • Link Hinting Update
  • August 2023
    • Getting Rid of those pesky 0000-00-00 Dates
  • February 2023
    • Modals with double backdrops - Solved!
  • December 2022
    • A Preview facility for Joomla Component Admin pages
    • Link Hinting Revisited
  • November 2022
    • J3->4 row-fluid and row
    • Joomla Cats'n'Tags
    • Joomla Tag Groups
  • October 2022
    • Joomla extendWhere() issue
  • June 2022
    • of Luminance, Lightness and Brightness
  • May 2022
    • Height of Modal Popup in Component
    • Improving link to anchor action
    • Uninstalling Overlapping Packages
  • March 2022
    • Creating Joomla Tags Programatically
    • Off site links and target hinting
  • February 2022
    • Joomla Package Install Scripts
  • September 2021
    • Joomla Form Field Showon quirk
  • April 2021
    • A Note on Browser Compatibility
  • March 2021
    • Spacing in Joomla Toolbar
  • February 2021
    • Points on the Scale
  • November 2020
    • Using Tags in a Component
  • September 2020
    • Using Joomla Subforms for Many-Many link tables
  • August 2020
    • Developing new Joomla Components
  • May 2020
    • Where did that year go
  • June 2019
    • TruncString Joomla bug
  • January 2019
    • of Tags in Joomla
    • Tags Layout for Article Info
  • June 2018
    • PD-Addon Component development
  • March 2018
    • Min and Max responsive font size CSS
  • June 2015
    • Anything over a mouthful is wasted
  • November 2014
    • A Rant at Apple
  • October 2014
    • HTML File Input Formatting
  • September 2014
    • Wireless EEG using Emotiv and EasyCap
  • August 2014
    • Displaying 3D Stereo Images
    • Facebook Events on a Joomla Site
    • From Slide Rule to Calculator
    • Rainy Sunday Timezones
  • January 2011
    • History
    • Welcome to Roger's Techie Talk
  • Joomla
  • php
  • coding
  • j5
  • VB.NET
  • override
  • template
  • admin
  • Joomla subForm Field improvements
  • J5 stupid default password restrictions
  • Pimping up Joomla/CMS/Language/Text
  • Assigning Tags to Items Programatically
  • StarLiteV First Impressions
  • Waiting For StarLabs like Waiting fort Godot
  • Joomla! Community
  • Joomla! Leadership Blog
  • MacRumours
  • Stack Overflow
  • Joomla Tag Groups
  • Welcome to Roger's Techie Talk
  • Facebook Events on a Joomla Site
  • Anything over a mouthful is wasted
  • HTML File Input Formatting
My Blog

Back to Top

© 2025 CrOsborne Blog