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.

how to add picture to Latest sermon

More
19 Feb 2013 10:23 #3096 by antt7
Thanks, i have solved my problem
Code:
<dl class="article-info sermon-info" style="display:block; margin:0;"> <?php if ($row->picture) : ?> <dd class="image-latest"> <div class="newclass"><img src="<?php echo $row->picture; ?>"> </div> </dd> <?php endif; ?> <dt class="article-info-term"><?php echo JText::_('JDETAILS'); ?></dt>

.image-latest {
float: left;
border: 1px solid #CCCCCC;
}

.newclass {
padding:5px;
}

Thanks a lot

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

More
08 Jul 2015 09:28 #5390 by Tim
Is there a way to add the series picture to the latest sermon module? I've been able to successfully add a sermon image, but I don't want our volunteers to have to add the series image everytime they enter a new sermon just for it to display in the module.

Thanks!

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

More
08 Jul 2015 10:47 #5391 by Thomas Hunziker
Yes, that should be quite easy for me to add. I'll try to add it this week.

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

More
08 Jul 2015 12:09 #5392 by Tim
Thanks Thomas for your quick reply!

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

More
08 Jul 2015 22:12 #5397 by Thomas Hunziker
Can you try with the attached version if it works?

File Attachment:

File Name: mod_latest...ns-2.zip
File Size:131 KB
Attachments:

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

More
09 Jul 2015 03:18 #5398 by Tim
It broke it! I'm using v5.2.3 ?

1054 - Unknown column 'a.publish_up' in 'where clause' SQL=SELECT a.title, a.id, a.sermon_date, a.audiofile, a.videofile, a.sermon_time, a.picture, a.notes, a.hits,b.title as speaker_title, b.pic, b.state AS speaker_state,c.title AS series_title, c.avatar, c.state AS series_state,CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug,CASE WHEN CHAR_LENGTH(b.alias) THEN CONCAT_WS(':', b.id, b.alias) ELSE b.id END as speaker_slug,CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as series_slug,cat.title AS category_title,CASE WHEN CHAR_LENGTH(cat.alias) THEN CONCAT_WS(':', cat.id, cat.alias) ELSE cat.id END as catslug FROM sv6fc_sermon_sermons AS a LEFT JOIN sv6fc_sermon_speakers AS b ON b.id = a.speaker_id LEFT JOIN sv6fc_sermon_series AS c ON c.id = a.series_id LEFT JOIN sv6fc_categories AS cat ON cat.id = a.catid WHERE a.state = 1 AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2015-07-09 01:17:23') AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2015-07-09 01:17:23') AND a.catid = 9 AND (a.catid = 0 OR (cat.access IN (1,1,5) AND cat.published = 1)) ORDER BY sermon_date DESC, (sermon_number+0) DESC LIMIT 0, 1

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

Time to create page: 0.311 seconds
Powered by Kunena Forum