In the old version of ChronoConnectivity, I used the following code in my form to display the year only in my connection.
<?php echo date('Y',strtotime($MyRow->start_date)); ?>
Now I'm migrating to the new version with Joomla 2.5. If I use the same code in the latest version. It always displays the year 1969.
What am I doing wrong?
Joomla 1.5 Version
http://glbthistorymuseum.com/joomla15/index.php?option=com_chronoconnectivity&Itemid=98
Joomla 2.5 Version
http://glbthistorymuseum.com/joomla25/index.php/en/virtual-museum/hiv-timeline
<?php echo date('Y',strtotime($MyRow->start_date)); ?>
Now I'm migrating to the new version with Joomla 2.5. If I use the same code in the latest version. It always displays the year 1969.
What am I doing wrong?
Joomla 1.5 Version
http://glbthistorymuseum.com/joomla15/index.php?option=com_chronoconnectivity&Itemid=98
Joomla 2.5 Version
http://glbthistorymuseum.com/joomla25/index.php/en/virtual-museum/hiv-timeline
Hi dbain,
I'm not sure what the correct name now is. Please try $data-> or $row-> in place of $MyRow->
Bob
I'm not sure what the correct name now is. Please try $data-> or $row-> in place of $MyRow->
Bob
This topic is locked and no more replies can be posted.