You only stored the event id so no you can't without doing a query to get the title.with [cb_marketevents] being a GJ event id.
Can I get directly the corresponding GJ event title in the above json without going with a SQL request as it's CB part and how ?
As it's PHP you can do whatever PHP code you need to do. Then just be sure to return an array or object in your code with the latest CB Auto Actions build and it'll serialize to JSON for you. A query action only ever outputs a string result of the first row and column so it won't really work unless you handle creating a JSON string in the query. Have added a feature ticket to see if I can make it a little smarter since CB Auto Actions can handle array and object output now.For other joomla components, if I want to use CB API and auto actions to get DB table values, I guess that I have to go through a mySQL standard request in the PHP code ? or can I use the query auto actions to output something also in raw or json format ?
Please Log in or Create an account to join the conversation.
You only stored the event id so no you can't without doing a query to get the title.
Please Log in or Create an account to join the conversation.
It's because this release stopped duplicating the library files. Our old library usage copied the plugin library files to a main library folder for the autoloader to pick up. CB Auto Actions now just extends the auto loader instead of making a copy. This will cause first install to possible fail if CB Auto Actions is already loaded before installing. Second install will clear it up fine.Maybe just an standard server error from our side, it reinstalled very well at third trial; sorry ...
I suppose you could add a query field for that yes. I'd just do it in the PHP though. You've access to CBs API including CBs super global database object. Example as follows.So I may just add a second CB query field to store the title depending on the [cb_marketevents] first query field ?
Is this that simple ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.