Support for SermonSpeaker 5.x is in bugfix mode only, the same as it is for Joomla 3.10.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.

Most popular sermons

More
22 Dec 2014 18:40 - 22 Dec 2014 18:47 #4997 by antt7
Most popular sermons was created by antt7
Hi,
I'd like to show most popular (most listened) sermons in horizontal mode, like in picture

Could you help me to integrate module Latest Sermons to module ICE Carousel?
(Joomla 3, SermonSpeaker 5.2.3)
Thanks.
Attachments:
Last edit: 22 Dec 2014 18:47 by antt7.

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

More
22 Dec 2014 21:26 #4998 by Thomas Hunziker
You can't really integrate the sermons into another carousel due to the way the data is retrieved. I would have to make a copy of the module.

What you can do however is creating a new layout for the "Latest Sermons" module which shows the sermons in a carousel or whatever you like. The module already can fetch the data you need. You just need to display it different.

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

More
27 Dec 2014 13:45 #5004 by antt7
Replied by antt7 on topic Most popular sermons

Thomas Hunziker wrote: new layout for the "Latest Sermons" module which shows the sermons in a carousel

Could you help me? How display sermons in horizontal mode?

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

More
27 Dec 2014 14:35 #5005 by Thomas Hunziker
The basics of creating an alternative layout is decribed here: www.ostraining.com/blog/joomla/alternative-layouts-for-modules/ or here: docs.joomla.org/Layout_Overrides_in_Joom..._Alternative_Layouts

In that new layout, you just change the HTML so it fits what you need. The data is shown using PHP code like this: <?php echo $row->title; ?> which would display the title of the sermon.

Or you could maybe even use the blog layout and apply some CSS rules so the containers display horizontal instead of vertical. Should work in theory if you define the "latestermons_entry..." containers as inline-blocks. But I'm not that good with design and CSS stuff.
The following user(s) said Thank You: antt7

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

More
27 Dec 2014 20:22 - 27 Dec 2014 20:24 #5006 by antt7
Replied by antt7 on topic Most popular sermons
Thanks for your answer.
I have changed the line
Code:
<div class="latestsermons_entry<?php echo $i; ?>">
to
Code:
<div class="latestsermons_entry<?php echo $i; ?>" style="display:inline-block; margin:0 5px; width:45%; vertical-align:top;">
and now I can display most popular sermons in horizontal mode.
One more question. Is it difficult to create pagination or carousel?
Thanks.
Last edit: 27 Dec 2014 20:24 by antt7.

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

More
27 Dec 2014 22:29 #5009 by Thomas Hunziker
Pagination in a module is very hard and not without deeper knowledge of Joomla.
A carousel however should be quite simple. Joomla has already some integrated methods for displaying a carousel based on Bootstrap. See api.joomla.org/cms-3/classes/JHtmlBootst...html#method_carousel which should load the needed JavaScript. See getbootstrap.com/2.3.2/javascript.html#carousel for the Bootsrap documentation.

However I never used it myself and thus can't guide you more than that.

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

Time to create page: 0.331 seconds
Powered by Kunena Forum