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.

Speakers Picture in Latest News Module?

More
19 Jan 2013 16:10 #2913 by Jonathan Mellor
Hi,

I was wondering how to get the speakers picture to load in the latest sermon module. Currently using an edited version of the blog layout.

thanks in advance.


Jonathan

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

More
19 Jan 2013 16:26 #2914 by Thomas Hunziker
Code:
$row->pic
should contain the URL of the speaker picture, while
Code:
$row->picture
would be the picture of the sermon.

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

More
19 Jan 2013 18:26 #2915 by Jonathan Mellor
thanks! that works great.

How would I go about getting the link, so I could have a download button within the latest sermons module?

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

More
19 Jan 2013 20:06 #2916 by Thomas Hunziker
The easiest would be to create a button which points to the download function from SermonSpeaker:

index.php?task=download&id='.$row->slug.'&type=audio

where the 'type' parameter would be either 'audio' or 'video' and defaults to 'audio'.

You could also you the SermonspeakerHelperSermonspeaker::insertdlbutton function:
Code:
require_once(JPATH_SITE.'/components/com_sermonspeaker/helpers/sermonspeaker.php'); echo SermonspeakerHelperSermonspeaker::insertdlbutton($row->slug, $type, $mode);
where $type may be 'audio' or 'video' (default 'audio') and $mode may be anything between 0 and 3 (default 0).
  • 0: <input type="button" ..> with onclick event
  • 1: simple link with a download picture
  • 2: <button> with onlick event, bootstrap style
  • 3: simple link, bootstrap style

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

More
29 Jan 2013 15:30 #2961 by Martini
Hi,

How can I show the latest sermons in Joomla's Latest News module?
Is there an additional module necessary?

Actually I work with the Latest News AND the Latest Sermons module.

Thank you very much

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

More
29 Jan 2013 16:07 #2963 by Thomas Hunziker
The "Latest News" module is not able to show the latest sermons, and the "Latest Sermons" module is not able to show news. So you have to use both or build a custom module which fetchs the information from the different tables and shows them the way you like.

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

Time to create page: 0.177 seconds
Powered by Kunena Forum