Support for SermonSpeaker 4.x is canceled as it is for Joomla 2.5. I will gladly assist you with minor issues but I will not fix any bugs anymore in this releases.
The fix is to upgrade to SermonSpeaker 5.x and Joomla 3.x, which is better anyway.

Frontend upload removing features

More
05 May 2012 08:45 #1878 by Reuben
Ok thanks.

Sermon list view

Please Log in or Create an account to join the conversation.

More
05 May 2012 08:58 #1880 by Thomas Hunziker
True enough the check is missing there. I will have to look into this a bit closer so I catch all instances but will fix it for the next release.
If you want to fix it for your installation you can have a look for this file
/components/com_sermonspeaker/views/sermons/tmpl/table.php (or tableless.php)
Look for this code:
Code:
<?php echo JHTML::date($item->sermon_date, JText::_($this->params->get('date_format')), true); ?>
and replace it with this one:
Code:
<?php if ($item->sermon_date && $item->sermon_date != '0000-00-00'): echo JHTML::date($item->sermon_date, JText::_($this->params->get('date_format')), true); endif; ?>
This will only show the date if it's other than '0000-00-00' and not empty.

Please Log in or Create an account to join the conversation.

More
05 May 2012 19:20 - 05 May 2012 19:21 #1881 by Thomas Hunziker
Aww, sorry. Check should be '0000-00-00 00:00:00', not '0000-00-00'. So try
Code:
<?phpif ($item->sermon_date && $item->sermon_date != '0000-00-00 00:00:00'): echo JHTML::date($item->sermon_date, JText::_($this->params->get('date_format')), true); endif; ?>
Last edit: 05 May 2012 19:21 by Thomas Hunziker.

Please Log in or Create an account to join the conversation.

Time to create page: 0.168 seconds
Powered by Kunena Forum