- Edited
Hello,
I discovered that the message "Not Yet Published" is displayed wrongly in some situations of the date setting.
The error can be found in frame work T3-3.1.1.
Solution for :
/plugins/system/t3/base-bs3/html/layouts/joomla/content/item_title.php
$timePublishDown = $item->publish_down != null
? strtotime($item->publish_down) : '';
$timePublishUp = $item->publish_up != null
? strtotime($item->publish_up) : '';
has to be modify to:
$timePublishDown = $item->publish_down != null
? $item->publish_down : '';
$timePublishUp = $item->publish_up != null
? $item->publish_up : '';
because else the check with
strtotime($timePublishUp)
strtotime(($timePublishDown)
will be:
strtotime(strtotime($item->publish_up))
strtotime(strtotime($item->publish_down))
which is obsiously wrong due to a double strtotime(strtotime
In t3-3.1.1 total 8 files have to be modified for this bug.
Search for "$timePublishUp" and "strtotime" in the t3-3.1.1 distribution to find the correct files.
See the corrected t3-3.1.1 in the appendix.
Regards,
Peter v.d. Hulst