- Posts: 2
- 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.
Speakers Picture in Latest News Module?
- Jonathan Mellor
-
Topic Author
- Offline
- New Member
-
Less
More
19 Jan 2013 16:10 #2913
by Jonathan Mellor
Speakers Picture in Latest News Module? was created 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
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.
- Thomas Hunziker
-
- Offline
- Administrator
-
19 Jan 2013 16:26 #2914
by Thomas Hunziker
should contain the URL of the speaker picture, while
would be the picture of the sermon.
Replied by Thomas Hunziker on topic Speakers Picture in Latest News Module?
Code:
$row->pic
Code:
$row->picture
Please Log in or Create an account to join the conversation.
- Jonathan Mellor
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
19 Jan 2013 18:26 #2915
by Jonathan Mellor
Replied by Jonathan Mellor on topic Speakers Picture in Latest News Module?
thanks! that works great.
How would I go about getting the link, so I could have a download button within the latest sermons module?
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.
- Thomas Hunziker
-
- Offline
- Administrator
-
19 Jan 2013 20:06 #2916
by Thomas Hunziker
Replied by Thomas Hunziker on topic Speakers Picture in Latest News Module?
The easiest would be to create a button which points to the download function from SermonSpeaker:
You could also you the SermonspeakerHelperSermonspeaker::insertdlbutton function:
where $type may be 'audio' or 'video' (default 'audio') and $mode may be anything between 0 and 3 (default 0).
where the 'type' parameter would be either 'audio' or 'video' and defaults to 'audio'.index.php?task=download&id='.$row->slug.'&type=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);
- 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.
29 Jan 2013 15:30 #2961
by Martini
Replied by Martini on topic Speakers Picture in Latest News Module?
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
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.
- Thomas Hunziker
-
- Offline
- Administrator
-
29 Jan 2013 16:07 #2963
by Thomas Hunziker
Replied by Thomas Hunziker on topic Speakers Picture in Latest News Module?
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.155 seconds