Thanks @webdongle but that particular page is for Joomla 4, and I need to do more than establish a single one-off connection. I need to ensure that every time the model makes a database call, it uses the external connection.
In J4 it is possible to ensure the connection used by the base model, namely $this->__db, is set up when my (high level) model is constructed. I'm hoping someone can explain how to do this in J5.
In J4 it is possible to ensure the connection used by the base model, namely $this->__db, is set up when my (high level) model is constructed. I'm hoping someone can explain how to do this in J5.
Statistics: Posted by CharlieBigley — Thu Aug 22, 2024 7:45 am