Answer the question
In order to leave comments, you need to log in
How to display a plugin in a plugin in Joomla 3?
How to display a plugin in a plugin in Joomla 3? More precisely, not even the plugin itself, but the result of its work. Both plugins content.
In the content, I output it like this from the plugin:
$usd = $this->item->daily_json->Valute->USD->Value;
$eur = $this->item->daily_json->Valute->EUR->Value;
Answer the question
In order to leave comments, you need to log in
It is necessary to call the necessary event in the plugin code and pass the necessary data to it.
Factory::getApplication()->triggerEvent('event_name', ['option1'=>'option_value', 'option2'=>'option_value']);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question