- Posts: 10
- Thank you received: 0
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.
The fix is to upgrade to SermonSpeaker 5.x and Joomla 3.x, which is better anyway.
Frontend upload removing features
05 May 2012 08:45 #1878
by Reuben
Replied by Reuben on topic Re: Frontend upload removing features
Ok thanks.
Sermon list view
Sermon list view
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
05 May 2012 08:58 #1880
by Thomas Hunziker
Replied by Thomas Hunziker on topic Re: Frontend upload removing features
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:
and replace it with this one:
This will only show the date if it's other than '0000-00-00' and not empty.
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); ?>
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; ?>
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
05 May 2012 19:20 - 05 May 2012 19:21 #1881
by Thomas Hunziker
Replied by Thomas Hunziker on topic Re: Frontend upload removing features
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.142 seconds