I have a custom module that allows administrators to create their own tokens that are then used to display their values via an HTML module.
The tokens are being created properly and are being written to the database into a table installed with the custom module - dbo.IMUK_TokenRates_Tokens.
I know that it is possible for a Database Query to be used as the data source in the token syntax, but I do not know what form this should take.
Can anyone tell me how I get the datasource section of my token to access the right table so I can pick up the token value?
[datasource:token]
[database query:token]