code custom in cc6

Access specific database items in a custom code event in ChronoForms.

Overview

The user needed to retrieve specific data items from a database query result stored in an array.
To access the data, use the correct template placeholder syntax, referencing the path to the data within the stored array.

Answered
Connectivity v6
ra rafaelscouto 25 Nov, 2020
I'm using a custom code to get some data from the database, it's working normally, I used this:

$this->data['list_array'] = $list_array;

now i need to know how i can access some items from the database, for example, use the switch.

What is the correct way to use it?
Max_admin Max_admin 27 Nov, 2020
Answer
if the data is under the data array then you can use:
{data:path.to.data}
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.