Hello,
I downloaded the latest version of CC yesterday (I'm using Joomla 2.5).
When I try to retrieve a value from the table using the $MyRow->fieldname (under custom listing) I'm getting empty value.
This code works:
But this does not work
Also, the explode() php function that I need is not working when I'm using inside the body part of the custom listing.
I really appreciate if someone could help me on this. If I can solve this problem I can use CC for the rest of my project.
Thank you
Caio
I downloaded the latest version of CC yesterday (I'm using Joomla 2.5).
When I try to retrieve a value from the table using the $MyRow->fieldname (under custom listing) I'm getting empty value.
This code works:
$var = '{fieldname}';
But this does not work
$var = $MyRow->fieldname;
Also, the explode() php function that I need is not working when I'm using inside the body part of the custom listing.
$var = '{arrivaldate}';
echo $var; //This part works. I'm getting the date.
$newarrival = explode("-",$var);
echo $newarrival[0];
echo $newarrival[1];
echo $newarrival[2];
I really appreciate if someone could help me on this. If I can solve this problem I can use CC for the rest of my project.
Thank you
Caio