Hi all,
I've installed ChronoConnectivity 6.0.9 and i found a bug.
I use a "Fields" object with many fields written from a table. One "Custom" field shows a photo getting by this php code:
<?php
$nonce = "/images/work/Badge/Badge.jpg";
$filename = "/images/work/Badge/".$this->get("leggi_profilo.Pensionato.matricola").".jpg";
if (file_exists("/membri/patmix".$filename)) {
echo(" <img src=\"".$filename."\" WIDTH=\"144\" HEIGHT=\"196\" ALIGN=\"Middle\">");
} else {
echo (" <img src=\"".$nonce."\" WIDTH=\"144\" HEIGHT=\"196\" ALIGN=\"Middle\">");
}
?>
After 6.0.9 update, the field doesn't show the photo, but the following text:
("leggi_profilo.Pensionato.matricola").".jpg"; if (file_exists("/membri/patmix".$filename)) { echo(" "); } else { echo (" "); } ?>
I found that there is no "Fields" Widget as before listed in the menu under Forms.
I went to \libraries\cegcore2\admin\extensions\chronofc\views\fields open up fields.ini and i set "disabled" to "0".
The menu "Fields" reappeared but the mistake continue.
Have you any suggestion?
Best regards.
Patrizio
I've installed ChronoConnectivity 6.0.9 and i found a bug.
I use a "Fields" object with many fields written from a table. One "Custom" field shows a photo getting by this php code:
<?php
$nonce = "/images/work/Badge/Badge.jpg";
$filename = "/images/work/Badge/".$this->get("leggi_profilo.Pensionato.matricola").".jpg";
if (file_exists("/membri/patmix".$filename)) {
echo(" <img src=\"".$filename."\" WIDTH=\"144\" HEIGHT=\"196\" ALIGN=\"Middle\">");
} else {
echo (" <img src=\"".$nonce."\" WIDTH=\"144\" HEIGHT=\"196\" ALIGN=\"Middle\">");
}
?>
After 6.0.9 update, the field doesn't show the photo, but the following text:
("leggi_profilo.Pensionato.matricola").".jpg"; if (file_exists("/membri/patmix".$filename)) { echo(" "); } else { echo (" "); } ?>
I found that there is no "Fields" Widget as before listed in the menu under Forms.
I went to \libraries\cegcore2\admin\extensions\chronofc\views\fields open up fields.ini and i set "disabled" to "0".
The menu "Fields" reappeared but the mistake continue.
Have you any suggestion?
Best regards.
Patrizio