Render All Joomla! 4 Standard Form Fields using a article layout override. To make it work, you can put this the j4xall.php file at this location:
JPATH_ROOT/templates/cassopeia/html/com_content/article/j4xall.php
<?php | |
declare(strict_types=1); | |
// final associative array to json_encode | |
$output = []; | |
// root level array keys | |
$keys_0_min = 1; | |
$keys_0_max = 10; | |
$keys_0 = []; |
<label for="demo">Demo</label> | |
<select id="demo" name="demo"> | |
<?php array_unshift($this->myExampleOptionsArray, null); ?> | |
<?php echo HTMLHelper::_('select.options', $this->myExampleOptionsArray, 'value', 'text', $this->selectedOptionValue ?? '');?> | |
</select> |
[xdebug] | |
zend_extension=/usr/lib/php/20190902/xdebug.so | |
xdebug.mode=debug | |
xdebug.start_with_request=yes | |
xdebug.start_upon_error=yes | |
xdebug.trigger_value=yes | |
xdebug.client_host=127.0.0.1 | |
xdebug.client_port=9003 | |
xdebug.connect_timeout_ms=30000 | |
xdebug.force_display_errors=0 |
#!/usr/bin/env php | |
<?php | |
/** | |
* This php script attempts to replace wildcard IPv4 address in Nginx sites-available/*.conf files | |
* by the loopback address 127.0.0.1 to try to prevent access of your local dev environment by Internet | |
* when listening to all network interface like *:80 or *:443 does. * means listen to all available network | |
* interfaces and this script tries to restrict use to loopback only. | |
* | |
* NOTE: If you have multiple wildcard IPv4 address in your conf files at the moment of writing this script it | |
* doesn't handle yet this edge case correctly. It just replaces all the wildcard addresses rather than having just one occurence of 127.0.0.1 you will have multiple ones which can cause "address already in use" errors while restart Nginx. Please keep that in mind. You can improve this script at will. It's a first attempt. Hope it helps someone. |
<?php | |
/** | |
* Tiny hungry foodie php script | |
* | |
* @package tinyhungryfoodie | |
* @author Mr Alexandre J-S William ELISÉ <[email protected]> | |
* @copyright (c) 2009 - present . Mr Alexandre J-S William ELISÉ . Tous droits réservés. | |
* @license MIT | |
* @link https://apiadept.com | |
*/ |
/** | |
* Tiny hungry foodie c script | |
* | |
* @package tinyhungryfoodie | |
* @author Mr Alexandre J-S William ELISÉ <[email protected]> | |
* @copyright (c) 2009 - present . Mr Alexandre J-S William ELISÉ . Tous droits réservés. | |
* @license MIT | |
* @link https://apiadept.com | |
*/ | |
#include <stdio.h> |
/** | |
* Tiny hungry foodie kotlin script | |
* | |
* @package tinyhungryfoodie | |
* @author Mr Alexandre J-S William ELISÉ <[email protected]> | |
* @copyright (c) 2009 - present . Mr Alexandre J-S William ELISÉ . Tous droits réservés. | |
* @license MIT | |
* @link https://apiadept.com | |
*/ | |
fun main() { |
/** | |
* Tiny hungry foodie swift script | |
* | |
* @package tinyhungryfoodie | |
* @author Mr Alexandre J-S William ELISÉ <[email protected]> | |
* @copyright (c) 2009 - present . Mr Alexandre J-S William ELISÉ . Tous droits réservés. | |
* @license MIT | |
* @link https://apiadept.com | |
*/ | |
var food: String? = "water" |