Anyone can explain me how to use this function?
I found nothing in thread nor ditto’s documentation.
OK,
just found one here.
Here is the available hook inside json.format.inc.php
<?php // line 56
// set tpl JSON placeholders
$placeholders['*'] = "json_parameters";
if(!function_exists("json_parameters")) {
function json_parameters($placeholders) {
$jsonArr = array();
foreach ($placeholders as $name=>$value) {
$jsonArr["json_".$name] = addslashes($value);
}
$placeholders = array_merge($jsonArr,$placeholders);
return $placeholders;
}
}
I want to call other JSON datas from TVs.