1
https://stackoverflow.com/questions/18448077/how-to-cache-a-php-generated-xml-file-in-joomla
An older question, but may give you a direction to consider to figure out what to add into the code generating your XML.
1
As far as I know, the SQL form field will always return the ID of an article.
So you can get the title, into text and intro image, you can use Joomla's Table class:
use Joomla\CMS\Table\Table;
$array = ['articleOne', 'articleTwo', 'articleThree', 'articleFour'];
// Loop through each array item
foreach ($array as $value)
{
$article = Table::...
1
Most form views in core components have custom Joomla.submitbutton() functions. Standard function does indeed support only adminForm as form ID. Instead you can use Joomla.submitform() and pass your form:
<button class="btn btn-primary" type="button" onclick="Joomla.submitform('controller.send', this.form)" >Send</button>
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
xml × 71joomla-3.x × 26
php × 14
module × 10
form-fields-types × 10
component × 7
jform × 7
form × 7
development × 6
joomla-2.5 × 5
extensions × 5
custom-component × 5
custom-field × 5
fields × 5
module-params × 5
overrides × 4
joomla-3.6 × 4
plugin × 3
custom-module × 3
editor × 3
joomla-3.4 × 2
templates × 2
joomla-3.3.x × 2
update × 2
multilingual × 2