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
09 Jul 2015 07:39 #5399 by Thomas Hunziker
Please update the component (and all associated modules and plugins) to the latest version.

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

More
10 Jul 2015 03:47 #5400 by Tim
Hi Thomas,
I've now updated to the latest version, and installed your module however it is still not showing.
captivate-media.com.au/axischurch/
It's on the homepage halfway down.

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

More
10 Jul 2015 18:03 #5402 by Thomas Hunziker
What layout are you using there? It looks like a custom one. If so, you need to adjust it to check for the series picture as well.

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

More
11 Jul 2015 14:28 #5404 by Tim
Yeah it is a custom template, but I did try the default and the blog template and neither were displaying any images.
I'm using this in my template:
<img src="<?php echo $row->picture; ?>"

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

More
11 Jul 2015 21:22 #5405 by Thomas Hunziker
The layouts shipped with SermonSpeaker will onyl show a picture as part of the player, nowhere else. That's why :)

Your code will only show the picture from the sermon, the series and speaker picture are stored in another property.
SermonSpeaker has a helper function which will try to guess the most matching picture for a sermon. The priority of this can be specified in the SermonSpeaker options -> Editing tab. The parameter is named "Picture Priority" and it will also use the "Default Picture" you can specify there.
To use that helper function, make sure you have the helper included in your layout. Either using
Code:
JLoader::discover('SermonspeakerHelper', JPATH_COMPONENT . '/helpers');
or
Code:
require_once JPATH_SITE . '/components/com_sermonspeaker/helpers/sermonspeaker.php';
This is usually best placed somewhere on top of the file, but for sure before you first use the helper.
The actual helper method is then used like this:
Code:
<img src="<?php echo SermonspeakerHelperSermonspeaker::insertPicture($row); ?>">

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

More
13 Jul 2015 09:09 #5406 by Tim
Got it, thanks mate! We're live www.axischurch.org.au and working well.

cheers,
Tim

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

Time to create page: 0.187 seconds
Powered by Kunena Forum